AI SDK
Freemium
Build AI apps in TypeScript with unified APIs for text generation, streaming responses, and multi-model support, using hooks for React, Vue, Svelte, and other frameworks.

infoAbout AI SDK
AI SDK is a TypeScript SDK for building AI-powered applications and agents, powered by Vercel. It provides a unified API for working with large language models from multiple providers. The SDK supports text generation, structured object generation, tool calls, and agent building. It includes AI SDK Core for backend operations and AI SDK UI for framework-agnostic frontend hooks to build chat interfaces. Key features include built-in streaming responses, automatic fallbacks for reliability, and the ability to switch between 100+ supported models with minimal code changes. The toolkit works with React, Next.js, Vue, Svelte, Angular, Node.js, Nuxt, and Solid. AI SDK integrates with Vercel AI Gateway for unified model access without managing multiple API keys, Vercel Sandbox for secure code execution, and Workflows for long-running agents that can suspend and resume. The SDK is framework-agnostic and designed for developers building conversational AI, generative interfaces, and autonomous agents. Weekly downloads exceed 34.5 million according to the vendor.
