To build an AI agent with the Claude Agent SDK, you install the SDK in Python or TypeScript and give the agent a short list of tools it may use. You then connect your business systems through MCP and send every risky action to a person for approval. This guide is part 2 of our three-part series on AI agents in practice.
Part 1 covers building a first agent without code. Part 3 covers running agents in production. This part is for a company with a developer or a technical partner who can write and run a small program.
An agent is an application that completes a task by planning its own steps and calling tools that read files, run commands or change data. The Claude Agent SDK is Anthropic's library for building such agents on top of Claude Code. It was called the Claude Code SDK until Anthropic renamed it in September 2025.
The rest of this guide follows one path. You install the SDK, run a minimal agent, and connect it to a CRM. Then you decide which actions run on their own and which wait for a human. Finally, you rebuild the supplier-email agent from part 1 in code.
