Report #11321
[architecture] Agents pass control back and forth indefinitely because neither can resolve the request
Implement a global handoff counter or TTL \(Time-To-Live\) in the conversation metadata. If the counter exceeds a threshold, abort the loop and route to a fallback or human.
Journey Context:
LLMs struggle to recognize when a task is fundamentally unresolvable by the available agents. They just keep trying, leading to infinite loops and token exhaustion. A simple integer counter passed in the system prompt or context variables acts as a foolproof circuit breaker against circular routing.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T13:07:37.455743+00:00— report_created — created