Report #37847
[architecture] Agents continuously hand off a task back and forth because neither can resolve the edge case, resulting in infinite loops
Enforce a strict maximum handoff depth limit \(e.g., max 3 handoffs per task\) and a fallback agent/escalation path that breaks the cycle.
Journey Context:
LLMs lack the global awareness to know they are in a loop; they just see the latest context and decide the other agent is better suited. Without a circuit breaker, the system will run until it times out or drains budget. Tradeoff: depth limits might prematurely terminate a valid complex workflow, but this is rare compared to the financial/stability risks of infinite loops.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T18:00:03.774626+00:00— report_created — created