Chat SDK Adds Messenger Adapter Support

TL;DR · AI Summary
Vercel's Chat SDK now includes support for Facebook Messenger via a dedicated adapter, enabling unified chat deployment across platforms.
Key Takeaways
- Chat SDK now supports Facebook Messenger adapter for cross-platform unified API
- Supports TypeScript type safety and async streaming for improved code maintainab
- Integrates with AI Gateway to enable dynamic routing across 10+ models without c
Outline
Jump quickly between sections.
Vercel announced on May 8, 2026, that the Chat SDK now includes support for Facebook Messenger adapter.
The new adapter allows developers to integrate chat functionality into Facebook Messenger using a unified API.
Supports TypeScript type safety and native async streaming, improving development efficiency and code robustness.
Deeply integrated with Vercel AI Gateway, supporting dynamic routing across over 10 large models.
Mindmap
See how the topics connect at a glance.
查看大纲文本(无障碍 / 无 JS 友好)
- Chat SDK Messenger 支持
- 新适配器支持
- Facebook Messenger
- 技术能力
- TypeScript 类型安全
- 异步流处理
- 生态集成
- AI Gateway 多模型路由
- 支持 10+ 模型
Highlights
Key sentences worth saving and sharing.
Chat SDK now supports Facebook Messenger via a dedicated adapter, enabling unified chat deployment across platforms.
The integration leverages TypeScript and async streaming for type-safe, real-time interactions with minimal boilerplate.
Powered by AI Gateway, developers can route messages to over 10 models—including GPT-4, Claude, and custom LLMs—without changing code.
Chat SDK adds Messenger adapter support - Vercel
[](https://vercel.com/home)
- Products
- ##### AI Cloud
- AI Gateway One endpoint, all your models
- Sandbox Isolated, safe code execution
- Vercel Agent An agent that knows your stack
- AI SDK The AI Toolkit for TypeScript
- v0 Build applications with AI
- ##### Core Platform
- CI/CD Helping teams ship 6× faster
- Content Delivery Fast, scalable, and reliable
- Fluid Compute Servers, in serverless form
- Workflow Long-running workflows at scale
- Observability Trace every step
- ##### Security
- Bot Management Scalable bot protection
- BotID Invisible CAPTCHA
- Platform Security DDoS Protection, Firewall
- Web Application Firewall Granular, custom protection
- Resources
- ##### Company
- Customers Trusted by the best teams
- Blog The latest posts and changes
- Changelog See what shipped
- Press Read the latest news
- Events Join us at an event
- ##### Learn
- Docs Vercel documentation
- Academy Linear courses to level up
- Knowledge Base Find help quickly
- Community Join the conversation
- ##### Open Source
- Next.js The native Next.js platform
- Nuxt The progressive web framework
- Svelte The web’s efficient UI framework
- Turborepo Speed with Enterprise scale
- Solutions
- ##### Use Cases
- AI Apps Deploy at the speed of AI
- Composable Commerce Power storefronts that convert
- Marketing Sites Launch campaigns fast
- Multi-tenant Platforms Scale apps with one codebase
- Web Apps Ship features, not infrastructure
- ##### Tools
- Marketplace Extend and automate workflows
- Templates Jumpstart app development
- Partner Finder Get help from solution partners
- ##### Users
Ask AI
Ask AILog In
Chat SDK adds Messenger adapter support

1 min read
Copy URL
Copied to clipboard!
May 8, 2026

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.
lib/bot.ts
1import { Chat } from "chat";2import { createMessengerAdapter } from "@chat-adapter/messenger";3
4const bot = new Chat({5 userName: "mybot",6 adapters: {7 messenger: createMessengerAdapter(),8 },9});10
11bot.onDirectMessage(async (thread, message) => {12 await thread.post(`You said: ${message.text}`);13});Echo each new mention back to the sender
Read the Chat SDK documentation to get started, browse the supported adapters, or learn how to build your own.
Special thanks to @mitkodkn, whose community contribution in PR #461 laid the groundwork for this adapter.
Ready to deploy?Start building with a free account. Speak to an expert for your _Pro_ or Enterprise needs.
Start DeployingTalk to an Expert
Explore Vercel Enterprise with an interactive product tour, trial, or a personalized demo.
Get Started
Build
Scale
Secure
Resources
Learn
Frameworks
SDKs
Use Cases
Company
Community
[](https://vercel.com/home)
Loading status…Select a display theme:system light dark