Skip to main content
Watch: I Built an AI App Without Leaving Databricks

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

Quickstart

The first example from the official docs, unchanged. It may need an API key for the model provider it calls.

TypeScript
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',
});

Source: ai-sdk.dev/docs/agents/building-agents

Features

What the Vercel AI SDK (agents) docs say it supports. Not stated means the docs do not say either way.

Vercel AI SDK (agents) documented features, each with its source
FeatureValueSource
MCPYesai-sdk.dev/docs/ai-sdk-core/mcp-tools
Multi-agentYesai-sdk.dev/docs/agents/subagents
Durable executionYesai-sdk.dev/docs/agents/workflow-agent
Human in the loopYesai-sdk.dev/docs/agents/building-agents
StreamingYesai-sdk.dev/docs/agents/building-agents
Structured outputYesai-sdk.dev/docs/agents/building-agents
TracingYesai-sdk.dev/docs/ai-sdk-core/telemetry
MemoryYesai-sdk.dev/docs/agents/memory
EvalsNot statedDocs do not say
Model-agnosticYesai-sdk.dev/docs/introduction
LanguagesTypeScriptSee sources below
LicenseApache-2.0github.com/vercel/ai/blob/main/LICENSE
Latest TypeScript releaseai 7.0.143October 16, 2026github.com/vercel/ai/releases

Vercel AI SDK (agents) on Developers Digest

Compare Vercel AI SDK (agents)

FAQ

Does Vercel AI SDK (agents) support MCP?

Yes, per https://ai-sdk.dev/docs/ai-sdk-core/mcp-tools

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?

Yes, per https://ai-sdk.dev/docs/agents/workflow-agent

Does Vercel AI SDK (agents) support human-in-the-loop?

Yes, per https://ai-sdk.dev/docs/agents/building-agents

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.

Newsletter

Agent frameworks, every week

One email per week. Framework releases, new agent tooling and what they mean for what you build.