Yesterday's Top Poster

Chat SDK now includes AI SDK tools

  • Thread starter Thread starter Ben Sabic, Josh Singh
  • Start date Start date
Chat SDK now ships a built-in AI SDK 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 to get started, or try one of our templates.



Read more

Continue reading...
 
Back
Top