Agent framework - verified
Vercel AI SDK (agents): features, install and latest version
Vercel AI SDK (agents) is an AI agent framework maintained by Vercel. As its docs describe it: The AI SDK is Vercel's provider-agnostic TypeScript toolkit for building AI applications and agents, and its ToolLoopAgent class runs a language model with tools in a loop until a task is complete. It supports TypeScript. License: Apache-2.0. Latest release: TypeScript package ai 7.0.143 (October 16, 2026).
Homepage - Source on GitHub - License - In our tools directory
- Languages
- 1
- Latest TypeScript
- 7.0.143
- Released
- 2026-10-16
- Features documented
- 9 of 10
Install
Copied verbatim from the page linked under each command.
TypeScript
npm install aiSource: github.com/vercel/ai/blob/main/packages/ai/README.md
Quickstart
The first example from the official docs, unchanged. It may need an API key for the model provider it calls.
import { ToolLoopAgent, Output } from 'ai';
import { z } from 'zod';
const analysisAgent = new ToolLoopAgent({
model: "anthropic/claude-sonnet-5.5",
output: Output.object({
schema: z.object({
sentiment: z.enum(['positive', 'neutral', 'negative']),
summary: z.string(),
keyPoints: z.array(z.string()),
}),
}),
});
const { output } = await analysisAgent.generate({
prompt: 'Analyze customer feedback from the last quarter',
});Features
What the Vercel AI SDK (agents) docs say it supports. Not stated means the docs do not say either way.
| Feature | Value | Source |
|---|---|---|
| MCP | Yes | ai-sdk.dev/docs/ai-sdk-core/mcp-tools |
| Multi-agent | Yes | ai-sdk.dev/docs/agents/subagents |
| Durable execution | Yes | ai-sdk.dev/docs/agents/workflow-agent |
| Human in the loop | Yes | ai-sdk.dev/docs/agents/building-agents |
| Streaming | Yes | ai-sdk.dev/docs/agents/building-agents |
| Structured output | Yes | ai-sdk.dev/docs/agents/building-agents |
| Tracing | Yes | ai-sdk.dev/docs/ai-sdk-core/telemetry |
| Memory | Yes | ai-sdk.dev/docs/agents/memory |
| Evals | Not stated | Docs do not say |
| Model-agnostic | Yes | ai-sdk.dev/docs/introduction |
| Languages | TypeScript | See sources below |
| License | Apache-2.0 | github.com/vercel/ai/blob/main/LICENSE |
| Latest TypeScript release | ai 7.0.143October 16, 2026 | github.com/vercel/ai/releases |
Vercel AI SDK (agents) on Developers Digest
Compare Vercel AI SDK (agents)
FAQ
Does Vercel AI SDK (agents) support MCP?
Which languages does Vercel AI SDK (agents) support?
TypeScript. Published packages: ai (TypeScript).
How do I install Vercel AI SDK (agents)?
For TypeScript: "npm install ai", as shown at https://github.com/vercel/ai/blob/main/packages/ai/README.md. This page lists 1 install command, each copied from the linked source.
What is the latest version of Vercel AI SDK (agents)?
As of October 18, 2026: TypeScript package ai 7.0.143 (October 16, 2026), https://github.com/vercel/ai/releases?q=ai%407&expanded=false.
What license is Vercel AI SDK (agents) released under?
Apache-2.0. The license is at https://github.com/vercel/ai/blob/main/LICENSE.
Does Vercel AI SDK (agents) support durable execution?
Does Vercel AI SDK (agents) support human-in-the-loop?
Is Vercel AI SDK (agents) model-agnostic?
Yes, per https://ai-sdk.dev/docs/introduction
Which features does Vercel AI SDK (agents) document?
9 of the 10 tracked here: MCP, Multi-agent, Durable execution, Human in the loop, Streaming, Structured output, Tracing, Memory and Model-agnostic. Not stated in its docs: Evals.
Sources
Last verified from the pages below.
- AI SDK introduction - ai-sdk.dev
- Agents overview - ai-sdk.dev
- Building Agents - ai-sdk.dev
- Subagents - ai-sdk.dev
- Memory - ai-sdk.dev
- WorkflowAgent - ai-sdk.dev
- MCP - ai-sdk.dev
- Telemetry - ai-sdk.dev
- Testing (mock providers, not evals) - ai-sdk.dev
- GitHub README - github.com
- GitHub releases (ai@7) - github.com
- npm package - npmjs.com
Newsletter
Agent frameworks, every week
One email per week. Framework releases, new agent tooling and what they mean for what you build.