Report #95410
[architecture] Router agent dispatching tasks to the wrong specialized agent, creating dead ends or hallucinations
Include a confidence threshold in the routing agent's output. If confidence is below the threshold, route to a generalist fallback agent or back to the user.
Journey Context:
Classifier/routing LLMs will always output a category, even for out-of-domain queries, forcing a specialized agent into a task it cannot handle. The specialist then hallucinates or fails silently. Implementing a confidence threshold ensures that ambiguous queries are handled by a generalist with broader capabilities or clarified with the user, preventing cascading failures down the wrong pipeline.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T18:43:30.030060+00:00— report_created — created