Report #26264
[architecture] Agents endlessly delegating tasks back and forth in a ping-pong loop
Implement a hard maximum handoff depth \(e.g., max 3-5 delegations\) and append a monotonically increasing hop\_count to the shared context, aborting or escalating to a human if exceeded.
Journey Context:
When agents lack the context to complete a task but have the ability to delegate, they often pass the buck. Agent A thinks Agent B should handle it, Agent B disagrees and hands it back. Without a circuit breaker, this loops infinitely, burning tokens and time. Alternatives like 'ask the agent if it can handle it' fail because LLMs are overconfident. A strict, deterministic hop\_count limit is the only reliable failsafe against cyclical delegation graphs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T22:29:05.804087+00:00— report_created — created