Chat SDK
The unified TypeScript SDK for building chat bots across Slack, Microsoft Teams, Google Chat, Discord, and more. Write your bot logic once, deploy everywhere.
Back to Knowledge BaseBuild a Slack agent with Chat SDK
How to build an AI agent for Slack with Chat SDK and AI SDK
Build a Slack AI agent using Chat SDK, AI SDK's ToolLoopAgent, and Vercel AI Gateway. Covers project setup, tool definitions, streaming responses, deployment to Vercel, and scaling tool selection with toolpick.
How to build an agent for Liveblocks with Chat SDK and AI SDK
Build an AI agent that replies to @-mentions in Liveblocks comment threads with streamed responses and tool calling, using Chat SDK, AI SDK, and Redis.
How to build a Slack bot that manages files in Vercel Blob
Build a Slack bot using Chat SDK, AI SDK, and Files SDK that can list, read, upload, and delete files in Vercel Blob through tool calls.
Try a Chat SDK template
Triage form submissions with Chat SDK
Build a Slack bot that triages form submissions with interactive cards. Forward, edit, or mark as spam without leaving Slack. Built with Chat SDK, Hono, and Resend.
Run and track deploys from Slack
Build a Slack deploy bot with Chat SDK and Vercel Workflow. Dispatch GitHub Actions from a slash command, gate production behind approval, poll for completion, and notify Linear and GitHub when the run finishes.
Explore the official platform adapters
Slack
Build bots for Slack workspaces with full support for threads, reactions, native streaming, scheduled messages, modals, slash commands, and the Assistants API.
Microsoft Teams
Deploy bots to Microsoft Teams with Adaptive Cards, mentions, and conversation threading.
Google Chat
Integrate with Google Chat spaces for team collaboration and automated workflows.
Discord
Create Discord bots with slash commands, threads, and rich embeds — works on serverless via a cron-driven Gateway listener.
GitHub
Build bots that respond to pull request and issue comment threads. Treats issues and PRs as threads, comments as messages.
Linear
Automate Linear issue comment threads with bot responses. Supports both standard comments mode and Linear's app-actor agent sessions.
Telegram
Connect to Telegram with support for groups, channels, inline keyboards, and a polling fallback for local development.
Connect to WhatsApp Business Cloud for customer messaging and automated conversations.
Twilio
Build SMS and MMS bots with Twilio Messaging webhooks and the Messages API.
Messenger
Build bots for Facebook Messenger with templates, buttons, reactions, and postbacks.
Web
Lets a Chat SDK bot serve a browser chat UI alongside Slack, Teams, Discord — the same handler fires for every platform. Speaks the AI SDK UI message stream protocol so useChat works out of the box with React, Vue, and Svelte.
All Chat SDK Guides
- Building human-in-the-loop agents for community moderation with durable workflows
- How to build an agent for Liveblocks with Chat SDK and AI SDK
- Human-in-the-Loop with Chat SDK and Workflow SDK
- How to build a Slack bot that manages files in Vercel Blob
- The Complete Guide to Chat SDK
- Ship a GitHub code review bot with Hono and Redis
- How to build a Slack bot with Next.js and Redis
- Create a Discord support bot with Nuxt and Redis
- How to build an AI agent for Slack with Chat SDK and AI SDK
- Run and track deploys from Slack