FrameworksOfficial

AI SDK 7.0.173 freezes approved tool arguments and adds workflow approval policy plus layered timeouts

Vercel released AI SDK 7.0.173 on November 13. It prevents schema validation or input refinement from mutating approved tool arguments in place during approval replay. WorkflowAgent also gains toolApproval that can override a tool's needsApproval setting, plus total, step, first-chunk, and inter-chunk timeouts.

Why it matters

A generative-UI confirmation surface must execute the same arguments the user approved. In-place mutation during replay can split what the interface displayed from what runs. Workflow-level approval and layered timeouts let the host separately govern side effects and unresponsive model steps.

A closer look

toolApproval can be set on the constructor or individual generate/stream calls and takes precedence over a tool's needsApproval. Denied calls receive an execution-denied result without pausing the workflow; approved calls run in the same step. timeout accepts totalMs, stepMs, firstChunkMs, and chunkMs. Invalid values are rejected, and a timeout ends a model step even when a provider stream ignores the abort signal. prepareStep instructions, providerOptions, and headers are also aligned with ToolLoopAgent.

Who this is for

Agent-platform, frontend, and security teams using AI SDK 7, WorkflowAgent, tool approval, or streamed generative UI.

Original sources

Revisions & corrections (1)

— New official immutable release after the previous successful collection.

Related events

Frameworks

AG-UI LangGraph 0.0.46 reads native interrupt schemas, unwraps serialized tool results, and declares protocol version at run start

AG-UI released @ag-ui/langgraph 0.0.46 on November 13. The adapter reads Interrupt.response_schema on LangGraph 1.2.12 and later while retaining value-level fallbacks. It also unwraps outputs from serialized LangChain ToolMessage kwargs, skips tool-end events without a call ID, and declares protocolVersion on RUN_STARTED.

Frameworks

assistant-ui's November 13 releases extend durable AG-UI across history ownership, concurrent threads, and cross-worker cancellation

assistant-ui released @assistant-ui/react-ag-ui 0.1.10 and Python assistant-stream 0.0.38 on November 13. Frontend fixes cover persistence of snapshot-selected answers, joined-step ordering, unique tool-call ownership, and streamless resume. The server adds compare-and-set thread claims, per-run context, SSE keepalive, and cross-worker cancellation.