Claude Agent SDK vs AI SDK
Claude Agent SDK (Anthropic) and AI SDK (Vercel) side by side on public data, as of Nov 20, 2026.
AI SDK has 1.6x the weekly package downloads of Claude Agent SDK (47.2M against 29.3M). AI SDK has 3.3x the GitHub stars of Claude Agent SDK (28.1K against 8,588). Over the last 30 days downloads moved +38% for Claude Agent SDK and +38% for AI SDK. Claude Agent SDK shipped 41 stable releases in the past 90 days.
Which should you choose?
Choose AI SDK if
- you need to run local models
- you want to switch between model providers (8 documented against 4)
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 | AI SDK |
|---|---|---|
| Gid Score | 64 | 68 |
| Usage data as of | Nov 19 | Nov 19 |
| Rank by Gid Score | #4 | #3 |
| Downloads, last 7 days | 29.3M | 47.2M |
| Downloads, 7-day change | up 5.9% | up 3.9% |
| Downloads, 30-day change | up 37.6% | up 38.4% |
| VS Code installs | — | — |
| Marketplace rating | — | — |
| GitHub stars | 8,588 | 28.1K |
| Homebrew installs, 30 days | — | — |
| Hacker News mentions, 30 days | 8 | 4 |
| Latest stable release | 0.2.185 · yesterday | 7.0.177 · 2d ago |
| Stable releases, 90 days | 41 | — |
| Terminal-Bench (best run) | — | — |
| Price | Free (OSS) | Free (OSS) |
| Incidents, last 30 days | 12 · 10 major or critical | — |
| License | MIT (Python SDK) | Apache-2.0 |
| First released | — | May 2023 |
| Interfaces | Python library, TypeScript library | TypeScript 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
AI SDK
Vercel's TypeScript toolkit for building AI applications and agents, with one API across model providers and UI helpers for streaming.
Pricing: AI SDK is open source and free to use; you pay only for the models and infrastructure it runs on.
Latest release 7.0.177:
- e403988: add an interrupt option to steering so a steer can cancel a model call that has not produced output yet
- b792b56: feat(ai): ship the AI SDK skill in the package at skills/ai-sdk for pnpm agent skills
- Updated dependencies [700089c]
- @ai-sdk/gateway@4.0.150
Claude Agent SDK vs AI SDK: common questions
Which is more popular, Claude Agent SDK or AI SDK?
AI SDK has a Gid Score of 68 against 64 for Claude Agent SDK. The score combines package downloads, editor installs, GitHub activity and attention, updated daily.
Do Claude Agent SDK and AI SDK support local models?
AI SDK documents support for local models; Claude Agent SDK's documentation does not.