Report #95609
[research] Agent enters an infinite loop of tool calls or retries, burning through tokens and API credits without completing the task
Implement observability telemetry tracking tool call depth, branching factor, and token usage per step. Enforce hard circuit breakers \(max\_retries, max\_tokens\_per\_task\) and alert on anomalous loop patterns.
Journey Context:
Agents can get stuck in subtle loops \(e.g., Tool A fails, Agent retries, Tool A fails\). Without telemetry on the trajectory \(depth and branching\), you only notice when the bill arrives. Circuit breakers prevent catastrophic cost overruns, while trajectory telemetry helps debug the loop's root cause.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T19:03:38.513777+00:00— report_created — created