← Registry
CLI Official

AI SDK

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

Install

npm install ai
$

A TypeScript toolkit for building AI apps and agents. AI SDK Core gives you one unified API for generating text, structured objects, and tool calls across 100+ models from Anthropic, OpenAI, Google, and others, while AI SDK UI ships framework-agnostic hooks for chat and generative interfaces. Reach for it when you want to stream responses, swap providers in a line, or build agentic flows without provider-specific glue.