A coding agent opens a repository, reads the build config, patches a dependency, runs the test suite, and fixes the breakage. It does this well enough to pass GAIA, SWE-bench, or whatever short benchmark the team uses for gating. Then it is asked to maintain a production service through a week of incidents — diagnose, patch, verify, repeat. The agent that passed every gate fails most of the time.

The gap is not a capability cliff. It is a geometric decay law.

The Law

Shubhra Mittal’s study measured how task success changes as the number of dependent steps grows, across nine models ranging from 1.2B to 671B parameters and three deployed proprietary systems. The finding is clean: task success follows P(success) ≈ a·r^H, where r is a single per-step reliability parameter and H is the horizon (number of dependent steps). This form fits 28 out of 36 model-task cells.

The per-step reliability r rises with model scale but saturates well below 1.0 — near 0.7 for strong open models, similar for deployed proprietary systems. Because r < 1 for every model, eventual collapse at long horizons is guaranteed, not optional.

The numbers are stark. At 95% per-step reliability — already optimistic for a realistic agentic tool-use loop — a 10-step chain succeeds 59.9% of the time. At 20 steps, 35.8%. At 100 steps, under 1%.

On a genuinely agentic tool-use loop (toolqa), every model tested — including widely deployed proprietary systems — falls from near-perfect success at H=2 to near zero by H=16. This includes GPT-4o-mini, Gemini, and Claude. No model escapes.

Step Count, Not Context Length

The most counterintuitive finding: degradation is driven by step count, not context length. Bounding the context window steepens the decay curve (logit slope −0.69 vs −0.44, p = 3×10⁻⁶). This contradicts the dominant “lost in the middle” explanation and warns against a common production shortcut — naive context truncation backfires because it forces the model to re-derive state that was already established.

Degradation also accelerates within a single trajectory. Per-step accuracy drops from 0.58 to 0.44 as the chain lengthens, even when the context window is unbounded. The model’s own output history becomes a liability: errors compound, not just because of token limits but because each wrong step changes the state the next step must work from.

The Benchmark Gap

Projecting measured r onto representative benchmark horizons quantifies a substantial gap between benchmark and production conditions: success 0.42 at GAIA-length, 0.30 at SWE-bench-length, 0.24 at hundred-step production horizons. Benchmarks sample the flat top of the decay curve. Production lives on the steep descent.

This is not a new claim. What the study adds is the shape of the curve and its driver. Previous work established that agents degrade over long tasks; this study measures exactly how fast, across a controlled range of horizons, and disentangles the two most plausible causes (steps vs. context) with statistical significance.

Incident-Arena: Knowing When to Stop

The geometric degradation law gets corroborated from a different direction by Incident-Arena, a benchmark of 20 production incidents deployed on real Kubernetes clusters. Its most important finding isn’t the top pass rate — it’s what happens when you cross fix-completeness with pass/fail.

Among 2,967 trials with a usable action record, 55% issued every action in the reference fix. Of those, only 59% passed — meaning 41% of episodes failed even after issuing the complete reference fix. Read-only check counts show the same pattern: five or fewer checks passed 63.4%, nine or more passed 52.3%. Episodes that declared done quickly out-paced slower ones by 20 points on average.

The pattern is clear: agents reach correct actions but declare the repair complete while the system is still recovering. “Not knowing when to stop” is not a prompt problem. It’s a horizon problem — the agent’s per-step reliability is high enough to reach the fix but low enough that verifying the outcome within the same trajectory remains unreliable.

What the Numbers Mean for Deployment

The geometric law implies three design constraints:

  1. Shorten the chain. A 10-step task at p=0.95 succeeds 60% of the time; a 20-step task succeeds 36%. Reducing n is the single most effective lever. Batch independent sub-tasks instead of chaining them.

  2. Raise the floor. Moving from 0.95 to 0.99 per-step reliability lifts a 20-step chain from 36% to 82%. This is more impactful than any single context-window change, but it requires improving each individual step’s reliability, not just the model’s general capability.

  3. Break the chain. Segment long tasks so each segment verifies against ground truth before proceeding. A 100-step chain broken into ten 10-step segments with verification gates clears at 60% end-to-end (0.6^10 ≈ 0.006 per segment, but each segment succeeds ~60% of the time independently) — far better than the sub-1% flat chain.

None of these is new in isolation. What the geometric-degradation study adds is the mathematical framework that explains why they work and how much they matter. Benchmark pass rates hide the curve. Reliability budgeting brings it back into view.

The Reader Takeaway

If you evaluate an agent on benchmarks, project its per-step reliability onto your production horizon before deciding whether the pass rate means anything. A benchmark score of 70% means nothing without knowing the horizon length. A model that scores 70% at H=5 succeeds at less than 10% at H=100.

If you deploy an agent, measure its per-step reliability, not its aggregate pass rate. Run a chain of ten dependent tasks on your actual toolset, count how many complete successfully, and compute p. That single number tells you how many steps your agent can sustain before the geometric decay kills it.

The model that passes every benchmark is not the model you should trust in production. The model whose per-step reliability stays above 0.98 on your actual tool-use loop is. Everything else is the flat top of a curve you haven’t measured yet.