Visit the adapters directory to see other available official and vendor-official adapters.
Usage
import { Chat } from "chat";import { createMemoryState } from "@chat-adapter/state-memory";const bot = new Chat({ userName: "mybot", adapters: { /* ... */ }, state: createMemoryState(),});
No configuration options are needed.
Features
Feature
Supported
Persistence
No
Multi-instance
No
Subscriptions
Yes (in-memory)
Locking
Yes (single-process only)
Key-value caching
Yes (in-memory)
Zero configuration
Yes
Limitations
Not suitable for production — state is lost on restart
Single process only — locks don't work across multiple instances
No persistence — subscriptions reset when the process restarts
When to use
Local development
Unit testing
Quick prototyping
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.