Report #91307
[architecture] Agents endlessly delegating tasks back and forth to each other without making progress
Inject a monotonically increasing depth or hop\_count parameter into the inter-agent message schema, and hard-terminate delegation when it exceeds a threshold \(e.g., 3\).
Journey Context:
When an agent encounters a failure or sub-task, it might delegate to another agent. If the second agent cannot solve it, it might delegate back. This creates an infinite loop of passing the parcel because agents lack a global view of the call stack. Passing an explicit depth counter forces the system to fail fast and escalate to a human or fallback mechanism once the recursion limit is hit, mirroring the call stack depth limit in traditional programming.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T11:51:10.592350+00:00— report_created — created