The Core Execution Loop Behind Modern AI Agents

Agents can browse the web, write and execute code, coordinate with other agents and reason through multi-step problems autonomously. The demos are impressive. Last year, as I started using agents more and more, to the point that they are now a part of my day-to-day, I wanted to understand them more fundamentally. Before the planning strategies, the memory systems and the multi-agent orchestration, there's a core architectural pattern that everything else is built on. Lilian Weng's excellent breakdown of LLM-powered agents taxonomizes agents into planning, memory, and tool use. I want to go one level deeper, into the execution loop that sits beneath all three, because understanding that
…