Claude Agent SDK
Python SDK for Claude AI with agent capabilities and tool support.
Model SDKs PyPI MIT
How Claude Agent SDK is used
Claude Agent SDK is a dependency in 22 of the 6,208 public GitHub projects set up for AI coding agents that we scanned (1.4% of the 1,622 Python ones), #15 of 79 in model sdks. Counting the projects our scan samples by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983), it appears in 143; those are left out of every share on this page. The most used alternative in our scan is OpenAI Python Library (245 projects). Projects that use it most often also use FastAPI (63.6%), python-dotenv (63.6%), Uvicorn (63.6%).
Claude Agent SDK popularity over time
Gid Score 63: downloads 83, use in agent projects 56, GitHub stars 47, downloads trend 54 (each 0-100). How it is calculated.
Often used with Claude Agent SDK
| FastAPI | 63.6% of Claude Agent SDK projects · 8.5× more than average |
|---|---|
| python-dotenv | 63.6% of Claude Agent SDK projects · 6.9× more than average |
| Uvicorn | 63.6% of Claude Agent SDK projects · 8.3× more than average |
| Rich | 59.1% of Claude Agent SDK projects · 16.5× more than average |
| Pydantic | 50.0% of Claude Agent SDK projects · 5.8× more than average |
| Model Context Protocol SDK (Python) | 36.4% of Claude Agent SDK projects · 4.5× more than average |
| Typer | 36.4% of Claude Agent SDK projects · 18.1× more than average |
| httpx | 31.8% of Claude Agent SDK projects · 7.1× more than average |
By coding agent
| Claude Code | 0.6% of projects set up for it |
|---|---|
| GitHub Copilot | 0.2% of projects set up for it |
Share of public repos configured for each agent that list Claude Agent SDK as a dependency.
Install
| Package | pip install claude-agent-sdk |
|---|---|
| Main stacks | Python (22) |
| Example projects | dramaclaw/dramaclaw, avibe-bot/avibe, assafkip/kipi, NihadMemmedli/quorvex_ai, krzemienski/claude-code-builder |
Alternatives to Claude Agent SDK
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside Claude Agent SDK are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| OpenAI Python Library pypi Official Python SDK to call OpenAI APIs including GPT models and embeddings. |
86 | 245 (15.1%) | 82.1M | 31.9K | Apache-2.0 |
| Anthropic Python SDK pypi Official Python library for calling Claude via the Anthropic API. |
73 | 113 (7.0%) | 42.7M | 3,980 | MIT |
| OpenAI Agents SDK (Python) pypi Official SDK for building and running agents with OpenAI models. |
67 | 10 (0.6%) | 3.3M | 30.2K | MIT |
More in Model SDKs: OpenAI AI SDK Anthropic SDK Google Generative AI Google GenAI Python SDK Hugging Face Hub LiteLLM Ollama