AI Potluck
Back to Gap Map Product / UX / Orchestration & agents

Claude Agent SDK

Anthropic
source available / Overall score: 5.0(leading)

Python library that puts Claude Code's agent loop inside an application. It starts the Claude Code command-line binary as a subprocess and exposes its built-in file, shell and search tools, permission controls, sessions, hooks and subagents through Python calls, with custom tools written as Python functions served as in-process MCP servers. Anthropic publishes the wrapper and bundles the Claude Code binary in each platform wheel.

Openness

2 high confidence
2.0
license
MIT(Python SDK wrapper)+Proprietary(bundled Claude Code CLI, all rights reserved under Anthropic's Commercial Terms of Service)
source
partial(the Python wrapper is public

The Python wrapper is MIT licensed, but it cannot run without the Claude Code binary it bundles, and that binary is closed and licensed under Anthropic's Commercial Terms of Service. Anthropic's documentation says those terms govern use of the SDK as a whole, so the open part is the interface to the agent rather than the agent.

Adoption

5 medium confidence
5.0

Adoption is read from PyPI downloads of claude-agent-sdk over the trailing month. Each install also delivers the bundled Claude Code binary, and some of the volume comes from CI runs, so it counts installs rather than developers; the TypeScript SDK on npm is not included.

Capability

5 medium confidence
5.0

The SDK drives the same agent loop, built-in tools and context management that power Claude Code, so it does what Claude Code does, called from Python instead of a terminal. Anthropic publishes no separate benchmark for the SDK.

Verified 2026-10-07, except some scores, still awaiting re-confirmation