Vercel releases AI SDK 7 with new tools for managing AI agents
Vercel has released version 7 of the AI SDK, its TypeScript toolkit for building AI applications and agents, which sees more than 16 million downloads a week. The release adds one-line reasoning control, typed context for tools, support for MCP Apps and a terminal interface, durability via WorkflowAgent, timeouts and sandboxing, integration with Codex, Claude Code, OpenCode, and other agent harnesses, plus voice and video capabilities.
AI-processed from Vercel Blog; edited by Hamidun News
Vercel has released version 7 of the AI SDK, its open-source TypeScript toolkit for building AI applications and agents. The SDK sees more than 16 million downloads a week and also powers eve, Vercel's open-source agent framework. The release adds reasoning control, support for MCP Apps, and a push beyond text-only agents into voice and video.
What's new for building agents
AI SDK 7 standardizes reasoning control. Most top models support configurable reasoning, but every provider exposes it through a different API. Now the reasoning option in the generateText and streamText functions takes a single line of code (for example, reasoning: 'high') and maps automatically to each provider's native settings. Developers who need finer control can still set provider-specific parameters manually.
- More than 16 million AI SDK downloads per week
- A single reasoning option replaces each model's provider-specific settings
- Typed toolsContext: data such as API keys is passed to a specific tool via contextSchema, without entering the model's prompt or leaking to other tools
- Upgrade with pnpm add ai@latest; migrate from version 6 with npx @ai-sdk/codemod v7 or the skill npx skills add vercel/ai --skill migrate-ai-sdk-v6-to-v7
What's new for running and observing agents
Beyond development, AI SDK 7 expands what's available for running agents in production: approval for tool calls, fault tolerance via WorkflowAgent, timeouts, and support for sandbox environments. The SDK can also integrate with any third-party agent harness, including Codex, Claude Code, Deep Agents, OpenCode, and Pi.
To monitor agent behavior, the release adds telemetry, a Node.js tracing channel, lifecycle events, and performance statistics. Finally, AI SDK 7 moves beyond text-only agents with provider-agnostic support for real-time voice agents and video generation.
What it means
AI SDK 7 shows where agent tooling is heading: away from simple prompt-based prototypes and toward production components with reasoning control, auditable tool access, fault tolerance, and full telemetry. Without these, an agent can't safely be put in front of real users.
FAQ
How do I upgrade from AI SDK 6 to AI SDK 7?
You can run the automated migration with npx @ai-sdk/codemod v7, which rewrites your code with minimal changes, or use the skill: npx skills add vercel/ai --skill migrate-ai-sdk-v6-to-v7.
What is toolsContext in AI SDK 7?
It's a typed context defined separately for each tool via contextSchema. For example, an API key is passed directly to the tool's exec function rather than through the model's prompt, and other tools can't see that context.
Which agent frameworks does AI SDK 7 support?
The SDK can integrate with any agent harness, including Codex, Claude Code, Deep Agents, OpenCode, and Pi.
- Nov 1, 2026Local models lose to Opus and Codex: 0.21 on a MacBook versus 1.00 for Codex
- Nov 1, 2026Kimi scores 96.2% on a 1C database analytics test and emerges as a fallback if Claude access is blocked
- Nov 1, 2026OpenAI Rewrites GPT Behavior Rules: Five Values and a Chain of Command
- Nov 1, 2026Google admits AI Mode cuts search revenue, shares fall 15%
Key Questions Answered
How do I upgrade from AI SDK 6 to AI SDK 7?
You can run the automated migration with npx @ai-sdk/codemod v7, which rewrites your code with minimal changes, or use the skill: npx skills add vercel/ai --skill migrate-ai-sdk-v6-to-v7.
What is toolsContext in AI SDK 7?
It's a typed context defined separately for each tool via contextSchema. For example, an API key is passed directly to the tool's exec function rather than through the model's prompt, and other tools can't see that context.
Which agent frameworks does AI SDK 7 support?
The SDK can integrate with any agent harness, including Codex, Claude Code, Deep Agents, OpenCode, and Pi.
Build & Ship Production AI Agents Without Boilerplate Code
Start your free 72-hour trial at Hamidun Academy (academy.hamidun.com) — interactive lessons on Claude Code & Cursor, live Tech Radar, and production agent templates.
The AI world, distilled — once a week
Seven stories that actually mattered, hand-picked. No noise, no reposts, no press releases.
Done! Check your inbox for a confirmation.