Report #13877
[architecture] Agents ping-pong tasks back and forth in an infinite handoff loop
Implement a maximum handoff depth limit and a confidence-aware routing threshold that falls back to a generalist agent or human if no specialized agent has high confidence in taking the task.
Journey Context:
LLM routers often force a choice even when unsure. Agent A thinks Agent B should handle it; Agent B thinks Agent A should. This creates infinite loops. Confidence-aware routing with a strict fallback prevents this. If the orchestrator isn't highly confident about who should take the task, it routes to a generalist. The tradeoff is occasionally bypassing a specialist, but breaking infinite loops is critical for system stability.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T20:09:13.896019+00:00— report_created — created