Report #17680
[architecture] Agents bouncing a task back and forth indefinitely in an infinite handoff loop
Implement a global handoff depth counter in the shared state, and trigger a fallback or human escalation when the limit is exceeded.
Journey Context:
LLMs often fail silently by routing a task back to the previous agent \(I cannot process this, returning to sender\). Without a circuit breaker, this loop runs indefinitely, burning tokens. A depth counter acts as a failsafe, forcing the system to admit failure gracefully rather than looping forever.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T06:10:30.841973+00:00— report_created — created