AI Development Kit
23.8k 2026-04-26
vercel/ai
A provider-agnostic TypeScript toolkit for building AI-powered applications and agents with popular UI frameworks and runtimes.
Core Features
Unified API for major LLM providers (OpenAI, Anthropic, Google).
Supports text generation and structured data output using Zod schemas.
Enables building AI agents with integrated tools (e.g., shell, image generation).
Offers framework-agnostic UI hooks for seamless integration into React, Next.js, Svelte, and Vue applications.
TypeScript-first design ensures type safety and developer experience.
Quick Start
npm install aiDetailed Introduction
The AI SDK is a robust, open-source TypeScript library from Vercel, designed to streamline the development of AI-powered applications and agents. It provides a unified, provider-agnostic API to interact with various large language models (LLMs) like OpenAI, Anthropic, and Google. With support for popular UI frameworks and runtimes, developers can easily generate text, structured data, and build sophisticated agents with integrated tools, accelerating the creation of intelligent, interactive user experiences.