Report #45093
[architecture] Agents enter a mutual handoff loop resulting in infinite cycles and token exhaustion
Enforce a maximum handoff depth counter in the orchestration loop or design a strictly acyclic agent topology.
Journey Context:
In natural language, an out-of-domain agent might say 'I don't know, let me hand you back to the previous agent.' If the previous agent does the same, the system loops indefinitely. Cyclic agent graphs are powerful but dangerous. An explicit depth limit \(e.g., max 5 handoffs\) or a strict Directed Acyclic Graph \(DAG\) for agent transitions prevents runaway costs and infinite loops.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T06:09:30.814017+00:00— report_created — created