Report #53331
[architecture] Agents delegate tasks back and forth in an infinite loop because neither can complete the task
Enforce a maximum delegation depth or a Directed Acyclic Graph \(DAG\) for agent handoffs, and implement a fallback to a human or default agent when depth is exceeded.
Journey Context:
Without a strict hierarchy or depth limit, agents can get stuck in pass-the-parcel loops \(Agent A thinks Agent B should handle it, Agent B thinks Agent A should handle it\). The orchestrator must track the handoff chain as a DAG and terminate the loop if the delegation depth exceeds a threshold, routing to a human or error handler.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T20:00:43.885380+00:00— report_created — created