chat-sdk

Installation
Summary

Write chat bots once, deploy across Slack, Teams, Google Chat, Discord, GitHub, and Linear.

  • Unified TypeScript SDK with platform-agnostic event handlers (mentions, messages, reactions, slash commands, actions) and normalized message format across all platforms
  • Built-in streaming support for AI responses via AI SDK integration, plus JSX-based interactive cards with buttons, dropdowns, and form modals
  • Pluggable state adapters for Redis, PostgreSQL, or in-memory persistence; webhook handlers for each platform integrate with any HTTP framework
  • Custom adapter interface enables building new platform integrations by implementing message parsing, posting, and format conversion
SKILL.md

Chat SDK

Unified TypeScript SDK for building chat bots across Slack, Teams, Google Chat, Discord, Telegram, GitHub, Linear, and WhatsApp. Write bot logic once, deploy everywhere.

Start with published sources

When Chat SDK is installed in a user project, inspect the published files that ship in node_modules:

node_modules/chat/docs/                    # bundled docs
node_modules/chat/dist/index.d.ts          # core API types
node_modules/chat/dist/jsx-runtime.d.ts    # JSX runtime types
node_modules/chat/docs/contributing/       # adapter-authoring docs
node_modules/chat/resources/guides/        # framework/platform guides (markdown)
node_modules/chat/resources/templates.json # starter templates (title, description, href)

If one of the paths below does not exist, that package is not installed in the project yet.

Installs
2.9K
Repository
vercel/chat
GitHub Stars
1.9K
First Seen
Feb 24, 2026