Getting Started
Pick a guide to start building with Chat SDK.
Usage
Learn the core patterns for handling incoming events and posting messages back to your users.
Creating a Chat Instance
Initialize the Chat class with adapters, state, and configuration options.
Threads, Messages, and Channels
Work with threads, messages, and channels across platforms.
Handling Events
Register handlers for mentions, messages, reactions, and platform-specific events.
Posting Messages
Different ways to render and send messages with thread.post().
Adapters
Connect your bot to chat platforms and persist state across restarts.
Platform Adapters
Platform-specific adapters for Slack, Teams, Google Chat, Discord, Telegram, GitHub, and Linear.
State Adapters
Pluggable state adapters for thread subscriptions, distributed locking, and caching.
Guides
Step-by-step tutorials to get up and running on your platform of choice.
Slack bot with Next.js and Redis
Build a Slack bot from scratch using Chat SDK, Next.js, and Redis.
Code review GitHub bot with Hono and Redis
Build a GitHub bot that reviews pull requests using AI SDK, Vercel Sandbox, and Chat SDK.
Discord support bot with Nuxt and Redis
Build a Discord support bot using Chat SDK, Nuxt, and AI SDK.