- Updated dependencies [3824c69]
- Updated dependencies [6e8ec70]
- @ai-sdk/gateway@3.0.210
AI SDK by Vercel
Overview
Vercel's TypeScript toolkit for building AI applications and agents, with one API across model providers and UI helpers for streaming.
AI SDK was downloaded 34.5M times from npm in the week ending Oct 4, 2026, up 13.5% on the week before and up 20.9% over the last 30 days compared with the 30 before. The GitHub repository has 27.1K stars, 589 of them added in the last 30 days. The latest stable release is 6.0.301, published Oct 5, 2026. It was mentioned in 6 Hacker News posts and comments over the last 30 days.
AI SDK usage and attention over time
Download the raw daily series: vercel-ai-sdk.csv
Install AI SDK
| npm | npm install ai |
|---|
These commands use the packages tracked on this page. The vendor may recommend a different installer; see the official documentation.
Key facts
| Maker | Vercel |
|---|---|
| Type | TypeScript AI toolkit |
| License | Apache-2.0 |
| Interfaces | TypeScript library |
| Main language | TypeScript |
| Open issues and PRs | 1,413 |
Pricing
AI SDK is open source and free to use; you pay only for the models and infrastructure it runs on.
, checked Oct 5, 2026. Prices change often; confirm before you buy.
Pulse Score breakdown
Each component is scored 0 to 100 from public signals; a dash means no data for it. Methodology.
What changed: recent AI SDK releases
- 0fe8c67: fix: preserve tool approval state when resuming streams
- 2959d35: feat: rename evaluate to decide
- 0ca1ab9: Add durable non-streaming WorkflowAgent.generate() with a shared tool loop, a 20-step default, typed output, and core generation result semantics. Reuse core result and content…
- d6b42fd: feat(ai): support custom reasoning delimiters in extractReasoningMiddleware
- ed6e72d: fix(ai): return successful empty transcripts for silent audio
- 2136151: Throw InvalidResponseDataError instead of a generic Error when a generated audio file's format cannot be determined from its media type, so callers can identify the failure with…
- 8db50f1: fix(ui): export isDynamicToolUIPart from ai package
- Updated dependencies [44f892a]
- Updated dependencies [10f2cf9]
- Updated dependencies [78cac2e]
- Updated dependencies [fda0906]
- @ai-sdk/gateway@2.0.163
- Updated dependencies [295aadf]
- @ai-sdk/gateway@3.0.209
- 158a718: feat(ai): select and rank eligible deferred tools via 'search()' callback in tool search
- bb8d33e: fix(ai): cancel merged UI message streams when the consumer disconnects
- 284dc11: fix(ai): accept unchanged tool approval inputs created in another JavaScript realm
- ba8afe9: feat(ai): add a configurable maxResults for number of tools returned in tool search
- Updated dependencies [d1bb9e8]
- @ai-sdk/gateway@4.0.103
- 4f3d236: fix: clear tool approvals when addToolOutput runs
AI SDK alternatives
| # | Agent | Pulse | Downloads 7d | 7d | 30d | VS Code installs | Stars | Latest release | Price | Last 90 days | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 4 |
LangChainLangChain |
77 | 44.3M | up 1.9% | down 22.0% | — | 147K+45/day | 1.4.38d ago | Free (OSS) | ||
| 10 |
LangGraphLangChain |
69 | 16.1M | up 11.4% | down 21.8% | — | 42.7K+48/day | 1.2.13yesterday | Free (OSS) | ||
| 13 | 63 | 8.7M | up 0.6% | up 2.0% | — | 8,679+23/day | 1.58.0yesterday | Free (OSS) | |||
| 17 |
Claude Agent SDKAnthropic |
59 | 21.5M | up 14.6% | up 0.6% | — | 8,219+5/day | 0.2.1636d ago | Free (OSS) | ||
| 21 |
MastraMastra |
58 | 2.2M | up 11.1% | up 19.1% | — | 28.6K+27/day | 1.74.0yesterday | Free (OSS) | ||
| 23 |
Deep AgentsLangChain |
57 | 2M | up 13.5% | up 5.0% | — | 30K+19/day | 0.7.22yesterday | Free (OSS) | ||
| No agents match that filter. | |||||||||||
Head to head: AI SDK vs LangChain · AI SDK vs LangGraph · AI SDK vs Strands Agents · AI SDK vs Claude Agent SDK
Guides that cover AI SDK
AI SDK FAQ
How much does AI SDK cost?
AI SDK is open source and free to use; you pay only for the models and infrastructure it runs on.
Is AI SDK open source?
Yes. AI SDK is open source, released under the Apache-2.0 license.
How popular is AI SDK?
AI SDK was downloaded 34.5M times from npm in the week ending Oct 4, 2026, up 13.5% on the week before and up 20.9% over the last 30 days compared with the 30 before. The GitHub repository has 27.1K stars, 589 of them added in the last 30 days. The latest stable release is 6.0.301, published Oct 5, 2026.
What is the latest version of AI SDK?
The latest stable release we track is 6.0.301, published on Oct 5, 2026.
What are the alternatives to AI SDK?
The closest alternatives in the same category by Pulse Score are LangChain, LangGraph, Strands Agents, Claude Agent SDK.
Where these numbers come from
npm: ai. GitHub: vercel/ai. See data sources for how each one is collected.
