Vercel AI SDK
TypeScript toolkit for AI apps and agents with a unified provider API, streaming, UI hooks and a wrapper for running established agent harnesses.
Harness by Vercel
Install
From the package registry. Read the repository before you give any tool access to your data.
npm install ai
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend-development, agent-orchestration
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Fact sheet
- Languages
- TypeScriptai-sdk.dev
- Packages
- ai (npm)ai-sdk.dev
- Streaming
- Yesai-sdk.dev
- Model providers
- openai, anthropic, google, xai, azure-openai, aws-bedrockai-sdk.dev
- Maturity
- Stablegithub.com
Facts extracted by Claude Sonnet 5.5 from the linked sources on Oct 24, 2026; reviewed Oct 24, 2026. Wrong fact? Tell us.
Alternatives
Frameworks for the same language with a similar way of orchestrating agents.
- 0.867score
Pi Agent Core
Earendil
Minimal TypeScript agent harness with an agent runtime, multi-provider LLM API, terminal UI and coding agent CLI that users extend themselves.
HarnessAFreshness: A★ 117.6K↓ 5.1M/wk - 0.831score
CopilotKit
CopilotKit
Open-source SDK that connects AI agents to app front ends with chat UI, generative UI, shared state and human approvals; creator of the AG-UI protocol.
HarnessAFreshness: A★ 38.2K↓ 286.2K/wk - 0.740score
Deep Agents
LangChain
Opinionated agent harness on LangGraph with sub-agents, filesystem access, context management, persistent memory and approval of tool calls.
HarnessAFreshness: A★ 30.6K↓ 1.9M/wk - 0.737score
Mastra
Mastra
TypeScript framework for AI agents and apps with graph-based workflows, memory, suspend-and-resume approvals, MCP servers and model routing.
HarnessAFreshness: A★ 29.1K↓ 1.4M/wk - 0.731score
stagehand
browserbase
SDK for browser agents with act, observe and extract calls, used from TypeScript and Python to automate sites and pull out structured data.
HarnessAFreshness: A★ 25.8K↓ 996K/wk
Compare and alternatives
- Deep Agents vs Vercel AI SDK
- LangGraph.js vs Vercel AI SDK
- OpenAI Agents SDK (JavaScript) vs Vercel AI SDK
Featured in
Signals
- Stars
- 27,492
- Forks
- 5,428
- Open issues
- 497
- Last commit
- Oct 23, 2026 (3 days ago)
- Last release
- Oct 23, 2026 (3 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Packages
- npm
ai - License
- Other
- Repository
- github.com/vercel/ai
- Website
- ai-sdk.dev/
- Docs
- ai-sdk.dev/docs
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
More from Vercel
- 0.726score
Vercel Workflow
Vercel
Makes ordinary TypeScript async functions durable, with suspend, resume and retries.
InfrastructureAFreshness: A★ 2.5Kdurable execution - 0.671score
Vercel Sandbox
Vercel
Isolated Linux microVMs for running agent-generated or untrusted code, driven by an SDK and CLI.
InfrastructureAFreshness: A★ 215sandbox - 0.597score
Vercel AI Gateway
Vercel
Managed gateway with one API key for 400+ models across providers, with fallbacks and no token markup.
InfrastructureAFreshness: Agateway - 0.592score
Vercel
Vercel
Platform for deploying apps and AI agents, with an AI Gateway, sandboxes and fluid compute.
InfrastructureAFreshness: Ahosting - 0.450score
Vercel Agent
Vercel
Vercel's agent that investigates production issues and reviews code, asking for approval before it takes actions.
AgentCFreshness: C - 0.450score
v0
Vercel
Vercel's prompt-driven agent that creates UIs and full-stack apps and can deploy them or open a pull request
AgentCFreshness: C
Cite this page
Vercel AI SDK. Agent Mart. https://agentmart.dev/harnesses/vercel-ai-sdk (last updated 2026-10-24)