---
title: Chat SDK
description: The unified TypeScript SDK for building chat bots across Slack, Microsoft Teams, Google Chat, Discord, and more. Write your bot logic once, deploy everywhere.
url: "https://vercel.com/kb/chat-sdk"
published: 2026-06-04
last_updated: 2026-08-10
install_vercel_plugin: npx plugins add vercel/vercel-plugin
---

# 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.

## Using Chat SDK

- [How to build an agent for Liveblocks with Chat SDK and AI SDK](/kb/guide/liveblocks-chat-sdk-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](/kb/guide/slack-bot-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. Vercel Connect supplies runtime Slack tokens and forwards triggers.
- [Human-in-the-Loop with Chat SDK and Workflow SDK](/kb/guide/human-in-the-loop-with-chat-sdk-and-workflow-sdk): Combine Chat SDK and Workflow SDK to suspend workflows on approval cards in a chat platform, then resume on click via createWebhook.
- [Triage form submissions with Chat SDK](/kb/guide/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](/kb/guide/run-and-track-deploys-from-slack): Build a Slack deploy bot with Chat SDK and Vercel Workflows. Dispatch GitHub Actions from a slash command, gate production behind approval, poll for completion, and notify Linear and GitHub when the run finishes.
- [Build your own Slackbot with Vercel Connect](/kb/guide/build-a-slack-bot-with-vercel-connect): Learn how to build your very own Slackbot with Chat SDK and AI SDK. Vercel Connect supplies runtime Slack tokens and forwards triggers, so you never store a long-lived bot token.

## Deploy an Agent with Vercel Connect

- [Build your own Slackbot with Vercel Connect](/kb/guide/build-a-slack-bot-with-vercel-connect): Learn how to build your very own Slackbot with Chat SDK and AI SDK. Vercel Connect supplies runtime Slack tokens and forwards triggers, so you never store a long-lived bot token.
- [Build a GitHub agent with Vercel Connect](/kb/guide/github-agent-vercel-connect): Build a GitHub agent that helps your team work through issues and PRs. Chat SDK handles the interactivity and AI SDK runs the tool-calling loop.
- [Build a Linear agent with Vercel Connect](/kb/guide/linear-agent-vercel-connect): Build a native Linear Agent that helps your team manage issues. Mention it on any issue and it responds in real time, powered by Chat SDK and AI SDK.

## Build an agent with eve

- [Build a software factory with eve](/kb/guide/eve-software-factory): Foreman, a software factory built on eve. It turns GitHub and Linear work items into reviewed draft pull requests through four agent stations, triaging issues and fixing its own red CI along the way.
- [Build an incident response sre agent with eve](/kb/guide/eve-incident-sre-agent): sre is an incident response agent for Slack. It investigates production issues using a hypothesis-driven approach and returns verifiable evidence from connected sources.
- [How to automatically approve tool calls in eve with Jev](/kb/guide/auto-approve-tool-calls-eve-jev): Use Jev to review tool calls in eve, allow routine actions, and request human approval when needed. Configure the policy and test its failure paths.
- [Run a marketing team from Slack with eve](/kb/guide/marketing-team-eve): Team of five marketing agents built on eve. The lead routes work to specialists that write long-form into Notion, queue social posts in Typefully, run email in Resend, and audit for SEO, with approvals for anything irreversible.
- [How to build a browser agent that works behind a login](/kb/guide/build-a-browser-agent): Build a browser agent with eve, Vercel Connect, and KERNEL managed auth that signs a user in through a human-in-the-loop handoff and completes tasks behind a login without exposing credentials.
- [Give your eve agent an email inbox with Resend](/kb/guide/eve-agent-with-resend): Connect an eve agent to email using the Chat SDK channel and the Resend adapter. Handle inbound email, threaded replies, attachments, and proactive sends.
- [Manage your Sanity project from Slack with eve](/kb/guide/eve-sanity-copilot): A Slack-based Sanity copilot built on eve. It queries and edits content with GROQ, shapes schemas, manages releases, and drafts long-form pieces into Notion.

## Build with a eve Template

- [Software factory](https://vercel.com/templates/eve/eve-software-factory): Software factory built on eve: AI agents work each stage of the development loop, and people make the judgment calls.
- [Incident response](https://vercel.com/templates/eve/eve-incident-response-agent): sre investigates production issues using a hypothesis-driven approach and outputs verifiable evidence from sources.
- [Marketing team](https://vercel.com/templates/eve/eve-marketing-team): A team of marketing agents: a lead routes work to specialists for positioning, long-form content, social, SEO, and email, publishing through Notion, Typefully, and Resend.
- [Sanity copilot](https://vercel.com/templates/eve/eve-sanity-copilot): A Slack-based Sanity copilot that queries and edits content with GROQ, inspects and shapes schemas, manages drafts and releases, and drafts long-form pieces into Notion.
- [Typefully assistant](https://vercel.com/templates/eve/eve-typefully-agent): A Slack-based social media agent that drafts posts and threads for X, LinkedIn, Threads, Bluesky, and Mastodon through Typefully, manages the publishing queue, and pulls briefs from Notion.
- [GitHub maintainer](https://vercel.com/templates/eve/eve-github-maintainer): Kody, a personal GitHub maintainer agent that emails you a weekly digest of open issues, acts on your email replies, summarizes new pull requests, answers @mentions, and works delegated Linear issues.
- [Personal agent](https://vercel.com/templates/nuxt/eve-personal-agent): A durable AI assistant with long-term memory. Chat on the web or Slack, query Linear, and pick up where you left off.

## All Chat SDK guides

- [Build Claude Managed Agents with Vercel Services](/kb/guide/claude-managed-agents-vercel-services): Deploy Claude Managed Agents with Vercel Services to run a streaming research analyst in a browser chat, using Anthropic's Chat SDK quickstart.
- [Build Claude Managed Agents with Chat SDK](/kb/guide/claude-managed-agents-chat-sdk): Ship a Slack research bot built on Claude Managed Agents and Chat SDK. One persistent session per thread, streamed briefs with sources, and no Slack credentials to manage.
- [How to build a Slack bot that manages files in Vercel Blob](/kb/guide/slack-bot-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. Vercel Connect supplies runtime Slack tokens and forwards triggers.
- [Using Chat SDK and eve together](/kb/guide/chat-sdk-and-eve): Understand how eve and Chat SDK divide responsibilities, when to use eve's first-class channels versus the Chat SDK channel, and how to bridge any Chat SDK adapter into an eve agent
- [Give your eve agent an email inbox with Resend](/kb/guide/eve-agent-with-resend): Connect an eve agent to email using the Chat SDK channel and the Resend adapter. Handle inbound email, threaded replies, attachments, and proactive sends.
- [Build a Linear agent with Vercel Connect](/kb/guide/linear-agent-vercel-connect): Build a native Linear Agent that helps your team manage issues. Mention it on any issue and it responds in real time, powered by Chat SDK and AI SDK.
- [Build a GitHub agent with Vercel Connect](/kb/guide/github-agent-vercel-connect): Build a GitHub agent that helps your team work through issues and PRs. Chat SDK handles the interactivity and AI SDK runs the tool-calling loop.
- [Build a daily digest bot with Chat SDK and Workflow SDK](/kb/guide/daily-digest-bot-with-chat-sdk-and-workflow-sdk): Build a daily digest bot that posts a daily digest of GitHub stats to Slack. Learn how to use Vercel Connect to set up Slack and GitHub app securely in your project.
- [Build your own Slackbot with Vercel Connect](/kb/guide/build-a-slack-bot-with-vercel-connect): Learn how to build your very own Slackbot with Chat SDK and AI SDK. Vercel Connect supplies runtime Slack tokens and forwards triggers, so you never store a long-lived bot token.
- [Building human-in-the-loop agents for community moderation with durable workflows](/kb/guide/building-human-in-the-loop-agents-for-community-moderation-with-durable-workflows): Learn how to build AI agents that escalate decisions to humans in Slack, pause and resume runs reliably, and stream progress using Vercel Workflows.
- [How to build an agent for Liveblocks with Chat SDK and AI SDK](/kb/guide/liveblocks-chat-sdk-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.
- [Human-in-the-Loop with Chat SDK and Workflow SDK](/kb/guide/human-in-the-loop-with-chat-sdk-and-workflow-sdk): Combine Chat SDK and Workflow SDK to suspend workflows on approval cards in a chat platform, then resume on click via createWebhook.
- [The Complete Guide to Chat SDK](/kb/guide/the-complete-guide-to-chat-sdk): Chat SDK is a TypeScript library for building chat bots that work across Slack, Teams, Discord, Linear, and more from a single codebase. Learn how it works.
- [Ship a GitHub code review bot with Hono and Redis](/kb/guide/ship-a-github-code-review-bot-with-hono-and-redis): This guide walks through building a GitHub bot that reviews pull requests on demand. When a user @mentions the bot on a PR, Chat SDK picks up the mention, spins up a Vercel Sandbox with the repo cloned, and uses AI SDK to analyze the diff.
- [How to build a Slack bot with Next.js and Redis](/kb/guide/how-to-build-a-slack-bot-with-next-js-and-redis): This guide walks through building a Slack bot with Next.js, covering project setup, Slack app configuration, event handling, interactive features, and deployment.
- [Create a Discord support bot with Nuxt and Redis](/kb/guide/create-a-discord-support-bot-with-nuxt-and-redis): This guide walks through building a Discord support bot with Nuxt, covering project setup, Discord app configuration, Gateway forwarding, AI-powered responses, and deployment.
- [How to build an AI agent for Slack with Chat SDK and AI SDK](/kb/guide/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.
- [Run and track deploys from Slack](/kb/guide/run-and-track-deploys-from-slack): Build a Slack deploy bot with Chat SDK and Vercel Workflows. Dispatch GitHub Actions from a slash command, gate production behind approval, poll for completion, and notify Linear and GitHub when the run finishes.
- [Triage form submissions with Chat SDK](/kb/guide/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.

## Explore other topics in the Vercel Knowledge Base

- [Jev from TypeSafe AI](/kb/jev-from-typesafe-ai): Jev is TypeSafe AI's System One model for fast, typed decisions. It evaluates supplied context and returns choices, scores, and probabilities that applications can use to classify requests, route tasks, and assess proposed actions without generating prose.
- [Vercel Sandbox](/kb/vercel-sandbox): The compute primitive designed to safely run untrusted or user-generated code on Vercel.
- [FDE Field Notes](/kb/fde): Insights from our work with customers. Explore the patterns, diagnostics, and recommendations Vercel’s Forward Deployed Engineers use in production.
- [Software Factory](/kb/software-factory): Software factories put an agent on every stage of your development loop: triage, planning against a live repo checkout, implementation verified with your own checks, and independent review. Work items become draft PRs while you keep the judgment calls.
