Back to Blog
Sequential cubes showing error compounding - starting bright green and progressively degrading to wireframe outline

Deep Dive

The 40% Failure Rate: Autonomous Agents and Error Compounding

December 11, 2025 · 6 min read · By Yusuf Tunc Karadut

The math on autonomous agents is brutal. Chain 10 steps at 95% accuracy each and your total success rate is 60%. The hype ignores exponential decay. Open-loop agents spiral into hallucination not because they're broken, but because the architecture guarantees failure at scale.

The Compounding Formula

Sequential system reliability is multiplicative: P_total = P_step^N

Error Compounding in Multi-Step Workflows

StepsPer-Step AccuracyTotal Success Rate
595%77.4%
1095%59.9%
2095%35.8%
5095%7.7%

This isn't a bug to fix with better prompts. It's a mathematical property of the architecture. Every autonomous action introduces variance. Variance compounds. Eventually you're certain to fail.

Flow Engineering and Bounded Agency

The solution is Flow Engineering: replace open loops with directed acyclic graphs. Decompose tasks into discrete, verifiable units. Each node can be tested independently. Feedback loops (Shinn, Cassano, Gopinath et al.'s Reflexion-style self-critique) improve per-step accuracy. Human-in-the-loop checkpoints act as circuit breakers, resetting error probability.

Wu, Yao et al.'s StateFlow enforces this rigorously with Finite State Machines. The agent occupies defined states (Search, Code, Test) with transitions governed by explicit logic. It cannot hallucinate new actions. It can only move to valid next states defined by the engineer.

Compound AI Systems

The industry is converging on what Zaharia, Ghodsi et al. at Berkeley call Compound AI Systems: not monolithic models but engineered systems where LLMs are components alongside retrievers, databases, and symbolic logic. Use Python for math instead of hoping the model predicts correctly. Combine neural flexibility with symbolic guarantees.

Reliability isn't a property of the model. It's a property of the system.

Sources

Wu, Y., Yao, S., et al. (2024)

StateFlow: Enhancing LLM Task-Solving through State-Driven Workflows

arXiv:2403.11322

Shinn, N., Cassano, F., Gopinath, A., et al. (2023)

Reflexion: Language Agents with Verbal Reinforcement Learning

NeurIPS 2023 · arXiv:2303.11366

OpenAI (2023)

Practices for Governing Agentic AI Systems

OpenAI Research

Zaharia, M., Ghodsi, A., et al. (2024)

The Shift from Models to Compound AI Systems

Berkeley AI Research Blog

See AI applied to real financial research

Archivist helps analysts and investors explore SEC and SEDAR filings through natural conversation, grounded in real sources.

Try Archivist

Your first 10 queries are on us