---
slug: "vercel-ai-sdk"
name: "Vercel AI SDK"
effect: "Gives TypeScript apps one API for text, structured output, tool-calling agents and chat UI hooks"
category: "agent-framework"
url: "https://ai-sdk.dev/"
github: "vercel/ai"
pricing: "open-source"
license: "Apache-2.0"
tags: ["typescript", "react", "nextjs", "streaming", "structured-output", "model-agnostic"]
platforms: []
install_kind: "npm"
date_added: "2026-10-14"
drop_score: 67
stars: 27320
pushed_at: "2026-10-15T01:01:39Z"
signals_status: "ok"
signals_fetched_at: "2026-10-15T01:19:06.303Z"
page: "https://agenttooldrop.com/tools/vercel-ai-sdk"
---

# Vercel AI SDK

Gives TypeScript apps one API for text, structured output, tool-calling agents and chat UI hooks

Category: Agent frameworks. Pricing: Open source. License: Apache-2.0.

## Why you would want it

The AI SDK is a provider-agnostic TypeScript toolkit with a unified API across providers such as OpenAI, Anthropic and Google. generateText covers text and Zod-typed structured output, ToolLoopAgent runs tool-calling agents, and AI SDK UI provides framework-agnostic hooks for chat and generative UIs in Next.js, React, Svelte and Vue. By default it routes model strings through the Vercel AI Gateway, and you can install provider packages to connect to providers directly.

## Best for

- Next.js and React apps
- Streaming chat UIs
- Switching model providers in TypeScript

## Use it when

You are building an AI feature or agent into a web app and want the model calls and the chat UI from one library.

## Skip it if

You are not on JavaScript or TypeScript; it needs Node.js 22+. If you do not want the default Vercel AI Gateway routing, plan to install provider packages such as @ai-sdk/openai.

## Install

Install with npm:

```sh
npm install ai
```

Source: https://github.com/vercel/ai#readme

## Live signals

Fetched 2026-10-15T01:19:06.303Z (status: ok).

- Repository: vercel/ai
- Stars: 27,320
- Forks: 5,335
- Open issues and PRs: 1,369
- License (GitHub): NOASSERTION
- Last push: 2026-10-15
- Latest release: @ai-sdk/workflow-harness@1.0.151 (2026-10-14)

## Links

- Website: https://ai-sdk.dev/
- GitHub: https://github.com/vercel/ai
- Install instructions verified at: https://github.com/vercel/ai#readme
- Source for this entry: https://github.com/vercel/ai#readme
- AgentToolDrop page: https://agenttooldrop.com/tools/vercel-ai-sdk
- Full catalog (JSON): https://agenttooldrop.com/tools.json
