
Chat Sdk
If you're building a chat bot and don't want to rewrite it for every platform, this is the abstraction layer you need. Chat SDK gives you one API that works across Slack, Teams, Discord, GitHub, Linear, WhatsApp, and more. The event model is clean: subscribe to threads, handle mentions and DMs, stream AI responses, render JSX cards and modals. It ships with Redis and Postgres state adapters, supports slash commands and reactions, and has a straightforward callbackUrl system for webhooks. The typing feels right because everything goes through normalized Thread and Message objects while still exposing platform raw payloads when you need them. Worth the dependency if you're deploying to more than one platform.
- skills.sh installs
- 5.5K
- GitHub stars
- 2.5K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add vercel/chat --skill chat-sdk --agent claude-codeInstalls into .claude/skills of the current project.
Files
Chat SDK
Unified TypeScript SDK for building chat bots across Slack, Microsoft Teams, Google Chat, Discord, Telegram, GitHub, Linear, WhatsApp, and more. Write your bot logic once, deploy everywhere.
Scaffold a new project
Use create-chat-sdk to scaffold a basic Next.js bot project without prompts. Run npx create-chat-sdk --help to see the available options and how the CLI works.
Start with Chat SDK documentation
When Chat SDK is installed in a user's project, inspect the published docs that ship in node_modules/chat/docs/, the resources in node_modules/chat/resources/, and the available open source templates in node_modules/chat/resources/templates.json.
If those paths do not exist, the chat package is not installed in the project yet. The user can install it with npm i chat.
You can also find the docs on the Chat SDK website and in the Vercel knowledge base.
Available resources
Guides
Sponsors
Details
- Repository
- github.com/vercel/chat
- Categories
- DevOps & CI/CD, Git & Pull Requests, Automation & Workflows, Cloud & Infrastructure