Vercel News logoVercel News
|Backend

Introducing npm i chat – One codebase, every chat platform

2026-02-23
1 min read
1

Endigest AI Core Summary

This post introduces npm i chat, an open-source TypeScript Chat SDK in public beta that lets teams write bot logic once and deploy it across multiple chat platforms from a single codebase.

  • Supports Slack, Microsoft Teams, Google Chat, Discord, GitHub, and Linear via modular pluggable platform adapters
  • Event-driven architecture provides type-safe handlers for mentions, messages, reactions, button clicks, and slash commands
  • UI components use JSX cards and modals that render natively on each supported platform
  • Distributed state management is handled through pluggable adapters for Redis, ioredis, and in-memory storage
  • The post() function accepts AI SDK text streams, enabling real-time streaming of AI responses to chat platforms