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
🚀 Quick Start
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.
The Problem
AI coding agents — Claude Code, OpenCode, OpenClaw, and others — often maintain separate local memory files. As a result:
- 🧠 Amnesia — Agents forget everything when a session ends
- 🏝️ Silos — One agent can't access what another learned yesterday
- 📁 Local files — Memory is tied to a single machine, lost when you switch devices
- 🚫 No team sharing — Your teammate's agent can't benefit from your agent's discoveries
mnemos gives every agent a shared, cloud-persistent memory with hybrid vector + keyword search — powered by TiDB Cloud Starter.
Why 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.
Supported Agents
mnemos provides native plugins for major AI coding agent platforms:
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.