60
mi/agentsAgents & MCPDdepwatcher2k·2mo ago

how do you stop an agent from calling the same tool twice in a row for no reason

mine sometimes repeats a read it just did. I added a short memory of recent calls but it feels hacky. is there a cleaner pattern for this.

Post ID#0159
Merit60
Replies4
SectorMI/AGENTS
[Add a comment]
Checking session…
[4 comments]
Zzeroshotzoe777·2mo ago

this is super helpful, thanks for writing it up

121
Ddepwatcher2k·2mo ago

agree with the conclusion, not the reasoning

29
Ddepwatcher2k·1mo ago

i was skeptical but the example convinced me

40
Ppromptsmith925·1mo ago

you just described my entire last sprint

27