Chat SDK adds Messenger adapter support
Source: Vercel Blog
May 8, 2026

Overview
Chat SDK now supports Messenger as a chat adapter.
Build agents that support messages, reactions, multimedia downloads, postback buttons, and direct conversations, with display names fetched automatically from user profiles.
Example
import { Chat } from "chat";
import { createMessengerAdapter } from "@chat-adapter/messenger";
const bot = new Chat({
userName: "mybot",
adapters: {
messenger: createMessengerAdapter(),
},
});
bot.onDirectMessage(async (thread, message) => {
await thread.post(`You said: ${message.text}`);
});
Echo each new mention back to the sender.
Resources
- Read the Chat SDK documentation to get started.
- Browse the supported adapters.
- Learn how to build your own adapter.
Acknowledgements
Special thanks to @mitkodkn, whose community contribution in PR #461 laid the groundwork for this adapter.