# Claude Agent SDK Agent Loop: The Agent Loop Is Just a While Loop You Did Not Have to Write

> Source: <https://pub.towardsai.net/claude-agent-sdk-agent-loop-the-agent-loop-is-just-a-while-loop-you-did-not-have-to-write-ac17f14e9768?source=rss----98111c9905da---4>
> Published: 2026-06-15 07:13:09+00:00

Part 2: Watch an AI agent run and it looks like magic. Take the lid off and it is an ordinary system: one you can name, reason about, and…
Continue reading on Towards AI »
