# AI SDK 5

By Steven Van · 2025-07-31

Vercel's AI SDK 5 adds a fully typed chat integration for React, Svelte, Vue and Angular, plus agentic loop control and Zod 4 support.

[Vercel](<https://creatorstoolbox.com/tools/vercel>) has released **AI SDK 5**, rebuilding chat from the ground up with what it calls the first fully typed, customizable chat integration for React, Svelte, Vue and Angular. Every piece of data, tool call, and metadata is now typed end to end from server to client.

- **Redesigned chat:** a new UIMessage type acts as the source of truth for persisted chat history, while a separate ModelMessage type is the streamlined format sent to language models, converted explicitly with convertToModelMessages.

- **Customizable UI messages:** developers can define their own message shape, including metadata, data parts, and tools, and pass it as a generic to both useChat on the client and createUIMessageStream on the server.

- **Data parts:** a typed way to stream arbitrary data, such as status updates or partial tool results, from server to client, with support for transient parts that update the UI without being saved to message history.

- **Type-safe tool invocations:** tool calls now produce type-specific parts like tool-TOOLNAME instead of generic tool-invocation parts, giving typed input and output.

- The release also adds agentic loop control, speech generation and transcription, tool improvements, V2 provider specifications, global provider access, raw response access, and Zod 4 support.

Full details are in the [original announcement](<https://vercel.com/blog/ai-sdk-5>).

![Vercel](<https://www.google.com/s2/favicons?domain=vercel.com&sz=128>)

Vercel

The platform for frontend developers — deploy, preview, and scale web apps and AI agents with zero config.

[View Vercel →](<https://creatorstoolbox.com/tools/vercel>)

[Original source](<https://vercel.com/blog/ai-sdk-5>)

[Read AI SDK 5 on Creators Toolbox](<https://creatorstoolbox.com/blog/vercel-ai-sdk-5>)

---
Canonical source: https://creatorstoolbox.com/blog/vercel-ai-sdk-5
