Report #70927
[architecture] Two agents delegate tasks back and forth indefinitely leading to infinite loops and token exhaustion
Enforce a strictly monotonically decreasing budget \(max iterations, max tokens, or depth counter\) passed in the shared state, and hard-fail the workflow if the budget hits zero.
Journey Context:
LLMs lack global state awareness. If Agent A and Agent B both lack the tool to complete a task, they might just keep delegating to each other. A depth counter or iteration budget is the only deterministic way to break the cycle. It acts as a circuit breaker against runaway token consumption.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T01:37:32.619328+00:00— report_created — created