AI Codex
Tools & Ecosystem ClaudeDevelopers

Agent SDK

Also: Claude Agent SDK, Anthropic Agent SDK

The Agent SDK is Anthropic's framework for building autonomous AI agents that use Claude as their brain. It handles the mechanics of an agent loop — giving Claude tools, tracking what it's done, deciding what to do next — so you can focus on what the agent should accomplish. Use it when you're building something where Claude needs to complete multi-step tasks on its own, not just answer a question.

In practice

You want Claude to research a competitor, write a summary, and save it to a file — all without you prompting each step. The Agent SDK gives Claude the tools and loop structure to do that autonomously, so you describe the goal once and it figures out the steps.

Related concepts