Most conversations about AI agents are about the thinking: which model, which prompt, how clever the plan is. In production, that is rarely what breaks. What breaks is everything around the thinking: a tool call that times out halfway, a retry that sends the same email twice, a step that succeeded but whose result was never recorded.
Those are not new problems. They are the everyday failure modes of distributed systems, and we have spent twenty years learning how to handle them.
The failure modes are familiar
An agent run is a sequence of steps that talk to other systems over a network. Each step can fail, be slow, or succeed without the caller knowing. Swap “agent step” for “service call” and you have the problem space of every event-driven platform.
The difference is that agents make these failures harder to see. A microservice that fails usually fails loudly. An agent that half-fails often writes a confident summary of work it did not finish.
Patterns that carry over
Idempotency keys become safe tool retries. If a step can be retried, it must be safe to run twice. A “send notice” tool that cannot tell it already ran will eventually send two notices.
Dead-letter queues become failed-run queues. When a run cannot complete, park it somewhere a person can look at it, instead of looping or silently dropping it.
Event replay becomes trace replay for evals. If you record each run step by step, yesterday’s failures become tomorrow’s regression tests.
Backpressure becomes token and rate budgets. One runaway agent should not be able to exhaust a shared model quota for everyone else.
Exponential backoff becomes a model fallback chain. When a provider has a bad minute, degrade to a smaller model instead of failing the user.
What this means in practice
Design the tools before the prompts. Most agent reliability is decided by whether the tools are idempotent, observable and narrow, not by the wording of the instructions.
Keep a person in the loop where a mistake is expensive or hard to undo. Approval is a design decision, not an admission that the agent is weak.
Treat the agent’s inputs as part of the system. An agent acting on stale context is like a service reading from a stale cache: it will be wrong, quickly and confidently.
None of this makes agents less interesting. It makes them shippable. The teams that do well with agents will be the ones that already know how to run systems that fail.