Report #13006
[research] Agent silently loops, calling the same tool with the same arguments until max tokens
Set a telemetry alert on consecutive identical tool calls or identical state transitions. If tool\_call\(arg=x\) is followed by tool\_call\(arg=x\) with no intermediate state change, break the loop programmatically.
Journey Context:
Agents often get stuck in loops when a tool fails but the error message isn't clear enough to change the LLM's strategy, so it just retries identically. Relying on the LLM to 'realize' it's looping is unreliable. The observability layer must catch this deterministically and inject a circuit breaker or a forced strategy change.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T17:36:20.851054+00:00— report_created — created