Report #48072
[architecture] Agents bouncing a task back and forth indefinitely because routing logic creates a cycle
Implement a global depth limit \(max handoffs\) and a dedicated fallback agent that catches tasks exceeding the limit.
Journey Context:
LLMs lack global awareness of the system topology. Agent A thinks Agent B should handle it; Agent B thinks Agent A should handle it. Without a circuit breaker, the system loops infinitely, burning API credits. A hard limit forces a graceful degradation rather than an infinite loop.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T11:10:00.767406+00:00— report_created — created