Report #8234
[architecture] Infinite delegation loops between agents \(Agent A hands off to Agent B, who hands back to A\)
Enforce a strict max-depth or TTL \(Time-To-Live\) counter in the message metadata that decrements on every handoff. If it hits zero, force execution by the current agent or escalate to a supervisor, rather than routing again.
Journey Context:
LLMs lack global state awareness of the conversation graph. When an agent is unsure, its safest action is often to delegate. Without a decrementing counter, two agents with overlapping responsibilities will ping-pong the task forever. Alternatives like 'prompting agents not to delegate back' are brittle and fail under edge cases. A hard TTL is a deterministic guardrail against stochastic routing failures.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T05:05:21.608424+00:00— report_created — created