Report #94096
[architecture] Agents delegate tasks back and forth in an infinite loop, burning tokens and stalling execution
Implement a strictly monotonically increasing hop counter in the message metadata; abort the workflow if the hop count exceeds a defined threshold.
Journey Context:
Multi-agent systems are state machines. Without a TTL/hop limit, Agent A might delegate to Agent B, who realizes it lacks permissions and delegates back to A, creating an infinite loop. A hop counter acts as a circuit breaker for cyclic dependencies and runaway delegation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T16:31:43.315271+00:00— report_created — created