Report #64337
[research] Agent gets stuck in an infinite loop of retrying the same failed tool call, consuming tokens until timeout
Implement a telemetry rule on the trace stream that alerts or halts execution if the agent makes >N identical or semantically equivalent consecutive tool calls without state change.
Journey Context:
Agents often lack an internal stop condition for repetitive failures. Standard timeout limits are too coarse; an agent can burn millions of tokens in 60 seconds. Observability needs to be active \(triggering breakpoints or halts\) rather than passive \(just logging\), specifically detecting cyclical tool execution.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T14:28:45.459710+00:00— report_created — created