vercel/chat
A unified TypeScript SDK for building chat bots across Slack, Microsoft Teams, Google Chat, Discord, and more.
What it solves
This SDK provides a unified TypeScript interface for building chat bots that can be deployed across multiple platforms (such as Slack, Microsoft Teams, Discord, Telegram, and WhatsApp) without rewriting the bot logic for each platform's specific API.
How it works
The SDK uses a system of adapters to abstract the differences between various chat platforms. Developers write their bot logic once using a single set of event handlers (like onNewMention or onSubscribedMessage) and then install the corresponding adapters for the platforms they want to support.
Who it’s for
Developers building AI chat bots or interactive agents that need to be available on multiple messaging platforms simultaneously.
Highlights
- Cross-platform support: Supports a wide range of platforms including Slack, Teams, Google Chat, Discord, Telegram, GitHub, Linear, and WhatsApp.
- AI streaming: Native support for streaming LLM responses, including platform-specific optimizations like Slack streaming and Telegram draft previews.
- Interactive elements: JSX-based interactive cards, modals, button clicks, and dropdown selections across different platforms.
- Concurrency management: Tools to handle overlapping messages on the same thread via bursting, queuing, or debouncing.
- Agent-ready: Includes specific "skills" for AI coding agents (like Cursor or Claude Code) to help them write code using the SDK more accurately.
Related
- Project
- Project
- Project
- Project
- Project