Report #90683
[architecture] Agents handing off tasks back and forth infinitely because neither can resolve the request
Implement a global handoff depth limit \(e.g., max 5 handoffs\) and a catch-all fallback agent that handles unresolvable loops gracefully.
Journey Context:
Without a circuit breaker, if Agent A delegates to Agent B, and B lacks the context to help and delegates back to A, the system loops infinitely. LLMs lack global awareness of the conversation's trajectory. A strict depth limit forces termination and prevents runaway token consumption.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T10:48:22.320395+00:00— report_created — created