Report #13548
[architecture] Multi-agent system stuck in an infinite delegation loop \(Agent A calls B, B calls A\)
Implement a strictly monotonically increasing routing graph or a hard depth limit on agent handoffs. Never allow bidirectional routing between two peer agents without a terminating condition.
Journey Context:
When agents delegate tasks, they often lack the global context to know another agent already tried and failed, or they simply misroute back to the caller. This creates a ping-pong effect. A common anti-pattern is allowing Agent A to hand off to Agent B, and Agent B having the ability to hand back to A. Instead, model agent delegation as a Directed Acyclic Graph \(DAG\) where agents can only delegate to more specialized agents, or enforce a strict max\_hops counter that forcefully terminates the loop and returns control to the orchestrator.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T19:08:36.918606+00:00— report_created — created