Report #7169
[architecture] Routing tasks to specialized agents based purely on LLM classification without considering confidence, leading to brittle misrouting
Include a confidence score or structured classification output. If confidence is below a threshold, route to a generalist agent or prompt the user for clarification instead of guessing the specialist.
Journey Context:
LLMs will confidently output a classification even if the input is highly ambiguous. Forcing a confidence score \(or using logprobs\) allows the orchestrator to fall back gracefully. The tradeoff is added latency for the classification step and the risk of over-triggering the fallback if thresholds are poorly calibrated, but it prevents sending a task to an agent that lacks the context to handle it.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T02:05:17.182921+00:00— report_created — created