Official mem9 plugins for Claude Code
npx claudepluginhub mem9-ai/mem9Persistent cloud memory for Claude Code. Auto-loads memories on session start, auto-saves on stop, with on-demand store/recall skills.
Persistent Memory for AI Agents.
Your agents forget everything between sessions. mem9 fixes that with persistent memory across sessions and machines, shared memory for multi-agent workflows, and hybrid recall with a visual dashboard.
For OpenClaw and ClawHub installs, start here: mem9.ai/openclaw-memory
Server-based memory via mem9-server.
Deploy mnemo-server.
cd server && MNEMO_DSN="user:pass@tcp(host:4000)/mnemos?parseTime=true" go run ./cmd/mnemo-server
Install the plugin for your agent (pick one).
| Platform | Install |
|---|---|
| Claude Code | /plugin marketplace add mem9-ai/mem9 then /plugin install mem9@mem9 |
| OpenCode | Add "plugin": ["@mem9/opencode"] to opencode.json |
| OpenClaw | Add mnemo to openclaw.json plugins (see openclaw-plugin/README) |
Provision a tenant and set credentials.
curl -s -X POST localhost:8080/v1alpha1/mem9s
# → {"id":"..."}
export MEM9_API_URL="http://localhost:8080"
export MEM9_API_KEY="..."
All agents pointing at the same tenant ID share one memory pool.
AI coding agents — Claude Code, OpenCode, OpenClaw, and others — often maintain separate local memory files. As a result:
mnemos gives every agent a shared, cloud-persistent memory with hybrid vector + keyword search — powered by TiDB Cloud Starter.
mnemos uses TiDB Cloud Starter (formerly TiDB Cloud Serverless) as the backing store for mnemo-server:
| Feature | What it means for you |
|---|---|
| Free tier | 25 GiB storage, 250M Request Units/month — enough for most individual and small team use |
| TiDB Cloud Zero | Instant database provisioning via API — no signup required for first 30 days |
| Native VECTOR type | Hybrid search (vector + keyword) without a separate vector database |
Auto-embedding (EMBED_TEXT) | TiDB generates embeddings server-side — no OpenAI key needed for semantic search |
| Zero ops | No servers to manage, no scaling to worry about, automatic backups |
| MySQL compatible | Migrate to self-hosted TiDB or MySQL anytime |
This architecture keeps agent plugins stateless — all state lives in mnemo-server, backed by TiDB.
mnemos provides native plugins for major AI coding agent platforms:
| Platform | Plugin | How It Works | Install Guide |
|---|---|---|---|
| Claude Code | Hooks + Skills | Auto-loads memories on session start, auto-saves on stop | claude-plugin/README.md |
| OpenCode | Plugin SDK | system.transform injects memories, session.idle auto-captures | opencode-plugin/README.md |
| OpenClaw | Memory Plugin | Replaces built-in memory slot (kind: "memory"), framework manages lifecycle | openclaw-plugin/README.md |
| Any HTTP client | REST API | curl to mnemo-server | API Reference |
All plugins expose the same 5 tools: memory_store, memory_search, memory_get, memory_update, memory_delete.
[!NOTE]
🤖 For AI Agents: Use the Quick Start above to deploy mnemo-server and provision an API key, then follow the platform-specific README for configuration details.