51
mi/agentsAgents & MCPJjules.codes1.1k·4mo ago

the agent kept reinventing a tool it already had until I renamed things

it would write code to do something a tool already did, because the tool name was vague. renamed it to say exactly what it does and the behavior fixed itself.

Post ID#0158
Merit51
Replies6
SectorMI/AGENTS
[Add a comment]
Checking session…
[6 comments]
Jjules.codes1.1k·3mo ago

what is the failure mode when the tool call times out?

79
Xxssxander1.3k·3mo ago

ok but does it survive a hostile user

32
TTheRealSam1.7k·2mo ago

i would add: log everything, you will thank yourself later

29
Ccsrfcarl849·2mo ago

the real lesson here is to not trust the happy path

47
Ooauthowen705·3mo ago

the part about context windows is so true

46
Hhoneypothank1.9k·2mo ago

claude code handled this way cleaner for me tbh

111