Comparison
claude-agent-sdk vs cursor-sdk vs openai-codex
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 2 days ago, commits in 25 of the last 26 weeks. A safe choice.
$
pip install claude-agent-sdkPython client for the Cursor SDK bridge.
Actively maintained. Last release 1 day ago. A safe choice.
$
pip install cursor-sdkPython SDK for Codex
Actively maintained. Last release 2 days ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install openai-codexIn short
- claude-agent-sdk is the most used: 41.4M downloads a month, 16× more than openai-codex.
- openai-codex is better maintained: Pythie’s Index 90 against 77.
- openai-codex is growing fastest: downloads +23% over the last month.
- Safe default for a new project: claude-agent-sdk, or openai-codex if active maintenance matters most.
Side by side
| Metric | claude-agent-sdk | cursor-sdk | openai-codex |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 77 | Pythie’s Index: 84 | Pythie’s Index: 90 |
| Verdict | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 41.4M | 857.6K | 2.5M |
| Downloads, month over month | +18% | -12% | +23% |
| GitHub stars | 8.7K | – | 137.4K |
| Stars, last 7 days | +54 | – | +738 |
| Direct dependents | 0 | 0 | 0 |
| Last release | Dec 4, 2026 | Dec 5, 2026 | Dec 4, 2026 |
| Releases, 12 months | 128 | 37 | 33 |
| Weeks with commits | 25 / 26 | – | 26 / 26 |
| Recent contributors | 5 | – | 38 |
| First release | Sep 2025 | May 2026 | May 2026 |
| Python versions | 3.10 – 3.13 | 3.10 – 3.13 | – |
| License | MIT | non-standard | Apache-2.0 |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.