Comparison
claude-agent-sdk vs cortex-code-agent-sdk vs droid-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 6 days ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install claude-agent-sdkSDK for interacting with Cortex Code CLI programmatically
Actively maintained. Last release 4 months ago. A safe choice.
$
pip install cortex-code-agent-sdkPython asyncio SDK for Factory Droid
Maintained. Last release 2 months ago, commits in 5 of the last 26 weeks. Weaker on commit activity.
$
pip install droid-sdkPython SDK for Codex
Actively maintained. Last release 7 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: 40.1M downloads a month, 17× more than openai-codex.
- openai-codex is better maintained: Pythie’s Index 90 against 78.
- claude-agent-sdk is growing fastest: downloads +20% 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 | cortex-code-agent-sdk | droid-sdk | openai-codex |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 78 | 77 |