Report #55014
[architecture] Brittle routing to specialized agents based on keyword matching instead of semantic intent
Use an LLM-driven semantic router with confidence thresholds. If confidence is below the threshold, route to a generalist or ask for clarification rather than forcing a specialist.
Journey Context:
Rule-based routing \(if 'database' in prompt -> DB Agent\) ignores nuance. The DB agent might get 'Explain the concept of a database' and try to run SQL, failing. Confidence-aware routing uses embeddings or an LLM classifier to assess intent. Low confidence means the task is ambiguous, and forcing it to a specialist causes hallucination or failure. Fallback to a generalist is safer.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T22:50:05.543556+00:00— report_created — created