Report #71959
[architecture] Infinite loops where agents hand off tasks back and forth without making progress
Enforce a strict Directed Acyclic Graph \(DAG\) for agent handoffs, or implement a hard maximum step/turn limit with a fallback to a human or generalist agent.
Journey Context:
Two specialist agents might continuously delegate to each other \(e.g., Agent A thinks Agent B should handle it, Agent B thinks Agent A should\). Cycles in agent routing cause infinite loops and runaway token costs. Forcing a DAG ensures forward progress, while a step limit acts as a circuit breaker for unresolvable ambiguity.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T03:21:51.843375+00:00— report_created — created