← all repositories

vercel/ai

Provider-agnostic TypeScript SDK from Vercel for building AI-powered applications and agents across Next.js, React, Svelte, Vue, and Node.js.

24.7k stars TypeScript Language ModelsCoding Assistants
ai
Velocity · 7d
+22
★ / day
Trend
steady
star history

The AI SDK provides a unified API for interacting with multiple LLM providers including OpenAI, Anthropic, and Google Gemini. It offers core functions like generateText and streamText for text generation, with built-in support for AI agents, tool calling, and multi-step workflows. The library is designed for TypeScript/JavaScript developers building AI features in web applications and supports major UI frameworks and runtimes.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.