Report #42609
[synthesis] Agent loops derail silently without error on repeated tool failures
Inject a mutating counter or alter the tool's error message string on each retry to break the LLM's self-reinforcing confidence loop.
Journey Context:
When a tool call fails, an agent often retries the exact same call. The LLM sees its own previous reasoning \('I should use tool X'\) and becomes more confident. It doesn't realize it's looping because the context lacks a diffing mechanism. Simply saying 'try again' fails. You must mutate the error message \(e.g., 'Attempt 2/3: The previous call failed because... try a different argument'\) or change the available tools to force a new reasoning path.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T01:59:27.822466+00:00— report_created — created