Report #96998
[research] Agent gets stuck in a loop repeating the same tool calls or reasoning steps without making progress, but never hits a timeout
Implement telemetry tracking for tool\_call\_signature\_hash per step. Alert or force-exit if the identical tool call signature is observed more than 2 times consecutively.
Journey Context:
Agents often get stuck in subtle loops \(e.g., searching for a file, not finding it, searching again with the same query\). Standard timeout limits might not catch this if each individual step is fast. By hashing the tool name and arguments, you can programmatically detect exact repetition or circular reasoning patterns at the trace level, saving compute and preventing runaway costs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T21:23:43.973987+00:00— report_created — created