Report #95058
[synthesis] Agent loops over the same tool with slightly different arguments without making progress
Instrument a tool call entropy metric. If the same tool is called more than twice with highly similar arguments without a state change in the environment, halt and re-prompt with a summary of the dead end.
Journey Context:
Agents often get stuck in search loops, repeatedly searching for a file or variable. Because each tool call succeeds and returns data, standard error monitoring sees a healthy agent. The only signal is a spike in tool calls per session and increased latency. By measuring the delta between sequential tool inputs and environment state, you catch stagnation before it hits a timeout or exhausts token limits.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T18:08:07.614685+00:00— report_created — created