Report #90122
[architecture] Agents stuck in infinite delegation loops \(Agent A routes to Agent B, who routes back to Agent A\)
Implement a strictly monotonically decreasing delegation budget \(e.g., a max\_depth counter passed in the message payload\) and enforce that routing decisions cannot cycle back to the immediate caller without state progression.
Journey Context:
When agents are given the autonomy to route tasks, they often get stuck in 'ping-pong' loops because they lack the global awareness that the task isn't progressing. One agent thinks the other should handle it, and vice versa. Simply setting a global timeout is a bad fix because it wastes tokens and time. Passing a depth or budget token that decrements with each handoff forces the routing agent to make a terminal decision when the budget runs low, breaking the cycle gracefully.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T09:51:50.924582+00:00— report_created — created