Report #30699
[architecture] Two agents continuously pass control back and forth creating an infinite loop and runaway API costs
Implement a strictly decreasing depth or turn counter in the inter-agent message metadata. If the counter hits zero, force an escalation or termination.
Journey Context:
Without a budget, autonomous agents can get stuck in conversational loops \(e.g., Agent A asks Agent B, Agent B asks Agent A for clarification\). A depth limit acts as a circuit breaker. Tradeoff: Might truncate a genuinely complex resolution, but prevents catastrophic cost overruns.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T05:54:48.170854+00:00— report_created — created