Small Agent Error Rates Compound Over Long Tasks, So Enforce the Rules Outside the Agent
Matt Garman's re:Invent arithmetic on agent reliability makes the case for policy engines, scoped credentials and approval steps that a model cannot talk its way around.
By The AI Enterprise Magazine Team4 min readOpinion · Weekly briefing

Key takeaways
- The math. At 99.9% accuracy per step, the chance of 1,000 clean steps is about 37%; at 99% it takes only 100 steps to get there.
- Prompts are not controls. A rule inside the prompt is followed only as reliably as the model, and prompt injection can lower that further.
- Design for failure. Classify actions by consequence, gate the irreversible ones externally, and test whole workflows at production length.
During his re:Invent keynote on December 1, AWS chief executive Matt Garman offered a piece of arithmetic that every enterprise running AI agents should keep in view. An agent that gets each step right 99.9% of the time sounds dependable. Chain 1,000 of those steps together and the chance that every step goes right falls to roughly a third, according to Logicata's account of the talk. The exact figure is 0.999 raised to the 1,000th power, or about 37%.
Garman used the point to introduce AWS Greenlight, a preview service that enforces rules on agents from outside the agent. But the lesson applies well beyond any one vendor's product, and it should change how enterprises think about agent reliability as tasks get longer.
Why do small error rates matter so much for agents?
Most model evaluations measure single answers. Most enterprise agent value comes from sequences: reading a request, querying systems, calling tools, checking results and taking an action. As agents move from tasks of a few steps to workflows of hundreds or thousands, per-step reliability compounds in a way that intuition handles poorly. At 99% per step, the chance of a clean run through 100 steps is about 37%. At 99.9%, the same 37% arrives at 1,000 steps. At 99.99%, it takes 10,000.
No model is getting to five nines of accuracy on open-ended work soon. That means long-running agents will make mistakes as a matter of routine, and the question is not whether a step goes wrong but what the system does when it does. A mistake that produces a slightly worse summary is tolerable. A mistake that moves money, deletes records or emails a customer is not.
Adoption makes this urgent. Garman said agents deployed on AWS's AgentCore platform in the last three months totaled twice the number deployed in the previous nine months combined, Logicata reported. Many of those agents will take on longer tasks as models improve and costs fall.
Why should the rules live outside the agent?
The common approach to agent safety today is to put instructions in the system prompt and trust the model to follow them. That approach shares the weakness it is meant to address. If the model can misjudge a step 1 time in 1,000, it can also misjudge whether a rule applies 1 time in 1,000, and prompt injection gives attackers a way to raise that rate deliberately.
Rules enforced outside the model do not have that problem. AWS Greenlight converts policies written in plain language into deterministic logic and runs them in an engine the agent cannot see or alter, blocking any action that breaks a rule, tbreak reported. A rule such as never moving money without human approval then holds regardless of what the model believes. The same principle applies to per-user spending limits enforced at a gateway before requests reach a model, which AWS also announced for Bedrock.
Enterprises do not need to wait for any particular product to adopt this design. The principle is old: application code should not be trusted to enforce its own security policy, which is why identity, network and data access controls sit outside applications. Agents are applications with an unusually unpredictable component inside them, so the case for external enforcement is stronger, not weaker.
What should enterprises change now?
Start by classifying agent actions by consequence rather than by frequency. Reading data and drafting text are usually recoverable. Writing to systems of record, spending money, changing permissions and contacting customers are often not. The second group should pass through checks that the agent cannot bypass, whether that is a policy engine, an approval queue or a narrowly scoped credential that physically cannot perform the action.
Next, design for detection and recovery. If a long task will fail somewhere a meaningful share of the time, agents need checkpoints, logs that identify which agent took which action, and the ability to roll back. Per-agent identity, which AWS also announced in preview this week, is a building block for that audit trail.
Then measure reliability over the whole task, not the single step. Evaluation suites built on individual prompts will overstate how well a long-running agent performs. Teams should test full workflows at the length they intend to run in production, and track how often a run finishes without human correction.
Finally, keep humans in the loop where the arithmetic says they are needed. An approval step at the few points where an error would be costly is cheaper than an incident, and it lets agents run quickly through the many steps where an error would not matter much.
Garman's number is a reminder that agent reliability is a property of the system, not just of the model. Better models will push per-step error rates down, but tasks will keep getting longer. The organizations that put rules outside their agents will be able to let those agents do more.
Frequently asked questions
Why do agent error rates compound?
Each step must succeed for the task to succeed, so per-step reliability is multiplied across steps. 0.999 to the 1,000th power is about 0.37.
What does enforcing rules outside the agent mean?
Placing policy checks in a separate engine, gateway or credential scope that the agent cannot see or alter, so a rule holds even when the model errs or is manipulated.
Which agent actions need external controls first?
Irreversible or high-consequence actions: moving money, writing to systems of record, changing permissions and contacting customers.
Opinion pieces reflect the views of The AI Enterprise Magazine Team.
Sources
Filed under: Agentic AI, AI Governance & Trust, AI Strategy & ROI
Become a Sponsor







