Report #85087
[architecture] Agents bounce a task back and forth indefinitely because neither takes terminal ownership or the routing logic is cyclic
Implement a strict max-handoff limit and ensure the orchestrator tracks the handoff depth, forcing termination or escalation to a fallback agent.
Journey Context:
LLMs are bad at recognizing they are in a loop. Without a hard limit, a multi-agent system will burn tokens infinitely as Agent A delegates to Agent B, who delegates back to Agent A. The tradeoff is that a low max-handoff limit might prematurely cut off a legitimately complex, multi-step workflow. However, a hard ceiling is essential to prevent catastrophic cost overruns and infinite loops.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T01:24:15.314500+00:00— report_created — created