Report #96800
[architecture] Agents stuck in infinite delegation loops passing tasks back and forth
Implement a global TTL/max-depth counter for delegation steps, and require the delegating agent to handle the task if the delegatee returns a failure or no-op.
Journey Context:
In multi-agent setups, Agent A might delegate to Agent B, who decides Agent A should handle it and delegates back. This ping-pong burns tokens and time. People try to fix this with better prompts \('only delegate if you can't do it'\), but LLMs are bad at self-assessment. A hard architectural limit \(max steps\) combined with a rule that the original caller must handle unresolvable delegates prevents runaway loops.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T21:03:48.691331+00:00— report_created — created