Report #43632
[architecture] Agent router sending tasks to the wrong specialist causing infinite handoff loops
Implement confidence-aware routing with a threshold; if confidence is below the threshold, route to a generalist agent or trigger human clarification rather than forcing a specialized agent choice.
Journey Context:
Standard zero-shot routing forces an LLM to classify an input into a fixed set of agents. If the input is ambiguous, the router guesses wrong. The specialized agent receives a task it can't handle, tries to use its tools, fails, and hands it back to the router, creating an infinite loop. Adding a 'none of the above' or low-confidence fallback breaks the cycle. The tradeoff is occasionally routing to a less optimal generalist, but it prevents system hangs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T03:42:35.403596+00:00— report_created — created