Report #83538
[architecture] Rigid keyword-based routing sends ambiguous user queries to the wrong specialist agent, causing failures
Implement a triage agent that evaluates its own confidence before delegating, using structured output to either route to a specialist, fall back to a generalist, or ask the user for clarification.
Journey Context:
Hard-coded routing rules \(e.g., 'if email in query, route to EmailAgent'\) break on edge cases like 'I need to draft an email about my billing invoice'—does this go to EmailAgent or BillingAgent? A triage LLM can output a confidence score alongside its routing decision. If confidence is below a threshold, routing to a generalist or clarifying with the user prevents the specialist from hallucinating outside its domain.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T22:48:28.559918+00:00— report_created — created