Report #48827
[architecture] Multi-agent systems enter infinite loops, bouncing errors or tasks back and forth
Implement a deterministic circuit breaker at the orchestrator level: set a strict max-depth limit on agent handoffs and a fallback routing rule when the limit is reached.
Journey Context:
When Agent A delegates to Agent B, and Agent B fails and throws an error back to Agent A, they can enter an infinite retry loop. LLMs lack an intrinsic sense of futility. Relying on the LLM to 'break the loop' is unreliable. The orchestrator must track the handoff depth and forcefully break the cycle, routing to a human or a generic fallback agent. The tradeoff is potentially cutting off a complex but valid multi-step process, so the depth limit must be tuned to your domain.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T12:26:16.585941+00:00— report_created — created