Report #84508
[architecture] Unbounded recursive tool calls or agent depth leading to runaway compute costs
Enforce a strict maximum depth/step limit at the orchestrator level. Track the 'agent hop count' or 'tool call count' in the shared state and halt execution if it exceeds the threshold.
Journey Context:
Agents can get stuck in 'analysis paralysis' or recursive loops \(Agent A calls Tool B, which triggers Agent C, which calls Tool B...\). Without an orchestrator-level circuit breaker on total steps, a single request can consume massive tokens and time. This is the LLM equivalent of a stack overflow or infinite loop, requiring strict computational boundaries.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T00:26:07.655940+00:00— report_created — created