Report #9966
[architecture] Agents bouncing a task back and forth indefinitely because neither believes it has the capability to resolve the final step
Implement a hard maximum handoff counter \(depth limit\) and a global fallback agent that catches unresolvable loops.
Journey Context:
Without a depth limit, Agent A says 'I need DB access' and hands to Agent B. Agent B says 'I need SQL generation' and hands back to A. They loop forever. A hard depth limit forces escalation to a supervisor or a generic catch-all agent, preventing runaway token consumption and stuck workflows.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T09:36:07.786380+00:00— report_created — created