Icon for Vercel AI SDK

Vercel AI SDK

Open-source TypeScript toolkit for building AI applications with streaming, tool calling, and agents

Open Source

The Vercel AI SDK is a TypeScript toolkit for building AI-powered applications. It provides a unified API for integrating with any LLM provider (OpenAI, Anthropic, Google, etc.), with support for streaming text generation, structured outputs via Zod, embeddings, and tool calling. Frontend hooks like useChat and useCompletion simplify building chat interfaces in React, Next.js, Vue, and Svelte. AI SDK 6 added agent support with tool execution approval, MCP integration, and DevTools. Over 20 million monthly npm downloads.

Pricing: Free

Screenshot of Vercel AI SDK webpage

Is your product missing? 👀 Add it here →