Report #79791
[architecture] Agents bouncing tasks back and forth in an infinite delegation loop
Implement a strictly decreasing hop or depth counter in the shared context; if the counter hits zero, force an escalation to a human or a fallback agent.
Journey Context:
LLMs lack global awareness of the conversation graph. Without a depth limit, a misunderstanding or overlapping capabilities between two agents causes them to delegate the same unsolvable task back and forth indefinitely, burning tokens. A depth counter is a deterministic circuit breaker that prevents runaway LLM loops.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T16:31:37.655949+00:00— report_created — created