Skip to content

Vercel AI SDK

An open source library for building AI-powered user interfaces.

The Vercel AI SDK is an open-source library designed to help developers build conversational streaming user interfaces in JavaScript and TypeScript. The SDK supports React/Next.js, Svelte/SvelteKit, and Vue/Nuxt as well as Node.js, Serverless, and the Edge Runtime (opens in a new tab).

Templates & Examples

You can also clone or deploy a Vercel AI SDK starter repository to get a head start on your AI journey. For even more examples and starters, see the Vercel AI SDK examples directory on GitHub (opens in a new tab).

Next.js OpenAI Starter

Next.js OpenAI Starter

Starter template for building AI-powered chat with Next.js (opens in a new tab), OpenAI (opens in a new tab), and the Vercel AI SDK (opens in a new tab)

SvelteKit Starter

SvelteKit OpenAI Starter

Starter template for building AI-powered chat with SvelteKit (opens in a new tab), OpenAI (opens in a new tab), and the Vercel AI SDK (opens in a new tab)

Nuxt Starter

Nuxt OpenAI Starter

Starter template for building AI-powered chat with Nuxt (opens in a new tab), OpenAI (opens in a new tab), and the Vercel AI SDK (opens in a new tab)

Next.js Hugging Face Starter

Next.js Hugging Face Starter

Starter template for building AI-powered chat with Next.js (opens in a new tab), Hugging Face (opens in a new tab), and the Vercel AI SDK (opens in a new tab)

Next.js Starter

Next.js LangChain Starter

Starter template for building AI-powered chat app with Next.js (opens in a new tab), LangChain (opens in a new tab), and the Vercel AI SDK (opens in a new tab)

Nuxt Starter

Nuxt LangChain Starter

Starter template for building AI-powered chat app with Nuxt (opens in a new tab), LangChain (opens in a new tab), and the Vercel AI SDK (opens in a new tab)

Integrations


© 2023 Vercel Inc.