simlock
병렬 코딩 에이전트가 동일 시뮬레이터를 놓고 충돌하지 않도록 제어 평면 제공
Chat SDK는 타입 안전 핸들러, JSX 카드, 다중 플랫폼 지원을 제공하는 통합 TypeScript 채팅 봇 SDK입니다
A unified TypeScript SDK for building chat bots with type-safe handlers, JSX cards, and multi-platform support—powered by Vercel
개발 도구TypeScript · MDXGitHub @vercel온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
A unified TypeScript SDK for building chat bots across Slack, Microsoft Teams, Google Chat, Discord, and more.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
Unified TypeScript SDK for building chat bots across Slack, Microsoft Teams, Google Chat, Discord, Telegram, GitHub, Linear, WhatsApp, and more. Write your bot logic once, deploy everywhere.
Install one or more adapters for your platforms:
Scaffold a minimal Next.js bot app with create-chat-sdk:
The CLI generates your Chat configuration, webhook route, .env.example file, dependencies, and optional Web adapter route from the adapter catalog. See the CLI docs for options and non-interactive usage.
See the Getting Started guide for a full walkthrough.README 전문 보기 ↗Unified TypeScript SDK for building chat bots across Slack, Microsoft Teams, Google Chat, Discord, Telegram, GitHub, Linear, WhatsApp, and more. Write your bot logic once, deploy everywhere.
npm i chat
Install one or more adapters for your platforms:
npm install @chat-adapter/slack @chat-adapter/teams @chat-adapter/gchat
Scaffold a minimal Next.js bot app with create-chat-sdk:
npx create-chat-sdk@latest my-bot
The CLI generates your Chat configuration, webhook route, .env.example file, dependencies, and optional Web adapter route from the adapter catalog. See the CLI docs for options and non-interactive usage.
import { Chat } from "chat";
import { createSlackAdapter } from "@chat-adapter/slack";
import { createRedisState } from "@chat-adapter/state-redis";
const bot = new Chat({
userName: "mybot",
adapters: {
slack: createSlackAdapter(),
},
state: createRedisState(),
});
bot.onNewMention(async (thread) => {
await thread.subscribe();
await thread.post("Hello! I'm listening to this thread.");
});
bot.onSubscribedMessage(async (thread, message) => {
await thread.post(`You said: ${message.text}`);
});
See the Getting Started guide for a full walkthrough.
Browse official, vendor-official, and community adapters on chat-sdk.dev/adapters. Learn how to build your own adapter.
@chat-adapter/catalog lists every adapter on chat-sdk.dev with its npm package, maintainer, and supported capabilities. Official and vendor-official entries also include the factory export, peer dependencies, and environment variables needed to set them up. It has no dependencies and imports no adapter code, so you can use it in websites, setup screens, build scripts, and CLIs. chat-sdk.dev and create-chat-sdk both read from it.
npm i @chat-adapter/catalog
import {
getFeatureSupport,
getSecretEnvVars,
listAdapters,
} from "@chat-adapter/catalog";
const streamingAdapters = listAdapters({ type: "platform" }).filter(
(adapter) => getFeatureSupport(adapter, "streaming").status === "yes"
);
const slackSecrets = getSecretEnvVars("slack").map((envVar) => envVar.key);
See the Adapter Catalog docs for the full API.
/command invocationsIf you use an AI coding agent such as OpenAI Codex, Claude Code, or Cursor, install the Chat SDK skill so it knows the SDK APIs, adapter patterns, and project conventions before writing code.
npx skills add vercel/chat
The skill references bundled documentation in node_modules/chat/docs, plus adapter guides and starter templates in the published package.
You can also install the Vercel Plugin for a broader agent toolkit. It includes the Chat SDK skill alongside specialist agents, slash commands, and more:
npx plugins add vercel/vercel-plugin
For agent-readable documentation, see chat-sdk.dev/llms.txt (page index) or chat-sdk.dev/llms-full.txt (full text).
Full documentation is available at chat-sdk.dev/docs and guides are available in the Vercel Knowledge Base.
See CONTRIBUTING.md for guidance on contributing to Chat SDK.
For help or questions, see SUPPORT.md.
To report a security vulnerability, see SECURITY.md.
MIT