vercel/ai
The AI Toolkit for TypeScript. From the creators of Next.js, the AI SDK is a free open-source library for building AI-powered applications and agents observed · 2026-08-28
Health v2 · maintenance only
92/100
- Activity 99
- Release rhythm 87
- Longevity 85
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0.0
- age_days: 1198
- days_rel: 7
- days_push: 7
- n_releases_24m: 14675
Adoption not part of the score
26432 stars · 5025 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
The AI SDK is a TypeScript toolkit from Vercel for building AI-powered applications and agents, providing a unified API for text generation, structured data, tool calling, and streaming across 100+ models from multiple providers. It includes framework-agnostic UI hooks for building chat and generative interfaces with React, Next.js, Vue, Svelte, and Node.js.
Use cases
- build a chatbot with streaming responses in nextjs
- call openai anthropic and gemini models through one unified api
- build ai agents with tool calling in typescript
- generate structured data from llm responses
- add a chat interface to a react or vue app
- switch llm providers with one line of code
- integrate model context protocol mcp tools
- build generative ui components powered by llms
When to choose
- you are building ai features in a typescript or javascript app
- you want provider-agnostic llm integration with streaming and fallbacks
- you need chat or generative ui hooks for react, next.js, vue, or svelte
- you are building agents with tool calling and workflow patterns
When to avoid
- you work primarily in python and want a mature sdk (the python version is still in beta)
- you need direct low-level control over a single provider's api
- you are building a non-javascript application
Facets
library · maturity active
llm-inference agent-framework rag prompt-engineering mcp chatbot sdk streaming web-framework artificial-intelligence large-language-models chatbots web-development frontend developer-tools browser cross-platform ai-sdk vercel nextjs react vue svelte multi-provider generative-ui tool-calling streaming ai-agents nodejs typescript web-server
3 sources
- readme: https://github.com/vercel/ai · fetched 2026-08-28 · 0f1402baf022
- homepage: https://ai-sdk.dev · fetched 2026-08-29 · 2f570e285a01
- site_page: https://ai-sdk.dev/docs · fetched 2026-08-29 · 6dcfa7274970
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vercel/ai | main | 92 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem