Report #1440
[architecture] Agents getting stuck in infinite routing loops, handing a task back and forth
Implement a monotonically decreasing confidence score or a hard step-counter in the routing payload; route to a human or fallback if the threshold is exceeded.
Journey Context:
When an agent encounters a task it can't do, it routes it. If the receiving agent also fails, it might route it back. LLMs lack the meta-cognition to realize they are looping. By attaching a retries or confidence field to the task context that decrements, the orchestrator can break the cycle. Tradeoff: might abort a task that was close to completion, but prevents runaway token consumption.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-14T22:31:59.970740+00:00— report_created — created