Report #54795
[architecture] Agents bounce a task back and forth indefinitely because neither has the tool or knowledge to resolve it, hitting max iteration limits
Implement a monotonically increasing escalation counter in the shared state. If a task is handed off more than N times without state progression, route to a fallback human or a generalist resolver agent.
Journey Context:
LLMs are inherently bad at admitting failure; when an agent lacks a tool, it often delegates back to the sender or to another agent, creating an infinite loop. Without a deterministic circuit breaker, the system deadlocks or burns through tokens. Tracking handoff depth provides a hard boundary. The tradeoff is that complex legitimate workflows might hit the limit, requiring careful tuning of N, but it prevents runaway compute costs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T22:28:11.098315+00:00— report_created — created