Skip to content
PluginStats

chat weekly downloads statistics

By vercel (16 listings) · npm · AI SDKs

Chat SDK — universal TypeScript toolkit for building multi-platform chat bots and AI agents on Slack, Teams, Google Chat, Discord, WhatsApp, and more

View on npm Fresh · Dec 6, 2026

chat has 7,154,075 recorded weekly downloads on npm, an increase of 21.8% over the past 30 days, ranking #154 of 3,247 tracked listings.

Weekly downloads
7,154,075
Official API · Dec 5, 2026
7-day growth
+7.6%
+503.5K weekly downloads
30-day growth
+21.8%
+1.3M weekly downloads
90-day growth
+201%
+4.8M weekly downloads
Rank
#154
Among tracked npm listings

About chat

Chat SDK

npm package: chat

Agent Stack MIT License

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

npm install chat

CLI

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.

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({
      botToken: process.env.SLACK_BOT_TOKEN!,
      signingSecret: process.env.SLACK_SIGNING_SECRET!,
    }),
  },
  state: createRedisState({ url: process.env.REDIS_URL! }),
  dedupeTtlMs: 600_000, // 10 minutes (default: 5 min)
});

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}`);
});

Tip: PostgreSQL and ioredis adapters are also available for production. See State Adapters for all options.

Configuration

OptionTypeDefaultDescription
userNamestringrequiredDefault bot username across all adapters
adaptersRecord<string, Adapter>requiredMap of adapter name to adapter instance
stateStateAdapterrequiredState adapter for subscriptions, locking, and dedup
loggerLogger | LogLevel"info"Logger instance or log level ("silent" to disable)
streamingUpdateIntervalMsnumber500Update interval for fallback streaming (post + edit) in ms
dedupeTtlMsnumber300000TTL 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.

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, agent slash commands, and more:

npx plugins add vercel/vercel-plugin

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
  • whatsapp
  • github
  • webhook
  • ai-agent
  • ai-sdk
  • typescript

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

chat weekly downloads on npm, last 90 days: 7,154,075 weekly downloads as of Dec 5, 2026, +201% over 90 days.chatWeekly downloads on npm · Last 90 days7,154,075downloads / week+201% over 90 days02M4M6M8M10MSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
chat weekly downloads on npm, last 90 days: 7,154,075 weekly downloads as of Dec 5, 2026, +201% over 90 days.

7/30/90-day growth

chat weekly downloads growth on npm: +7.6% over 7 days, +21.8% over 30 days, +201% over 90 days.chatWeekly downloads growth on npm7,154,075downloads / week now7-day growth+503,486 weekly downloads+7.6%30-day growth+1,280,152 weekly downlo…+21.8%90-day growth+4,775,427 weekly downlo…+201%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
chat weekly downloads growth on npm: +7.6% over 7 days, +21.8% over 30 days, +201% over 90 days.

Ranking history

chat npm ranking history: currently #154 (by weekly downloads).chatnpm ranking · by weekly downloads · Last 90 days#154current rank#145#150#155#160#165Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
chat npm ranking history: currently #154 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 8, #14 (overall #154)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 1, #1 (overall #1)
AI SDKs: every listing in weekly downloads order

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.

Each band is one page of 20. Weekly downloads on a linear 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.

Recent observations

Full history (170)
Recent weekly downloads observations for chat
Date (UTC)Weekly downloadsChange vs. previous
7,154,075-503.6K
7,657,666+471.8K
7,185,841+483.8K
6,702,060+117.9K
6,584,130+52.1K
6,532,061-90.5K
6,622,595-28K
6,650,589-187.4K
6,837,967-378.1K
7,216,106-450.3K
7,666,379-256.8K
7,923,164-73.6K
7,996,747-60.3K
8,057,043—

Similar npm AI SDKs plugins

All 20 chat alternatives

chat on other marketplaces

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 Dec 6, 2026. See the methodology.