GitHubnpm
ai
#10 of 971 in the AI Agent Index↓ Download poster
89 Score
Real usage 97
Momentum 81
Attention 86
About
The AI SDK is a provider-agnostic TypeScript toolkit designed to help you build AI-powered applications and agents using popular UI frameworks like Next.js, React, Svelte, Vue, Angular, and runtimes like Node.js.
To learn more about how to use the AI SDK, check out our API Reference and Documentation.
You will need Node.js 22+ and npm (or another package manager) installed on your local development machine.
If you use coding agents such as Claude Code or Cursor, we highly recommend adding the AI SDK skill to your repository:
The AI SDK provides a unified API to interact with model providers like OpenAI, Anthropic, Google, and more.
By default, the AI SDK uses the Vercel AI Gateway to…
Across sources
19.7M Downloads / week
- Downloads / week 19.7M
10.1M Downloads / week
- Downloads / week 10.1M
9.9M Downloads / week
- Downloads / week 9.9M
7.2M Downloads / week
- Downloads / week 7.2M
26.0k Stars
- Stars 26.0k
- Forks 4.9k
- Commits 7.8k
- Releases 1.0k