Comparison
claude-agent-sdk vs claude-code-sdk vs cortex-code-agent-sdk vs cursor-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 6 days ago, commits in 26 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 26 of the last 26 weeks. Weaker on recent releases and issue handling.
$
pip install claude-code-sdkSDK for interacting with Cortex Code CLI programmatically
Actively maintained. Last release 4 months ago. A safe choice.
$
pip install cortex-code-agent-sdkPython client for the Cursor SDK bridge.
Actively maintained. Last release 1 day ago. A safe choice.
$
pip install cursor-sdkIn short
- claude-agent-sdk is the most used: 40.1M downloads a month, 47× more than cursor-sdk.
- Maintenance is comparable: cursor-sdk 84, claude-agent-sdk 78, cortex-code-agent-sdk 77, claude-code-sdk 46 on Pythie’s Index.
- claude-agent-sdk is growing fastest: downloads +20% over the last month.
- Safe default for a new project: claude-agent-sdk.
Side by side
| Metric | claude-agent-sdk | claude-code-sdk | cortex-code-agent-sdk | cursor-sdk |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 78 | 46 |