vercel avatar

Chat Sdk

vercel/chatOfficial

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-code

Installs 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
1affaan-m avatarskill-scoutaffaan-m/eccSearch existing local, marketplace, GitHub, and web skill sources before creating a new skill. Use when the user wants to create, build, fork, or find a skill f5.5Kskills.sh installs
2affaan-m avatarclaude-devfleetaffaan-m/eccOrchestrate multi-agent coding tasks via Claude DevFleet — plan projects, dispatch parallel agents in isolated worktrees, monitor progress, and read structured 5.4Kskills.sh installs
3affaan-m avatarlead-intelligenceaffaan-m/eccAI-native lead intelligence and outreach pipeline. Replaces Apollo, Clay, and ZoomInfo with agent-powered signal scoring, mutual ranking, warm path discovery, s5.4Kskills.sh installs
4samber avatarconventional-gitsamber/cc-skillsConventional Commits v1.0.0 branch naming, worktree naming, and commit message standards for GitHub and GitLab projects. Use when creating branches, naming work5.4Kskills.sh installs
5wondelai avatarinspired-productwondelai/skillsBuild empowered product teams using discovery and delivery dual-track. Use when the user mentions "product discovery", "empowered teams", "feature factory", "op5.4Kskills.sh installs
6affaan-m avatarsocial-publisheraffaan-m/eccAgent-driven scheduling and publishing of social media posts across 13 platforms via SocialClaw. Use when the user wants to publish to X, LinkedIn, Instagram, F5.4Kskills.sh installs