The web adapter for Chat SDK brings your agent to the browser. Define a bot on your server, then stream agent responses with @aisdk's ๐๐๐๐ฒ๐๐๐ hook. https://t.co/LKvMe52O3h
Vercel Chat SDK Adds Web Adapter to Bring Agents into the Browser
VercelVercel updated its Chat SDK with a new web adapter that allows developers to stream agent responses directly into React applications using the standard useChat hook. This update enables teams to maintain a single backend for AI assistants that live simultaneously on their own websites and third-party platforms like Slack or Messenger.
useChat hook (a React utility for managing conversational state).This shift unifies in-product assistants with third-party bots. Previously, developers often maintained separate logic for their website's chat widget and Vercel's multi-platform agentic bots. By centralizing event handlers, teams can now deploy consistent agent behavior across Slack, Discord, and their own web properties without duplicating code.
You can implement the web adapter by importing createWebAdapter and wiring it into your server-side bot definition. The Messenger adapter is also live, supporting media, reactions, and postback buttons. Both adapters are available now in the Chat SDK, which remains Vercel's open-source Chat SDK for cross-platform AI development.
Still wondering? A few quick answers below.
Every HeadsUpAI update is written based on its original source and reviewed before it's published. Read our editorial standards โ





