Report #38851
[architecture] Infinite handoff loops where Agent A delegates to Agent B who delegates back to Agent A
Enforce a maximum depth/step counter in the orchestrator, or implement a strictly acyclic handoff graph \(DAG\) of allowed agent transitions.
Journey Context:
Without global constraints, LLMs will loop indefinitely because neither agent has the context or capability to break the impasse. The orchestrator must act as a circuit breaker. A DAG restricts valid transitions topologically, while a step counter provides a hard fallback to prevent runaway token consumption and infinite loops.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T19:41:16.238550+00:00— report_created — created