Claude Agent SDK (Python)

Open source · MITFree library; you pay for Claude API usage

Claude Agent SDK (Python)

by Anthropic

Anthropic's Python library for building your own agents on Claude Code's engine. The library is open source; the Claude Code engine it bundles is not.

8.2k stars on GitHub, Oct 2026

Why it's useful

Gives you Claude Code's tool use, file editing and sub-agents inside your own scripts and apps, so you're not wiring up an agent loop from scratch.

What it needs

Python 3.10 or later and your own Anthropic API key (paid usage)

The details

Price
Free library; you pay for Claude API usage
Licence
Open source (MIT)
Runs on
Command line, Windows, macOS, Linux
Made by
Anthropic
Category
Agents & MCPCoding
Tags
agentssdkpythonclaude

Image: Anthropic. Claude Agent SDK (Python) belongs to Anthropic; we just think it's worth knowing about.

More tools like this