Report #4485
[architecture] Two agents continuously passing control back and forth in an infinite handoff loop
Implement a global maximum handoff counter and a fallback mechanism. If handoff depth exceeds the limit, route to a human or a generic fallback agent.
Journey Context:
LLMs lack global awareness of the system topology. Agent A might determine Agent B should handle a task, but Agent B's context leads it to believe Agent A is the correct handler. This creates a ping-pong loop that burns tokens indefinitely. A local step counter isn't enough; the circuit breaker must be global to the workflow, halting execution and gracefully degrading.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T19:34:37.083693+00:00— report_created — created