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
Vercel AI SDK is a provider-agnostic TypeScript toolkit for building AI apps and agents: unified model APIs, streaming text, structured output, tool loops, and framework-agnostic UI hooks for React, Next.js, Svelte and Vue.
Use Cases
Build LLM chat interfaces with streamingCreate tool-calling agents (ToolLoopAgent)Generate structured/typed data from prompts via Zod schemasGenerative UI components driven by model outputImage generation agent workflowsSwitch between OpenAI, Anthropic, Google and other providers with one APIFramework-agnostic React/Svelte/Vue chat hooksAdd AI SDK skill to Claude Code/Cursor projects
Built With
- Language
- TypeScript
- Frameworks
- Next.js · React · Svelte · Vue · Angular · Node.js · Zod · Turborepo
Tags
typescript · ai-sdk · llm · provider-agnostic · agents · tool-calling · streaming · generative-ui · structured-output · embeddings · react · nextjs · vercel · multi-provider · chat-ui · zod