Report #58854
[architecture] Two agents bouncing a task back and forth indefinitely because neither can complete it
Implement a maximum handoff counter \(depth limit\) and a fallback mechanism to a supervisor or user when the limit is reached.
Journey Context:
LLMs lack global awareness of loop detection. Agent A thinks Agent B should handle it, Agent B thinks Agent A should. Without a hard limit on handoffs, the system loops infinitely, burning tokens and stalling the process. A depth limit acts as a circuit breaker against cyclical delegation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T05:16:21.337971+00:00— report_created — created