AI SDK (Vercel)

TypeScript toolkit for building AI features in web apps, with a unified provider API and React/Svelte/Vue UI hooks for streaming chat.

The AI SDK standardises text generation, structured output, tool calling and embeddings across many model providers behind one TypeScript API. Its UI packages provide hooks for streaming chat and generative interfaces in popular front-end frameworks. It is open source and works on any Node or edge runtime, not only Vercel.

Type
SDK
Category
AI & ML
Maintainer
Vercel
First released
2023
License
Open source (Apache-2.0)
Pricing
Open source
Level
Intermediate
Technologies
typescript, javascript, react, nextjs, llm
GitHub stars
28,391
Weekly downloads
48,390,104 (npm)
Latest release
[object Object]
Last verified
26 Nov 2026

What AI SDK (Vercel) is used for

  • Chat UIs in Next.js or other frameworks
  • Provider-agnostic LLM calls from Node
  • Generative UI

Strengths

  • Excellent streaming UX helpers
  • Unified provider interface
  • TypeScript-first

Limitations

  • JavaScript/TypeScript only
  • Less focused on complex RAG pipelines

AI SDK (Vercel) alternatives

How it relates to other tools

Built with the same technologies

Official links

Sources

Explore