Skip to main content

Chat SDK now includes AI SDK tools

By Steven Van ·

Presets and a requireApproval gate scope what chat agents can read or write, with the old top-level chat exports now deprecated.

Chat SDK, part of Vercel, now ships a built-in AI SDK toolset through a new chat/ai subpath. One createChatTools(chat) call wires the SDK's read and write actions, posting messages, sending DMs, reacting, editing, deleting, and managing subscriptions, into an AI SDK agent.

  • Write tools are gated by a requireApproval option, so approval is on by default.
  • Three presets, reader, messenger, and moderator, scope which tools an agent gets, and only the tools a preset allows are constructed.
  • toAiMessages and its supporting types have moved to chat/ai. The old chat re-exports still work but are now flagged @deprecated, and migrating is a one-line import change.
Vercel
Vercel
The platform for frontend developers — deploy, preview, and scale web apps and AI agents with zero config.
View Vercel →

Read the original announcement →

Read Chat SDK now includes AI SDK tools on Creators Toolbox