Comparison
claude-agent-sdk vs codex-app-server-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-sdkAsync Python client for Codex app-server over stdio and websocket.
Maintained. Last release 2 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install codex-app-server-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.
- codex-app-server-sdk is growing fastest: downloads +186% 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 | codex-app-server-sdk | cursor-sdk | openai-codex |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 77 | Pythie’s Index: 58 | Pythie’s Index: 84 | Pythie’s Index: 90 |
| Verdict | Actively maintained | Maintained | Actively maintained | Actively maintained |
| Downloads / month | 41.4M | 508.5K | 857.6K | 2.5M |
| Downloads, month over month | +18% | +186% | -12% | +23% |
| GitHub stars | 8.7K | 2 | – | 137.4K |
| Stars, last 7 days | +54 | +0 | – | +738 |
| Direct dependents | 0 | 0 | 0 | 0 |
| Last release | Dec 4, 2026 | Sep 23, 2026 | Dec 5, 2026 | Dec 4, 2026 |
| Releases, 12 months | 128 | 8 | 37 | 33 |
| Weeks with commits | 25 / 26 | 1 / 26 | – | 26 / 26 |
| Recent contributors | 5 | 1 | – | 38 |
| First release | Sep 2025 | Feb 2026 | May 2026 | May 2026 |
| Python versions | 3.10 – 3.13 | 3.12 – 3.14 | 3.10 – 3.13 | – |
| License | MIT | AGPL-3.0 | non-standard | Apache-2.0 |
| 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.