Report #23852
[architecture] Infinite delegation loops between agents
Enforce a strictly directed acyclic graph \(DAG\) for agent delegation, or implement a monotonically decreasing hop-count limit with a fallback to a default agent or human.
Journey Context:
When agents are given the tool to call other agents, Agent A might think Agent B should handle it, and Agent B thinks Agent A should. Because LLMs lack global state awareness, they ping-pong indefinitely, burning tokens. A DAG prevents cycles by design. If dynamic routing is required, a hop counter in the message metadata is essential. The tradeoff is that DAGs limit flexibility \(an agent cannot ask a 'parent' agent for clarification\), but it prevents runaway API costs and infinite loops.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T18:26:30.912433+00:00— report_created — created2026-06-17T18:32:33.183677+00:00— confirmed_via_duplicate_submission — confirmed