DataArticle
Compounding error multiplies across chained steps: if each model call is correct 95% of the time, running twenty steps in sequence succeeds only about one in three times.
The article explains that even high per-step accuracy (95%) compounds into low overall reliability over a chain of twenty steps (roughly 33%), which is why production teams add many guardrails around model calls. ✦ AI generated
Best Practices for Building AI Agents That Work in Production (author) · ByteByteGo Newsletter · 2026-07-22 · original ↗
Suppose each step is correct 95 percent of the time, which sounds reliable. Run twenty such steps in sequence, and the odds that all of them succeed fall to roughly one in three. The math is multiplicative, so reliability that looks fine in isolation degrades quickly across a long chain. This fact explains why production teams add so many guardrails.
Read full article ↗excerpt · fair-use quotation
Around this claim
Mechanism · 3
The control flow in a dependable agent belongs to deterministic code around the model, with the model consulted only at a few chosen points where open-ended reasoning is genuinely needed.Best Practices for Building AI Agents That Work in Production (author) · ByteByteGo Newsletter · conf 90%A production agent is mostly deterministic software that calls a language model at a few deliberate points, with the design decisions lying in choosing those points and limiting how much the model decides on its own.Best Practices for Building AI Agents That Work in Production (author) · ByteByteGo Newsletter · conf 85%Raising the confidence threshold reduces automated errors but increases human agent load and cost, while lowering it resolves more cases automatically but admits more costly mistakes.the author · ByteByteGo Newsletter · conf 70%
This moment responds to
supports → Current frontier AI agents remain far from reliable at long-horizon, multi-step computer-use tasks, with even the strongest configuration (Claude Opus 4.8) scoring only 20.6% binary accuracy on OSWorld 2.0, struggling especially with hidden-state recovery, tracking many items, and conflicting information.OSWorld 2.0 paper authors · Import AIexplains mechanism → Controlling what the model sees on every call — owning prompts, pruning the context window deliberately, and writing precise tool descriptions — is the first and largest lever on reliability.Best Practices for Building AI Agents That Work in Production (author) · ByteByteGo Newsletter