Comparison
claude-agent-sdk vs claude-code-sdk
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python SDK for Claude Code
Actively maintained. Last release 5 days ago, commits in 25 of the last 26 weeks. A safe choice.
$
pip install claude-agent-sdkPython SDK for Claude Code
Maintained. Last release 14 months ago, commits in 25 of the last 26 weeks. Weaker on recent releases and issue handling.
$
pip install claude-code-sdkIn short
- claude-agent-sdk is the most used: 40.2M downloads a month, 63× more than claude-code-sdk.
- claude-agent-sdk also has the best Pythie’s Index (78).
- claude-agent-sdk is growing fastest: downloads +19% over the last month.
- Safe default for a new project: claude-agent-sdk.
Side by side
| Metric | claude-agent-sdk | claude-code-sdk |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 78 | 46 |