What is a cascading agent failure?
A cascading agent failure is when an error, false information or compromise in one agent or step of a multi-agent or multi-step AI system passes to later agents and steps, growing and spreading across the system.
Unlike a single-agent error, which spoils one answer, in a cascade other agents accept a faulty output as correct and build on it, magnifying impact and making the source harder to find. In multi-agent systems without cross-checks between agents, the risk rises.
- Topic
- AI security
- Also known as
- Cascading failure
How a cascading agent failure works
- An agent produces faulty output through hallucination, prompt injection or a tool error.
- The next agent uses it as input without checking and makes new decisions.
- The error spreads to other agents and systems through shared memory, handoffs or automated actions.
- Mitigation: validation between steps, circuit breakers, action limits, human approval gates and traceable trajectory logs.
In more detail
OWASP ASI08 and the three main propagation paths
In the OWASP Top 10 for Agentic Applications (ASI08: Cascading Failures), propagation occurs through three main vectors: poisoned shared memory/RAG stores, unvalidated structured handoffs between agents and malicious indirect prompt injections embedded in tool outputs (such as emails or web pages) that compromise downstream agents.
Isolation and compensation: schema contracts, bulkheads and saga rollback
To contain failures, resilient multi-agent architectures enforce strict schema contracts (e.g., Pydantic or JSON Schema validation) between agents, isolate failure domains using bulkhead patterns, assign short-lived least-privilege credentials per step and implement Saga-style compensating transactions to roll back partial side effects when a chain aborts.
Stochastic error propagation versus adversarial chained compromise
Cascading failures split into two distinct regimes: stochastic propagation (benign hallucinations, tool timeouts or MAST task-verification gaps compounding silently) and adversarial propagation (wormable prompt injections or compromised agent identities hijacking peer agents). Defences must address both reliability engineering and security trust boundaries.
Distributed tracing (OpenTelemetry) and step and budget limits
Production systems instrument every agent hop with distributed tracing correlation IDs (such as OpenTelemetry GenAI conventions) and enforce hard recursion, step-count and token-budget limits so mutually confused agents cannot enter an infinite retry loop and exhaust compute or API quotas.
Commonly confused terms
| Term | How it differs |
|---|---|
| Single-agent failure | A single-agent failure breaks one isolated response or tool call, whereas a cascading agent failure propagates across downstream agents, shared memory or automated workflows, compounding the blast radius. |
| Model drift | Model drift is a gradual degradation in predictive performance caused by shifting real-world data over time, whereas a cascading agent failure is an acute runtime propagation event across interconnected agents or steps. |
| Runaway agent loop | Agentic runaway (infinite loop or resource exhaustion) causes uncontrolled token/API consumption within a loop, whereas cascading failure specifically refers to faulty state, poison or compromise spreading across distinct agents and systems. |
Why a cascading agent failure matters for on-premises AI
A security community's first risk list for agentic applications names cascading failures among its ten main risks. A study of why multi-agent language model systems fail gathered over 1,600 annotated traces from seven popular frameworks and grouped 14 failure modes into system design, inter-agent misalignment and task verification clusters; the verification cluster shows why errors slipping through unnoticed matter. In business processes a cascade, such as a wrong customer record flowing into billing, messaging and reporting agents, brings real cost and reputational harm.
When a retail chain's stock agent produces a faulty demand forecast, its ordering and pricing agents use it unchecked; the company adds threshold checks between agents and human approval for unusual changes.
Common questions
How are cascading agent failures prevented?
Validate each agent's input, use circuit breakers on unusual values, gate high-impact actions behind approval and log inter-agent communication.
How is the source of a cascade found?
If agent trajectories and inter-agent messages are logged traceably, the step where the error first appeared can be traced back.
Related terms
Sources
- OWASP GenAI Security Project, OWASP Top 10 for Agentic Applications: The Benchmark for Agentic Security in the Age of Autonomous AI, 2025
- Cemri et al., Why Do Multi-Agent LLM Systems Fail?, 2025
In the glossary: Glossary, A to C