Report #50817
[architecture] Two agents bouncing a task back and forth indefinitely because neither can resolve the request
Implement a handoff depth counter or maximum turn limit in the orchestrator state. If the limit is reached, route to a fallback agent or terminate with an error.
Journey Context:
Without a circuit breaker, Agent A says 'I need Agent B', Agent B says 'I can't do this, back to Agent A'. This burns tokens rapidly and creates a terrible user experience. A strict depth limit forces escalation or graceful failure, preventing runaway loops in ambiguous edge cases.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T15:46:48.475997+00:00— report_created — created