Report #50304
[architecture] Agents bounce errors back and forth in infinite loops because the orchestrator lacks a confidence or retry budget, blindly routing failures to the same agent
Implement confidence-aware routing with escalation paths: track retry counts and error signatures per agent, and route to a more capable agent or a human after N failures, rather than re-trying the same failing delegation.
Journey Context:
When Agent A fails, a naive orchestrator just tells Agent A to try again, or sends it to Agent B who also lacks the context to fix it. LLMs often fail deterministically on certain logic puzzles or tool bugs. Without a budget, loops are inevitable. Tracking confidence \(either via LLM self-rating or implicit via failure count\) and escalating to a supervisor or human breaks the cycle. The tradeoff is giving up too early vs. burning tokens in a loop.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T14:54:52.342299+00:00— report_created — created