On this page

On December 3, 2026, Vercel shipped AI SDK 7.1, followed a day later by OIDC token exchange in the Vercel CLI (December 4). While AI SDK 7.0 established the building blocks for end-to-end TypeScript agents, 7.1 focuses squarely on day-two production pain: steering runs that drift off course, keeping massive tool catalogs out of prompt bloat, standardizing across competing coding-agent harnesses, and giving platform teams a predictable release calendar.

One caveat deserves top billing before you rewrite core services: most of the headline features ship behind experimental_ prefixes, meaning signatures can still tighten across monthly minors. Separating production-ready governance changes from experimental runtimes is the best way to adopt 7.1 cleanly.

Five high-leverage additions across 7.1's nine categories

Vercel grouped AI SDK 7.1 into nine areas. For teams already running multi-step agents in production, five changes immediately cut boilerplate and token waste:

  • HarnessAgent expands to eight coding runtimes: Building on Claude Code, Codex, and Pi from 7.0, five new adapters—Cline, Cursor, fx, GitHub Copilot, and Grok Build—normalize sessions, stream events, tools, and usage behind a single HarnessAgent contract. The Codex adapter also wires into the Codex app-server so you can call experimental_steer mid-turn without waiting for a generation to finish.
  • In-flight steering and follow-up queuing: Instead of aborting a long loop or waiting for a misguided turn to complete, experimental_createSteering() lets generateText, streamText, and ToolLoopAgent accept steer() messages at the next step boundary without killing active tool calls, plus queue() for follow-ups once the current task finishes. Both resolve with delivery status and accept a caller-supplied id for idempotent retries.
  • QuickJS Code Mode plus deferred tool search: Alongside provider-independent first-party tools (@ai-sdk/tool-bash inside a sandbox session and @ai-sdk/tool-web-fetch with domain allow/blocklists), toolSearch() pairs with deferLoading: true so models discover tools on demand instead of stuffing every schema up front. For multi-tool fan-outs, @ai-sdk/code-mode lets the model emit JS/TS executed in an isolated QuickJS sandbox, calling tools concurrently and filtering bulky payloads before returning a compact summary to context.
  • Multi-question typed routing via experimental_decide: Ticket triage, severity scoring, and refund intent checks collapse into one call over a shared text/JSON/file state, returning typed choice unions, scores, booleans (with probability estimates for threshold routing), and bounding boxes—routing to native decision models like openai/gpt-6-luna-decisions where available or falling back to standard LLMs.
  • Streaming audio, persistent WebSockets, durable traces, and CLI OIDC: experimental_streamSpeech pipes streamText's textStream directly into audio output before text finishes; streamTranscription and streamSpeechTranslation cover live audio; WebSocketChatTransport gives useChat one persistent connection with sequence-based resume; and WorkflowAgent.generate() collapses multi-process durable runs into a single OpenTelemetry trace. Separately on December 4, Vercel CLI OIDC (configured via vercel oidc-policies) lets GitHub Actions and trusted CI workloads exchange short-lived Workload Identity Federation tokens instead of storing long-lived Personal Access Tokens (PATs).
Figure 1: Overview of Vercel AI SDK 7.1's nine control categories alongside Dec 4 Vercel CLI OIDC support
Figure 1: Overview of Vercel AI SDK 7.1's nine control categories alongside Dec 4 Vercel CLI OIDC support

Image source: DigIntoAI summary compiled from Vercel AI SDK 7.1 Blog (Dec 3) and CLI OIDC Changelog (Dec 4, 2026)

A fixed release calendar—and an imminent AI SDK 5 deadline

Tucked near the top of the announcement is a lifecycle commitment that matters more to engineering managers than any single API:

  • Monthly minors, annual June majors: Minor releases ship on the Monday closest to the 1st of every month (skipping January); one major release lands every June in place of that month's minor.
  • 12 + 6 support window and concrete EOL dates: Prior majors receive one year of full bug-fix backports followed by six months of critical security patches only. Under that schedule, AI SDK 5 support ends at the end of 2026, and AI SDK 6 ends on June 1, 2027. Any production service still pinned to 5.x has weeks, not quarters, left on official patches.
Figure 2: AI SDK 5–8 fixed support and EOL timeline (left) plus four production boundaries to check before adopting 7.1 (right)
Figure 2: AI SDK 5–8 fixed support and EOL timeline (left) plus four production boundaries to check before adopting 7.1 (right)

Image source: DigIntoAI chart compiled from Vercel official documentation (Dec 3–4, 2026)

Four operational boundaries to respect in production

  • Isolate experimental_ APIs behind thin wrappers: Steering, decide, batch processing, code mode, and streaming speech are still prefixed experimental_. Wrap them locally so monthly 7.x signature cleanups do not ripple across application code.
  • Batch jobs never execute client tools: experimental_startBatch spans AI Gateway, Anthropic, Google, OpenAI, and xAI and accepts tool schemas on text requests, but client tool calls are simply returned in batch output for your own orchestration layer to handle.
  • Scope Code Mode tools explicitly: Even with QuickJS isolation, always split write-capable tools cleanly via experimental_toolCallers (code_mode vs. DIRECT_TOOL_CALL) and enforce strict executionPolicy timeouts.
  • Audit CI commands before deleting Vercel PATs: Vercel explicitly cautions that some CLI commands still require a user token even after enabling OIDC policies—test every deployment and preview script before revoking legacy PATs.