Vercel's Chat SDK now ships a web adapter, letting developers build browser-based chat interfaces, support agents, and in-product assistants that connect directly to the SDK.
The implementation is two-sided: define the bot logic server-side, then stream responses to the browser using the useChat hook from @ai-sdk/react. No custom streaming plumbing required.
The full documentation lives at chat-sdk.dev/adapters/web. Worth reading for the adapter architecture, the list of supported adapters beyond web, and the build-your-own guide if you need something the defaults do not cover.
[READ ORIGINAL →]