Hey folks, I've been building AI Agents for about two years now (basically since "tool calling" was exposed by model providers). And had a lot of trial and error building them. Eventually I landed on Temporal and Golang to build a runtime called Cadenya. I like writing deep-dive nerd porn, and took the past few days to put this together.
Link: https://cadenya.com/handwritten/agentic-loop-in-temporal