Chat SDK now includes AI SDK tools Chat SDK now includes a built-in AI SDK toolset accessible via the new `chat/ai` subpath, enabling developers to integrate read and write actions into their agents with a single `createChatTools(chat)` call. The toolset features approval-gated write tools, presets for reader, messenger, and moderator roles, and lazy loading of tools based on the selected preset. The `toAiMessages` function and its supporting types have moved to `chat/ai`, with previous `chat` re-exports now deprecated. Chat SDK now ships a built-in AI SDK https://ai-sdk.dev/docs/foundations/tools toolset through the new chat/ai subpath. One createChatTools chat call wires Chat SDK's read and write actions into your agent. Approval by default: write tools are gated by a requireApproval option. Presets: reader , messenger , and moderator scope the toolset. Lazy loading: only the tools your preset allows are constructed. toAiMessages and its supporting types have moved to chat/ai . The previous chat re-exports are flagged @deprecated . Read the documentation https://chat-sdk.dev/docs/ai to get started, or try one of our templates https://chat-sdk.dev/resources .