Chat SDK now supports Vue and Svelte
The Chat SDK adds first-class support for Vue and Svelte frameworks alongside React, allowing developers to build chat UIs with their framework of choice while using the same server setup. Each framework provides its own useChat helper with reactive instances for seamless template integration.
The Chat SDK now has first-class support for Vue and Svelte, joining the existing React integration. Because the adapter speaks the , the same server route works. Each framework ships its own , built on the matching AI SDK package for React, Vue, or Svelte.web adapterAI SDK UI message stream protocoluseChat
The Vue and Svelte helpers return a reactive instance, so read and directly in your template rather than destructuring. The and options match the React wrapper, and your server setup remains the same.Chatchat.messageschat.statusapithreadId
Read the to get started or browse the .documentationadapters directory
Source: original entry ↗