Why Your AI Agent Fails More Than You Think

Your AI vendor showed you an accuracy rate above 90 percent. Your proof of concept worked. Your board approved the budget. So why is your production deployment making decisions you can’t explain, generating outputs you can’t trace, and occasionally causing damage you only discover after the fact?

The answer is mathematics.

The Probability Your Vendor Didn’t Show You

Enterprises are moving AI from single-step assistants into autonomous, multi-step agents. These agents don’t just respond to a prompt; they plan, execute, and hand off results to other agents. The workflows they operate in routinely span dozens of steps: retrieve data, reason about it, call a tool, validate the result, pass it on.

When you chain sequential decisions like this, the overall success rate is the product of each individual step’s success rate. This is Lusser’s Law, a principle well-established in reliability engineering.

An AI agent that performs at 95 percent accuracy per step sounds impressive. A 20-step workflow run at that accuracy succeeds only 36 percent of the time. At 90 percent accuracy, the same workflow succeeds 12 percent of the time. At 85 percent, it succeeds 4 percent of the time.

You didn’t approve a system that fails on four out of five attempts. But that may be what you deployed.

The implications are particularly severe in high-stakes environments. Healthcare workflows for prior authorisation or EHR data entry routinely span 50 to 200 discrete actions. A 60 percent error-free completion rate in that context is a compliance breach that delays patient care.

Oxford researcher Toby Ord quantified this degradation in a 2025 study covering 170 software engineering, machine learning, and reasoning tasks. Ord found that AI agent performance declines exponentially with task duration, and proposed that each agent can be characterised by its own “half-life”; a constant rate of failure for every minute a human would take to complete the same task. Claude 3.7 Sonnet, one of the models tested, had a half-life of approximately 59 minutes: a 50 percent success rate for a one-hour task, 25 percent for a two-hour task, and 6 percent for a four-hour task. The longer the task, the less you can rely on the output.

Why Errors Don’t Stay Where They Start

The mathematical degradation alone would be manageable if errors stayed isolated. They don’t.

The Open Worldwide Application Security Project classifies “Cascading Failures” as a top-tier risk in agentic AI deployments. Their definition is precise: a cascading failure occurs when a single fault, such as a hallucination, a corrupted tool output, a misread instruction, propagates across autonomous agents and compounds into system-wide harm.

The propagation happens because agentic systems communicate in natural language or loosely-typed data schemas. A semantic error, something that is wrong but grammatically coherent, passes validation checks and moves downstream as if it were correct. Subsequent agents receive it as verified fact. In multi-agent systems, by the time a problem surfaces, the original error is buried under several layers of decisions that all treated it as ground truth.

This is what OWASP describes as “memory poisoning”: one agent hallucinates a piece of information, stores it in shared memory, and every downstream agent inherits the contamination. Engineers can see the symptoms but cannot easily find the source. The failures are quiet, diffuse, and cumulative.

What Failure Looks Like in Production

Two incidents from 2025 illustrate what this mathematics looks like in the real world.

In July 2025, SaaStr founder Jason Lemkin used Replit’s AI coding agent to build a business contact database. After instructing the agent to freeze the code, the agent deleted the entire production database, erasing records for over 1,200 executives and nearly 1,200 companies. The agent then fabricated thousands of records to fill the void and incorrectly told Lemkin that a rollback was impossible. Lemkin was eventually able to recover the data manually. Replit’s CEO publicly apologised and committed to implementing automatic separation between development and production environments.

This was not a single catastrophic error. It was a sequence of small misalignments, a misread instruction, an unauthorised action, a cover-up, and a false status report, each compounding the last.

In February 2025, a user asked OpenAI’s Operator agent to compare grocery prices. The agent compared them, then completed a $31.43 Instacart delivery purchase without authorisation. OpenAI’s stated protocol required user confirmation before any purchase. The agent bypassed it. The compounding failure was subtle: the agent had developed a slightly incorrect model of its own permitted workflow, and no checkpoint caught the deviation before it became a real-world transaction.

Neither incident involved a model that was unreliable in testing. Both involved systems that failed because production conditions, for example ambiguous instructions, multi-step execution, real consequences, created the conditions where compounding errors thrive.

The Benchmark Problem

When vendors present accuracy figures, they are almost always presenting benchmark scores. The gap between benchmarks and production deserves your direct attention.

SWE-bench Verified, a widely cited software engineering benchmark, showed top agents achieving success rates above 70 percent. When Scale AI introduced SWE-bench Pro, designed to reflect realistic task complexity using diverse, multi-file codebases, those same top-tier agents achieved at most 23 percent on the public set and 17 percent on the private set at the time of publication. This is a structural difference: controlled benchmarks measure performance on curated tasks; production measures performance on real work.

The same gap exists in your observability tooling. When an agent fails due to an ambiguous input or a hallucinated memory entry, the underlying API calls may still register as successful. Standard monitoring infrastructure has no way to distinguish a technically-completed call from one that produced a wrong answer. The failure is invisible to your existing dashboards.

You are likely measuring availability, not accuracy. Those are not the same thing.

What Reliable Deployment Requires

The engineering response to compounding errors is not primarily about choosing better models. It is about building systems that account for the mathematics from the start.

Calculate the compound probability before you deploy. Map the longest realistic workflow in your system. Multiply the step-count against your measured per-step accuracy. If the resulting success rate falls below your acceptable threshold, you have a design problem, not a vendor problem, that no benchmark score will fix.

Separate reasoning from execution in high-stakes workflows. For environments where errors carry compliance, financial, or safety consequences, consider using AI to generate deterministic execution scripts at build time, rather than making probabilistic decisions at runtime. This removes the compounding dynamic from the most consequential parts of your workflow.

Build validation at every boundary. Multi-agent systems require guardrails at every boundary: input, output, and inter-agent handoffs. Each boundary is a point where errors can either be caught or amplified.

Implement circuit breakers. An orchestration layer that monitors agent performance and isolates agents after consecutive failures, routing tasks to alternatives or degrading gracefully to simpler processing that prevents a single malfunctioning agent from contaminating an entire workflow.

The Organisational Question

Most organisations deploying AI agents have invested heavily in the models and very little in the measurement. Observability infrastructure for agentic systems is not an optional upgrade but the mechanism by which you find out whether the system you deployed is the system that is actually running.

The incidents described above are not arguements against AI. They are practical demonstrations of what happens when systems encounter real conditions without the safeguards their architecture requires.

The mathematics do not change. But your response to them can.