i ideas / repo launcher
vercel avatar

vercel/ai

★ 27,870TypeScriptOther90

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

What it is

The AI SDK is a provider-agnostic TypeScript toolkit designed to help you build AI-powered applications and agents using popular UI frameworks like Next.js, React, Svelte, Vue, Angular, and runtimes like Node.js. To learn more about how to use the AI SDK, check out our API Reference and Documentation.

When to use it

Reach for ai when you need to call, serve, run locally, fine-tune or chat with a language model — it's written in TypeScript and fits stacks tagged anthropic, ai, gemini, generative-ai.

Category
LLM & Inference
Also in
Frontend Frameworks
Stars
27,870
Forks
5,581
Last push
today
Created
2023-05-23
Open issues
1,563
Website
ai-sdk.dev

Quick start

$ git clone https://github.com/vercel/ai.git

Hand it to your AI

Read https://ideas.asveas.com/r/vercel/ai.md and help me add vercel/ai to my project. Explain the setup steps for my stack and show the minimal code to get it working.

Alternatives to ai

All LLM & Inference →

Pairs well with

FAQ

What is ai?

vercel/ai is a LLM tool on GitHub: 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 The AI SDK is a provider-agnostic TypeScript toolkit designed to help you build AI-powered applications and agents using popular UI frameworks like Next.js, React, Svelte, Vue, Angular, and runtimes like Node.js.

When should I use ai?

Reach for ai when you need to call, serve, run locally, fine-tune or chat with a language model — it's written in TypeScript and fits stacks tagged anthropic, ai, gemini, generative-ai.

What are the best alternatives to ai?

Popular alternatives in LLM & Inference: ollama/ollama (187k★), huggingface/transformers (169k★), open-webui/open-webui (158k★), langflow-ai/langflow (157k★), vllm-project/vllm (96.8k★).

Is ai actively maintained?

vercel/ai looks very actively maintained: the last push was today (2026-11-11), with 27,870 stars and 1,563 open issues.

What license does ai use?

vercel/ai is published under the Other license. Check the repository's LICENSE file before commercial use.