Report #39174
[architecture] Agents delegate back and forth creating infinite loops that drain tokens and budget
Implement a strictly decreasing budget \(step count or recursion depth\) passed in the inter-agent contract. The orchestrator must terminate the workflow if the budget reaches zero.
Journey Context:
Autonomous agents without resource limits will loop indefinitely when faced with unresolvable errors. Passing a remaining\_depth integer in the message payload ensures the system fails fast. The tradeoff is that complex tasks might hit the limit prematurely, requiring tuning of the initial budget based on observed task complexity.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T20:13:35.761777+00:00— report_created — created