Guillaume Rufenacht.
ServicesAboutWorkWritingContact
EN/FR
All writing
Building AI|June 18, 2026|8 min read

Why AI Agents Break in Production (and How to Stop It)

The demo always works; production is where agents quietly fail. The five failure modes I see most, context rot, subagent sprawl, no verification, no evals, unbounded autonomy, and how to design around each.

GR

Guillaume Rufenacht

AI Product Manager · Lisbon

The demo always works. That’s the trap. An agent that nails a slick walkthrough on stage will quietly degrade once it’s carrying real traffic, real edge cases, and a year of accumulated requirements. The gap between “works in the demo” and “works in production” is where most AI projects actually die, and the failures are predictable enough to design around.

Keeping agents reliable at volume is the core of what I do on the pipelines behind Geonimo. Here are the failure modes I see most, and how to stop each one.

Key takeaways

  • Most production failures are context problems, not model problems: bloated prompts, contradictions, missing information.
  • Subagent sprawl creates communication breakdowns; complexity you added for capability ends up costing reliability.
  • No verification and no evals means you can't tell whether a change helped, so quality drifts silently.
  • Unbounded cost and latency, and giving agents autonomy over high-stakes actions, turn small errors into expensive ones.
  • The fixes: simplify, make verification agent-native, measure with evals, bound the budget, and keep a human where errors are costly.

Failure 1: context rot

The most common one. You ship an agent, then bolt on capability for months until the system prompt is hundreds of lines of half-conflicting policy. The model starts making “dumb” mistakes, and everyone blames the model, when the real problem is the context you surrounded it with. The fix is context engineering: keep the system prompt to what’s needed every time, move the rest into skills the agent pulls in on demand, and feed it the minimum sufficient context rather than everything you have.

Failure 2: subagent sprawl

Every new requirement becomes a new subagent until you have a tangle of instances handing work to each other. The hidden cost is communication: the breakdown between an orchestrator and its subagents is a classic, hard-to-debug production failure. The fix is to reach for the right primitive deliberately, and often to consume capability back into a simpler main agent, which I break down in tool, skill, or subagent?.

Failure 3: no real verification

Teams equate verification with unit tests and linting, which were already automated. The verification that matters for agents is different: can the agent run the thing and confirm it actually worked? Without that, an agent can’t safely operate unattended, and you’re back to babysitting it. Make verification native to the artifact so the agent can check its own output, the habit at the center of how Anthropic’s team works.

Failure 4: flying blind without evals

If you can’t measure whether a change improved the agent, quality drifts and you won’t notice until a customer does. Production agents need an eval suite, control cases, known edge cases, capability boundaries, that you hill-climb against: baseline, change one thing, rerun, keep what helps. It’s the difference between engineering and hoping.

Failure 5: unbounded cost, and too much autonomy

Agents trade control for capability. Unlike a fixed workflow, an agent can explore, and burn tokens, latency, and money doing it. Worse, if you give it autonomy over actions whose errors are high-stakes and hard to detect, a small mistake becomes an expensive one. The discipline is to not build an agent where a workflow would do, bound the budget, and keep a human in the loop exactly where the cost of error is high. Autonomy is something you earn, capability by capability, not a default you flip on.

The common thread

Every one of these is the same mistake in disguise: adding capability without adding the scaffolding that keeps it reliable. Simplicity, verification, and measurement aren’t overhead, they’re what let an agent run unattended at all.

How to keep agents alive in production

Put the fixes together and a pattern emerges: keep the architecture as simple as the task allows, engineer the context instead of stuffing it, make verification something the agent does itself, measure everything with evals, and bound cost while keeping humans on the high-stakes calls. That’s not a constraint on ambition; it’s what makes ambitious agents dependable. Taking AI from a clever prototype to something you can trust in production is exactly the work I do.

The takeaway

Agents don’t break in production because the model is weak. They break because of context rot, subagent sprawl, missing verification, no evals, and unbounded autonomy, all of them fixable by design. Build the scaffolding and the demo becomes a system.

Reliable AI in production is what I build, at Geonimo and beyond. See what I’ve shipped or get in touch.

Frequently asked questions

Why do AI agents work in demos but fail in production?

Because demos avoid what breaks agents at scale: accumulated context, real edge cases, cost limits, and high-stakes actions. Most production failures are context and design problems, not model weakness.

What is the most common agent failure mode?

Context rot. The system prompt grows for months into bloated, contradictory instructions, and the model makes mistakes because of the context surrounding it, not because the model is weak.

How do I make an AI agent reliable?

Simplify the architecture, engineer the context instead of stuffing it, make verification something the agent does itself, measure with an eval suite you hill-climb against, and bound cost while keeping a human on high-stakes actions.

When should I keep a human in the loop?

Wherever the cost of an error is high and errors are hard to detect. Autonomy is earned capability by capability; for high-stakes actions, read-only access or human approval is the safer default.

AI agentsProductionReliabilityEvalsVerificationBuilding AI

Work with me

Want a system like this built for your pipeline?

I help teams take AI from a clever prototype to dependable production, outbound engines, lead intelligence, and the LLM pipelines underneath. See what I have shipped or get in touch.

Guillaume Rufenacht.

iBuildYourApp, the consulting practice of Guillaume Rufenacht. Websites, SEO, attribution, and automation that win small and mid-sized businesses more clients.

Navigate

ServicesAboutWorkContactWriting

Contact

EmailTelegramLisbon, Portugal

© 2026 Guillaume Rufenacht

Built with Next.js & Tailwind CSS