HeadsUpAI

Vercel Open-Sources Chat SDK for Multi-Platform Bot Development

· Updated

Vercel open-sourced Chat SDK, a TypeScript library that lets you write chatbot logic once and deploy it across seven platforms - Slack, Microsoft Teams, Google Chat, Discord, Telegram, GitHub, and Linear. Add platform adapters and handle mentions, messages, reactions, buttons, slash commands, and modals through a single event-driven API.

The SDK uses an adapter pattern where each platform has its own package handling webhook parsing, message formatting, and API calls. Rich UI elements like JSX cards and modals render natively on each platform, and built-in AI streaming support lets you pipe LLM responses directly into chat threads. State management runs on Redis for serverless production environments.

Build your chatbot logic once against the event-driven API, then add platform adapters for whichever channels you need — Slack, Teams, Discord, or all seven at once — without rewriting the core logic per platform.

Vercel Developers
Vercel Developers
@vercel_dev
X

You can now write chat bot logic once, and deploy across Slack, GitHub, Teams, and Discord. We're open-sourcing a new Chat SDK, a unified TypeScript library to build for many chat platforms with a single codebase. Now available in public beta. https://t.co/UICfmvl9BR

170retweets
View on X

Share this update