Report #17493
[architecture] Infinite handoff loops between agents
Enforce a hard iteration limit on agent handoffs and implement a fallback mechanism to a supervisor or termination state when the limit is reached.
Journey Context:
LLMs lack global recursion awareness. When Agent A delegates to Agent B, and B lacks the context to resolve it, B often delegates back to A. Without a strict cutoff, this creates an infinite loop of tool calls or messages, burning tokens and stalling the system. This is the multi-agent equivalent of an infinite while loop and will happen reliably without external intervention.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T05:39:45.916320+00:00— report_created — created