Comparison
claude-agent-sdk vs cursor-sdk vs openai-codex vs pydantic-deep
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-codexBatteries-included agent harness for Python — tool-calling, sandboxed execution, multi-agent teams, and unlimited context on Pydantic AI
Actively maintained. Last release 9 days ago, commits in 11 of the last 26 weeks. A safe choice.
pip install pydantic-deepIn 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 | pydantic-deep |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 77 | Pythie’s Index: 84 | Pythie’s Index: 90 | Pythie’s Index: 83 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 41.4M | 857.6K | 2.5M | 197.1K |
| Downloads, month over month | +18% | -12% | +23% | -5% |
| GitHub stars | 8.7K | – | 137.4K | 1.1K |
| Stars, last 7 days | +54 | – | +738 | +4 |
| Direct dependents | 0 | 0 | 0 | 6 |
| Last release | Dec 4, 2026 | Dec 5, 2026 | Dec 4, 2026 | Nov 27, 2026 |
| Releases, 12 months | 128 | 37 | 33 | 68 |
| Weeks with commits | 25 / 26 | – | 26 / 26 | 11 / 26 |
| Recent contributors | 5 | – | 38 | 4 |
| First release | Sep 2025 | May 2026 | May 2026 | Dec 2025 |
| Python versions | 3.10 – 3.13 | 3.10 – 3.13 | – | 3.11 – 3.13 |
| License | MIT | non-standard | Apache-2.0 | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.