Comparison
claude-agent-sdk vs claude-code-sdk vs langgraph vs openai-agents
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-sdkBuilding stateful, multi-actor applications with LLMs
Actively maintained. Last release today, commits in 25 of the last 26 weeks. A safe choice.
$
pip install langgraphOpenAI Agents SDK
Actively maintained. Last release 1 day ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install openai-agentsIn short
- langgraph is the most used: 60.6M downloads a month, 1.5× more than claude-agent-sdk.
- Maintenance is comparable: langgraph 85, openai-agents 81, claude-agent-sdk 78, claude-code-sdk 46 on Pythie’s Index.
- openai-agents is growing fastest: downloads +23% over the last month.
- claude-agent-sdk is the newcomer: first released Sep 2025.
- Safe default for a new project: langgraph.
Side by side
| Metric | claude-agent-sdk | claude-code-sdk | langgraph | openai-agents |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 78 | 46 |