1:1 mentoring with Big Tech AI engineers
System Design

Agent Failure Modes

The fifteen ways a production agent fails, the trace signature that names each, the detector and its blind spot, the per-run response, and the fix order by blast radius.

Last updated

After this section you can

  • Name a failure from its trace signature
  • Choose a detector and state its blind spot
  • Choose the response and the fix order by blast radius
09

Agent Failure Modes

Name a failing agent from its trace, pick a detector and know its blind spot, and choose the response before the incident.

Key idea

A failing agent leaves a signature in its trace: the same call again, a token count that climbs, an error read as text, or a finished answer with no action behind it. Name the signature, choose a detector and know what it misses, then decide the response.

Five places to look in one failing run
Stop no action behind it no tool call Request size and cost Choice in the registry? Arguments repeats and drift Result error or injection append the result, then call again 1 2 3 4 5

Blue is input, amber the model's decision, teal the places to look. The dashed branch is the model stopping. The figure pans sideways on a phone.

Related

More in System Design

Get full access to all 149 sections with code examples, diagrams, and interactive animations.

Unlock Premium