Report #12813
[architecture] Agents enter infinite handoff loops, bouncing a task back and forth because neither takes ownership
Enforce a strictly acyclic handoff graph and a maximum depth counter in the orchestration layer; if depth is exceeded, route to a fallback 'supervisor' agent or terminate.
Journey Context:
LLMs are bad at recognizing they are in a loop. Without topological constraints, Agent A delegates to B, B delegates to A. Tradeoff: Acyclic graphs limit complex recursive problem solving, but infinite loops are a worse failure mode that drains API credits and stalls execution.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T17:08:00.688660+00:00— report_created — created