AI NewsDev toolsAnnouncement

Vercel releases AI SDK 7.1 with mid-turn steering and code mode

Vercel released AI SDK 7.1. The release adds controls for long-running agents, five new harness adapters, typed decisions, batch jobs, streaming audio and durable workflows.

AI News

Editorial2 min read

LinkedInX
AI SDK 7.1 release announcement

Why it mattersA team cannot steer a running agent without rewriting its loop. The 7.1 controls move that work out of the team's own code.

An agent that runs for an hour is a fresh set of problems. A small SDK did not have to answer them. Vercel released AI SDK 7.1 today. The release is nine groups of controls for the agents teams built on version 7.

The nine groups are harnesses and tools, typed decisions, batch processing, and steering. Then realtime and streaming audio, code mode and tool search, and async video generation. Last are agent and streaming controls, and durable agents. The author is Gregor Martynus. Vercel also set a cadence going forward. The team will release a minor version each month, and one major version a year. Each prior major version gets one year of full support, then six more months of security fixes.

The controls that change a day

Steering is the one most teams will reach for first. A team can correct or queue a follow-up on a running agent through generateText, streamText and ToolLoopAgent. Mid-turn steering is also available for Codex. Before 7.1, a team wanting this had to stop the run and start again.

The release adds five new harness adapters for coding agents: Cline, Cursor, fx, GitHub Copilot and Grok Build. Vercel adds two tools that work with any provider: bash and web fetch. An agent can run the same two actions across every model the SDK supports. The typed decision call, experimental_decide, takes four kinds of question. Those are choice, score, boolean and bounding box.

Three for long jobs

Batch processing runs text and image generation in the background. Code mode and tool search mean the agent can be given a sandbox. It can reach for a tool only when it needs it, instead of holding a full list in context. Async video adds start and status calls. It also takes frame and reference inputs. A call that takes minutes is not held open.

Streaming controls in the same release cap tool call concurrency. They set per-step call settings. They add step error callbacks and a first-content timeout. They also add stream retries and a low-memory streaming mode. Durable agents can now call WorkflowAgent.generate() without streaming, and every durable run gets its own OpenTelemetry trace.

What the audio and durable pieces add

Realtime audio covers streaming speech, transcription and translation. It supports continuous realtime sessions and a WebSocket transport for useChat. A team that was sending audio in chunks and waiting for the full file gets a lower first-word time. Durable agents pair with the new tracing. A run that fails at step seven of ten can be read and fixed.

The release notes are Vercel's own, on its own product. The numbers in the field will come in weeks. For a team building on this SDK, the 7.1 upgrade is a set of controls. They used to live in the team's own code. Now they do not.

Source

Vercel, AI SDK 7.1.

SourceVercel

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

Share
LinkedInX
Start a project