Unified Development Across Chat Platforms
Building chatbots traditionally required maintaining separate codebases for each platform and handling individual APIs. The new Chat SDK simplifies this by providing a single TypeScript library that targets Slack, Microsoft Teams, Google Chat, Discord, GitHub, and Linear—eliminating the need for platform-specific implementations.
Key Features
The SDK includes several developer-friendly capabilities:
- Event-driven architecture: Type-safe handlers for mentions, messages, reactions, button clicks, and slash commands
- JSX-based UI: Build user interfaces using JSX cards and modals that render natively on each platform
- Distributed state management: Pluggable adapters for Redis, ioredis, and in-memory storage
- AI integration: Native support for streaming AI responses through the Vercel AI SDK
Getting Started
The framework ships with a modular design—a core chat package combined with platform-specific adapters. The documentation includes guides for common setups like Slack bots with Next.js and Redis, Discord support bots with Nuxt, and GitHub bots with Hono.
Developers can post messages using strings, objects, ASTs, or JSX components, with full support for streaming responses from AI models. The SDK is now available in public beta on npm.
Start building with a free account or contact sales for enterprise deployments.