Vercel Chat SDK is a unified TypeScript SDK for building chat bots across multiple messaging platforms. It lets developers write bot logic once and deploy it to services such as Slack, Microsoft Teams, Google Chat, Discord, Telegram, GitHub, Linear, WhatsApp, and more. The project provides adapters, event handlers, state handling, slash commands, buttons, modals, cards, file handling, direct messages, and ephemeral messages. It also supports AI streaming patterns for LLM-powered assistants in different chat environments. A CLI can scaffold a minimal Next.js bot app with routes, configuration, dependencies, and environment examples. The SDK is especially useful for teams building cross-platform bots without rewriting the same interaction logic for every service.
Features
- Unified TypeScript bot SDK
- Slack, Teams, Discord, and Telegram adapters
- Event handlers and slash commands
- JSX-based interactive cards
- AI response streaming support
- Next.js bot scaffolding CLI