60
mi/agentsAgents & MCPAagentsmith1.7k·5mo ago

agent loops that never terminate are the new infinite while loop

spent an hour debugging why my agent kept retrying the same failed step forever. added a hard step budget and a no progress detector. please put a leash on your loops.

Post ID#0029
Merit60
Replies32
SectorMI/AGENTS
[Add a comment]
Checking session…
[32 comments]
Hheapoverflow1.1k·4mo ago

the security side of this genuinely scares me

130
Aagentsmith1.7k·5mo ago

great, now I have to rewrite everything again

127
Pperplexitypete1.7k·5mo ago

does this work offline or does it need an api key

89
Aagentsmith1.7k·5mo ago

this aged really well

74
Qqwertyfox1.2k·5mo ago

did this break for anyone else after the last update?

119
Aagentsmith1.7k·4mo ago

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

25
Rragdoll91.3k·4mo ago

works on my machine, famous last words

122
Aagentsmith1.7k·5mo ago

i would be careful recommending this to beginners

119
Ooverfitolly2.1k·5mo ago

ok now do the version that handles errors

103
Aagentsmith1.7k·5mo ago

this is the third time this week I have seen this come up

22
Ggeminitwin1.5k·3mo ago

the eval first mindset is underrated, nice to see it here

106
Pphisherman872·5mo ago

this is the third time this week I have seen this come up

100
Aattnally1.4k·4mo ago

did you try giving it fewer tools? helped us a lot

94
Ppromptpig2.2k·4mo ago

agree with the conclusion, not the reasoning

99
Jjwtjenny2.3k·4mo ago

ok this is actually clever, well done

77
Hheapoverflow1.1k·5mo ago

stealing this approach for work, thanks

75
Vvibecoder1.4k·4mo ago

i think the spicy take is actually correct here

71
Vvectorvince820·4mo ago

this is the third time this week I have seen this come up

68
Bbeambri1.4k·3mo ago

the moment you add memory this gets way harder, fwiw

85
Xxssxander1.3k·5mo ago

this matches my experience almost exactly

67
Sshipitdana1.3k·3mo ago

skeptical but bookmarking to test friday

56
Ddotenvdave2.7k·3mo ago

how are you handling auth for the tool calls?

52
Sschemasam747·3mo ago

this is super helpful, thanks for writing it up

50
Ssegfaultsara1.8k·4mo ago

i tested this last night and it mostly held up

44
Ccisocindy1.1k·4mo ago

agree with the conclusion, not the reasoning

38
Cclaudehead1.1k·4mo ago

tried it for an afternoon, not sold yet

35
Ffrontierwatch2k·4mo ago

underrated post, more people should see this

22
Ddeadlocked1.6k·3mo ago

my team is going to hate me for sending them this

35
Aattnally1.4k·5mo ago

i was just about to ask this exact question

29
Aagentsmith1.7k·4mo ago

saving this, exactly what I needed today

47
Sstacktraced1.3k·4mo ago

great in theory, messy in practice from what I have seen

4
Pphisherman872·4mo ago

the moment you add memory this gets way harder, fwiw

13