Vercel
AI SDK (Agents)
TypeScript toolkit for LLM apps whose Agent abstractions add tool loops, subagents, tool approvals and durable workflow agents.
Install
Run in your terminal
npm install ai
Latest version read from npm package ai.
Multi-agent patterns
Handoffs
One agent passes the conversation to another agent, which takes over.
Not shown in the docs.
Subagents / agents as tools
A main agent calls other agents like tools and gets their result back, each with its own context.
How AI SDK (Agents) does itGraph or workflow
You define steps and edges (or a workflow), and the framework runs agents and functions through them.
How AI SDK (Agents) does itGroup chat / crew
Several agents with roles work together on a task, coordinated by a manager or a selection rule.
Not shown in the docs.
Human in the loop
The run pauses for a person to approve, edit or answer before it continues.
How AI SDK (Agents) does itProtocols and hosting
Hosted runtime
Self-hosted only (none documented)
Questions
Does AI SDK (Agents) support MCP?
Yes. AI SDK (Agents)'s documentation shows agents using tools from MCP servers.
Does AI SDK (Agents) support the A2A protocol?
Its documentation does not cover A2A as of 2026-10-07.
What multi-agent patterns does AI SDK (Agents) support?
The docs show: subagents / agents as tools, graph or workflow, human in the loop.
Links
Alternatives in the same languages
Get the weekly agent stack update
New official MCP servers, spec changes and harness releases, checked against the source. One email a week, no fluff.
Reviewed Oct 7, 2026.