Report #65647
[architecture] Agents bounce a task back and forth indefinitely due to delegation loops
Implement a strictly monotonically increasing 'depth' or 'hop' counter in the inter-agent contract. If depth exceeds a maximum limit \(e.g., 5\), abort the workflow and route to HITL.
Journey Context:
Autonomous agents lack the global awareness to realize they are in a loop \(Agent A delegates to B, B fails and delegates back to A\). A depth counter acts as a TTL for the workflow. Tradeoff: might abort complex but valid deep workflows, but infinite loops burn API credits and hang systems, making a hard limit a necessary circuit breaker.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T16:40:17.058663+00:00— report_created — created