Source: AI SDK 7 is now available (Vercel changelog)
Vercel's announcement of AI SDK 7 (2026-06-25): tool approvals, durable WorkflowAgent, timeouts, sandboxes, harness adapters, reasoning control, and Node 22/ESM-only requirements.
Contents
- What: Vercel changelog post announcing AI SDK 7
- Publisher: Vercel
- Date: 2026-06-25
- Original: vercel.com/changelog/ai-sdk-7
Summary
AI SDK 7 repositions the SDK from model calls and chat primitives to an agent platform for developing, running, integrating and observing agents across text, audio, realtime, image and video.
Key claims
- Breaking requirements: Node.js 22 minimum and ESM only (no CommonJS
require()); codemods (npx @ai-sdk/codemod v7) and a migration guide are provided. - A top-level
reasoningoption maps to provider-native reasoning settings across OpenAI, Anthropic, Google, Groq, xAI, Bedrock, DeepSeek and others; exact behaviour varies by provider. - Typed
runtimeContextand scoped per-tooltoolsContext, so third-party tools receive only the secrets they need. - Tool approval policies (require user approval, auto-approve, auto-deny, or a typed function) at call or agent level; optional HMAC signing binds approved tool inputs to the approval token.
@ai-sdk/workflowaddsWorkflowAgent, which persists execution state between steps so agents survive deploys, restarts and delayed approvals.- First-class timeouts: total, per-step, per-chunk, default-tool and per-tool budgets, raising
TimeoutError. - Sandbox abstraction for command execution;
HarnessAgentadapters for Claude Code, Codex, Deep Agents, OpenCode and Pi. uploadFileanduploadSkillreuse provider-side file and skill references; MCP Apps support;@ai-sdk/tuiterminal UI; redesigned OpenTelemetry telemetry (@ai-sdk/otel).