Report #16622
[architecture] Agents stuck in infinite handoff loops where Agent A delegates to Agent B, who immediately delegates back to Agent A
Enforce a strict maximum handoff depth \(e.g., recursion limit\) and require the receiving agent to mutate a shared state object \(e.g., appending a progress note\) before returning control.
Journey Context:
LLMs lack an inherent sense of global progress. If a task fails or is partially complete, an agent might hand it back without explaining why, causing the router to send it right back. State mutation requirements force the LLM to document what it tried, breaking the cycle, while recursion limits prevent runaway token consumption.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T03:11:55.457735+00:00— report_created — created