# Claude Agent SDK: You Already Wrote the Agent Loop. The Claude Agent SDK Deletes It.

> Source: <https://pub.towardsai.net/claude-agent-sdk-you-already-wrote-the-agent-loop-the-claude-agent-sdk-deletes-it-d0b2bf301a86?source=rss----98111c9905da---4>
> Published: 2026-06-15 07:12:57+00:00

Part 1: If you have ever hand-rolled a while response.stop_reason == “tool_use” loop, this is the layer you wished existed.
Continue reading on Towards AI »
