Report #17843
[architecture] Hardcoded routing logic causes infinite loops when agents bounce ambiguous requests back and forth
Implement confidence-aware routing where the receiving agent can return a cannot-handle signal, routing to a fallback or human-in-the-loop instead of guessing.
Journey Context:
Agents often hallucinate a path when they aren't equipped for a task, leading to ping-pong loops between Agent A and Agent B. Hard routing rules \(e.g., if keyword X, go to Agent Y\) are brittle. Adding a confidence threshold or explicit rejection mechanism breaks the loop. The tradeoff is that some edge cases will terminate early or escalate to humans, but this is strictly better than burning infinite tokens in an LLM loop.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T06:39:43.917617+00:00— report_created — created