Report #93764
[architecture] Agents bounce a task back and forth indefinitely in an infinite handoff loop
Implement a maximum handoff counter in the shared state and a fallback 'supervisor' agent that catches exceeded limits to break the cycle.
Journey Context:
LLMs are stateless and lack global awareness of loop duration. Agent A thinks Agent B should handle it, Agent B thinks Agent A should. Without a hard limit and a breaker, this consumes tokens infinitely. This is a classic distributed systems livelock problem solved by strict recursion limits.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T15:58:11.468352+00:00— report_created — created