chat-sdk

Develop multi-platform chat bots using a unified TypeScript SDK.

2.3k|282|Updated Dec 22, 2025
One-click install
npx skills add https://github.com/vercel/chat --skill chat-sdk-vercel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chat-sdk
Source: https://github.com/vercel/chat/tree/main/skills/chat
Command: npx skills add https://github.com/vercel/chat --skill chat-sdk-vercel

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the development of chat bots by providing a unified SDK to build applications that work across multiple chat platforms like Slack, Microsoft Teams, and Discord.

Core Features & Use Cases

  • Cross-Platform Compatibility: Write bot logic once and deploy it to various chat services.
  • Rich Interaction Support: Handle mentions, messages, reactions, slash commands, cards, and modals.
  • AI Integration: Seamlessly stream AI responses to chat threads.
  • Use Case: Develop a customer support bot that can respond to user queries on Slack, post updates to a Microsoft Teams channel, and handle interactive elements like buttons and forms.

Quick Start

Use the chat sdk to create a Slack bot that posts a welcome message when mentioned.

Frequently Asked Questions about chat-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a chat bot that works across Slack, Discord, and Microsoft Teams?

Use a unified TypeScript SDK to build multi-platform chat bots, allowing you to write bot logic once and deploy it across Slack, Discord, Microsoft Teams, and Google Chat. You need adapter packages for specific platforms and a state management solution.

Does the chat SDK support interactive components like cards and modals?

Yes, the chat SDK supports rich interactions including interactive components like cards and modals. It also handles event routing, message normalization, mentions, messages, reactions, and slash commands across supported platforms.

Can I stream AI responses to chat threads using a TypeScript bot?

Yes, you can seamlessly stream AI responses directly to chat threads. The SDK handles AI integration and response streaming, enabling dynamic conversational experiences within your multi-platform chat bot applications.

What do I need to set up a multi-platform chat bot with this SDK?

To set up a multi-platform chat bot, you need adapter packages for your specific target platforms and a state management solution. The SDK handles event routing and message normalization, simplifying deployment across services.

How does message normalization work for cross-platform chat bots?

Message normalization standardizes incoming events and messages from different platforms into a unified format. This allows your single TypeScript bot logic to process interactions consistently across Slack, Discord, Microsoft Teams, and Google Chat.

What platforms are supported by the unified TypeScript chat SDK?

The unified TypeScript chat SDK supports Slack, Microsoft Teams, Google Chat, Discord, GitHub, and Linear. This allows you to develop cross-platform chat bots that handle platform-specific events and interactive elements.