Claude Agent SDK vs LangGraph
Claude Agent SDK (Anthropic) and LangGraph (LangChain) side by side on public data, as of Nov 20, 2026.
Claude Agent SDK has 1.5x the weekly package downloads of LangGraph (29.3M against 20.1M). LangGraph has 5.3x the GitHub stars of Claude Agent SDK (45.1K against 8,588). Over the last 30 days downloads moved +38% for Claude Agent SDK and +29% for LangGraph. Claude Agent SDK shipped 41 stable releases in the past 90 days. LangGraph shipped 12 stable releases in the past 90 days.
Which should you choose?
Choose Claude Agent SDK if
- you want to switch between model providers (4 documented against 1)
- you want frequent updates (41 stable releases in 90 days against 12)
Choose LangGraph if
- you need to run local models
- you prefer the more widely used tool, with more docs and answers around (Gid Score 75 against 64)
Built from documented features, official prices, status pages and usage data on this page; it does not judge output quality.
Side-by-side numbers
| Metric | Claude Agent SDK | LangGraph |
|---|---|---|
| Gid Score | 64 | 75 |
| Usage data as of | Nov 19 | Nov 19 |
| Rank by Gid Score | #4 | #2 |
| Downloads, last 7 days | 29.3M | 20.1M |
| Downloads, 7-day change | up 5.9% | up 5.5% |
| Downloads, 30-day change | up 37.6% | up 29.2% |
| VS Code installs | — | — |
| Marketplace rating | — | — |
| GitHub stars | 8,588 | 45.1K |
| Homebrew installs, 30 days | — | — |
| Hacker News mentions, 30 days | 8 | 65 |
| Latest stable release | 0.2.185 · yesterday | 1.2.23 · yesterday |
| Stable releases, 90 days | 41 | 12 |
| Terminal-Bench (best run) | — | — |
| Price | Free (OSS) | Free (OSS) |
| Incidents, last 30 days | 12 · 10 major or critical | — |
| License | MIT (Python SDK) | MIT |
| First released | — | January 2024 |
| Interfaces | Python library, TypeScript library | Python library, JavaScript library |
| Models | — | — |
A dash means there is no public data for that metric as of Nov 20, 2026.
Trends
Claude Agent SDK
Anthropic's SDK that exposes the agent loop, tools and context management behind Claude Code, for building custom agents in Python and TypeScript.
Pricing: The SDK is free to install; usage is billed through the Claude API or a Claude subscription.
Latest release 0.2.185:
- bash pip install claude-agent-sdk==0.2.185
LangGraph
A low-level orchestration framework for building stateful agents as graphs, with durable execution, persistence and human-in-the-loop steps. Available for Python and JavaScript.
Pricing: LangGraph is open source and free to use; you pay only for the models and infrastructure it runs on.
Latest release 1.2.23:
- release(langgraph): 1.2.23
- release(prebuilt): 1.1.3
- fix(langgraph,prebuilt): give Send-dispatched tool calls the same state as an edge
- chore(deps): bump opentelemetry-api from 1.45.1 to 1.45.2 in /libs/langgraph
Claude Agent SDK vs LangGraph: common questions
Which is more popular, Claude Agent SDK or LangGraph?
LangGraph has a Gid Score of 75 against 64 for Claude Agent SDK. The score combines package downloads, editor installs, GitHub activity and attention, updated daily.
Do Claude Agent SDK and LangGraph support local models?
LangGraph documents support for local models; Claude Agent SDK's documentation does not.