Claude Agent SDK
Anthropic's official SDK for building multi-agent systems — enables agent spawning, tool definitions, structured outputs, and subagent orchestration.
Snapshot
- What it is
- A Python SDK from Anthropic that provides first-class abstractions for building agents: tool definitions, structured outputs, agent handoffs, subagent spawning, and session management. The SDK used to build Claude Code.
- Who it's for
- Python engineers building complex agent systems with Claude. Teams who want to follow Anthropic's recommended patterns rather than rolling their own orchestration.
- Primary use case
- Multi-agent research systems, coding assistants, document processing pipelines, any workflow requiring multiple specialized agents coordinating on a shared task.
- Deployment model
- Self-hosted (SDK), runs anywhere Python runs
- Open source
- Yes
- Self-hostable
- Yes
- Current status
- Active development, production-ready
Why It Matters
Before this SDK, building multi-agent systems with Claude required reimplementing orchestration patterns from scratch. The Agent SDK standardizes how agents spawn subagents, share context, and coordinate on tasks — making it the reference implementation for Claude-based agent architectures.
What to Know Before You Use It
Strengths
- Official Anthropic SDK — follows recommended patterns
- First-class support for tool use and structured outputs
- Active development with Claude model updates
- Well-documented with practical examples
Limitations
- Python only (TypeScript SDK exists but less featured)
- Tightly coupled to Claude models
- MCP integration still maturing
- Advanced multi-agent patterns require custom work
Common Misunderstanding
The Claude Agent SDK is not the same as Claude Code. Claude Code is an application built using this SDK. The SDK is the building block; Claude Code is one product built on top of it.
Best For
Primary job-to-be-done
Build structured multi-agent systems with Claude using official, maintained orchestration primitives.
Ideal for
Python engineers building complex agent systems with Claude. Teams who want to follow Anthropic's recommended patterns rather than rolling their own orchestration.
Details
- Website
- github.com
- Category
- Agents
- Type
- sdk
- License
- MIT
- Pricing
- Free (SDK); pay for Claude API usage
- Maintainer
- Anthropic
- Open Source
- Yes
- Self-Hostable
- Yes
- Last Updated
- Apr 20, 2026
Visit Official Site
github.com