chat has 1,752,172 recorded weekly downloads on npm, a decrease of 28.3% over the past 30 days.
It ranks #162 of 2,251 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by -3.8%.
PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.
About chat
Chat SDK
npm package: chat
Universal TypeScript SDK for building multi-platform chat bots and AI agents on Slack, Teams, Google Chat, Discord, WhatsApp, and more. Provides the Chat class, event handlers, JSX cards, emoji helpers, and type-safe message formatting.
Documentation: chat-sdk.dev/docs · Guides: vercel.com/kb/chat-sdk
Installation
CLI
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.
Usage
Tip: PostgreSQL and ioredis adapters are also available for production. See State Adapters for all options.
Configuration
| Option | Type | Default | Description |
| userName | string | required | Default bot username across all adapters | | adapters | Record | required | Map of adapter name to adapter instance | | state | StateAdapter | required | State adapter for subscriptions, locking, and dedup | | logger | Logger \| LogLevel | "info" | Logger instance or log level ("silent" to disable) | | streamingUpdateIntervalMs | number | 500 | Update interval for fallback streaming (post + edit) in ms | | dedupeTtlMs | number | 300000 | TTL for message deduplication entries in ms. Increase if webhook cold starts cause platform retries (e.g., Slack's http_timeout retry) that arrive after the default window |
AI Coding Agents
If 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.
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, agent slash commands, and more:
The plugin is optional; the skill alone is enough to build with Chat SDK.
For agent-readable documentation, see chat-sdk.dev/llms.txt (page index) or chat-sdk.dev/llms-full.txt (full text).
Documentation
Full documentation is available at chat-sdk.dev/docs.
• Usage — event handlers, threads, messages, channels • Chat API — full Chat class reference • Cards — JSX-based interactive cards • Streaming — AI SDK integration • Emoji — cross-platform emoji helpers
License
MIT
Description from the npm listing.
- chat
- chat-sdk
- chatbot
- chat-bot
- bot
- bot-framework
- messaging
- multi-platform
- slack
- teams
- microsoft-teams
- discord
- google-chat
- telegram
- github
- webhook
- ai-agent
- ai-sdk
- typescript
Where chat sits in the listing
Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Recent observations
Full history (121)Similar npm AI SDKs plugins
Data source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/chat. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.