Claude Agent SDK · Anthropic

confidence: highactive7,560

Anthropic's production agent library exposing the same harness that powers Claude Code (tool loop, file/bash/web tools, subagents, hooks, skills, MCP, permission checkpoints) in Python and TypeScript; the MIT-licensed SDK wraps the bundled Claude Code runtime and, as of 2026, underpins Anthropic Managed Agents with separate metered billing from June 15, 2026.

Homepagehttps://platform.claude.com/docs/en/agent-sdk/overview
Repositoryhttps://github.com/anthropics/claude-agent-sdk-python
Licenseopen-source
Domaingeneral
Form factorsdk · ci-step
Model-agnostic○ no
Native modelsClaude Opus 4.8 · Claude Opus 4.7 · Claude Sonnet 4.6
Local models○ no
Pricingusage-based
MCP client✓ yes
Agent Skills support✓ yes
Plugins / hooks✓ yes
Sandboxingoptional
Autonomy spectrumsupervised → semi-autonomous → autonomous-local → background-cloud
Subagents✓ yes
Parallel sessions✓ yes
Context managementcompaction · persistent-memory
Headless / API✓ yes
GitHub integration✓ yes
Sources

✓ profile last verified 2026-07-08 · benchmark figures are vendor-reported unless a source states otherwise