Report #55821
[architecture] Two agents bounce the same unresolvable task back and forth infinitely in a ping-pong loop
Implement a max-turn counter and a strictly decreasing progress budget per agent handoff. If the budget does not decrease or turns exceed the limit, break the loop and escalate to a supervisor or human.
Journey Context:
Agents often get stuck in I need more info / Here is info loops because the condition for task completion is fuzzy or impossible. Without a hard circuit breaker, they will loop indefinitely, burning tokens. A max-turn limit is a blunt instrument; tracking a progress metric \(like a decreasing list of sub-tasks\) is better but harder to implement. The right call is combining both to guarantee termination.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T00:11:19.572456+00:00— report_created — created