chat-sdk

Build multi-platform chat bots with unified routing and adapters.

Updated May 16, 2026
One-click install
npx skills add https://github.com/MohammedHTahir/vibe-coding-platform --skill chat-sdk-mohammedhtahir
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chat-sdk
Source: https://github.com/MohammedHTahir/vibe-coding-platform/tree/main/.kiro/vercel-plugin/skills/chat-sdk
Command: npx skills add https://github.com/MohammedHTahir/vibe-coding-platform --skill chat-sdk-mohammedhtahir

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of building and maintaining separate chat-bot integrations for every messaging platform by providing a unified way to handle chat events, threads, messages, and interactions across providers.

Core Features & Use Cases

  • Unified Chat Bot API: Use the Chat class to coordinate adapters, routing, locks, state, and message/thread lifecycle.
  • Cross-Platform Adapters: Implement once and deploy across Slack, Teams, Google Chat, Discord, Telegram, GitHub, Linear, WhatsApp, and more via @chat-adapter/*.
  • Conversation Primitives: Manage threads and channels with normalized Message objects, support cards/modals, and handle streaming updates.
  • State + Reliability: Add state adapters for persistence (subscriptions, dedupe, locking) and configure dedupeTtlMs to reduce repeated work.

Quick Start

Ask the assistant to “Use chat-sdk to create a Slack and Telegram bot that listens for new mentions or messages, subscribes the thread, and streams an AI response back to the user.”

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 multi-platform chatbot without maintaining separate codebases for Slack and Telegram?

To build a multi-platform chatbot, you can use a unified chat SDK to route normalized messages and configure platform-specific webhooks via adapters. This allows you to implement bot logic once and deploy across Slack, Telegram, and other providers.

How do streaming chatbot responses work across different messaging platforms?

Streaming chatbot responses work by applying normalized message objects and thread lifecycle management across providers. Adapters handle platform-specific delivery while the core SDK streams AI response updates back to the user in real-time.

Can I handle slash commands, mentions, and direct messages with a unified chatbot API?

Yes, a unified chatbot API can handle event-driven scenarios like mentions, direct messages, slash commands, actions, and modals. By configuring thread and message handlers with the appropriate adapters, these interactions are processed centrally.

What is the best way to prevent duplicate processing when handling concurrent chatbot events?

The best way to prevent duplicate processing is to configure dedupe settings with a specific time-to-live and add a state adapter. This enables persistence, locking, and deduplication to reduce repeated work during concurrent webhook events.

Does the chat SDK support conversation threading and state persistence for subscribed messages?

Yes, the chat SDK supports conversation threading and state persistence by managing threads with normalized message objects and adding state adapters. This ensures subscribed messages and interaction states are maintained reliably across platforms.

How do I wire adapter webhooks to deploy a chatbot across multiple messaging providers?

To wire adapter webhooks, you use the Chat entry point with @chat-adapter/* factories for your target platforms. Configuring these adapter webhooks connects your unified message handlers to the specific messaging providers.