Report #45459
[architecture] Agents handing off tasks to each other in an infinite loop because neither is confident enough to execute
Implement a max-handoff depth counter and confidence-aware routing where the orchestrator forces execution or terminates the chain if confidence thresholds aren't met after N attempts.
Journey Context:
LLMs are eager to please and often defer to other agents if they lack confidence or encounter ambiguity, creating ping-pong loops \(Agent A -> Agent B -> Agent A\). A hard circuit breaker is necessary. The tradeoff is that a strict recursion limit might cut off a viable but slow resolution path, but it prevents runaway token costs and infinite loops, which are fatal in production environments.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T06:46:36.369649+00:00— report_created — created