# vercel/chat

A unified TypeScript SDK for building chat bots across Slack, Microsoft Teams, Google Chat, Discord, and more.

Repository: https://github.com/vercel/chat
Canonical: https://ross.abutalabs.com/products/vercel-chat
Homepage: https://chat-sdk.dev/
Language: TypeScript
License: MIT
License Family: permissive
Topics: ai, chat, discord, google-chat, slack, teams, vercel
Last push: 2026-08-26T03:19:16+00:00

## Health v2 (maintenance only)
Score: 78/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 86, longevity 18
- inputs: {"age_days": 254, "days_push": 7, "days_rel": 16, "gap_med": 0, "n_releases_24m": 662}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2318, forks 293 (observed 2026-08-28T04:06:36.922962+00:00)

## What it is
Chat SDK is a unified TypeScript SDK for building chat bots and AI agents that run across Slack, Microsoft Teams, Google Chat, Discord, Telegram, WhatsApp, and more from a single codebase. It provides type-safe event handlers, JSX-based interactive cards, LLM response streaming, and pluggable adapters and state backends (e.g., Redis) for serverless deployment.

## Use cases
- build a chatbot that works on slack and teams with one codebase
- stream llm responses into slack messages
- handle slash commands and modals across chat platforms
- create an ai agent bot for discord
- deploy a serverless chat bot with redis state
- send interactive cards and buttons in google chat
- scaffold a next.js chat bot app

## When to choose
- you need one bot logic deployed to multiple chat platforms
- you want type-safe handlers and JSX cards instead of raw platform APIs
- you are streaming LLM/agent responses into chat threads
- you deploy on serverless and need distributed state and deduplication

## When to avoid
- you target a single platform and prefer its official first-party SDK
- you need platforms without an available adapter
- you want a no-code or hosted bot builder rather than a code SDK

## Facets
- artifact type: library
- maturity: active
- function: chatbot, agent-framework, webhook, sdk, llm-inference, middleware
- domain: chatbots, messaging-platforms, developer-tools, large-language-models
- platform: serverless, cloud
- tags: chat-sdk, multi-platform-bots, slack, microsoft-teams, discord, telegram, google-chat, whatsapp, jsx-cards, event-driven, vercel, adapter-pattern, thread-subscriptions, ai-agents, nodejs, typescript, web-server

## Member repositories
- vercel/chat (main) score 78

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:36.922962+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:38:55.082389+00:00, confidence not recorded.
  - readme: https://github.com/vercel/chat (fetched 2026-08-28T04:06:36.922962+00:00, sha b0b97859e298)
  - homepage: https://chat-sdk.dev/ (fetched 2026-08-29T10:19:33.014785+00:00, sha 9c498cf90d21)
  - site_page: https://chat-sdk.dev/docs (fetched 2026-08-29T10:19:33.024364+00:00, sha a34d92614145)
  - site_page: https://chat-sdk.dev/docs/api (fetched 2026-08-29T10:19:33.026715+00:00, sha 03aa18d8f485)
  - site_page: https://chat-sdk.dev/en/docs (fetched 2026-08-29T10:19:33.028792+00:00, sha 082294190bf0)
  - registry_npm: https://registry.npmjs.org/chat (fetched 2026-08-29T10:19:33.030882+00:00, sha fe55da5e757d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
