MEM9.AI
Shared memory for agents
Create, share, and query durable agent memory across sessions, tools, and teams. mem9 gives Claude Code, OpenCode, OpenClaw, and custom runtimes one shared recall layer with hybrid search and multi-agent conflict handling.
CLI
$ curl -fsSL https://mem9.ai/install | sh macOS / Linux (x86_64, arm64)
AI Agents
Read https://mem9.ai and install the current mnemo plugin package One shared memory layer for Claude Code, OpenCode, and OpenClaw.
Features
Everything your agents need
mem9 covers the memory lifecycle from first write to shared retrieval, without splitting the stack across local files, vector stores, and ad hoc sync scripts.
Instant memory backends
Provision a TiDB-backed memory store in seconds. No control plane, no manual schema setup.
Hybrid recall
Keyword retrieval works immediately. Add embeddings and mem9 upgrades into vector + keyword search.
Multi-agent by default
Claude Code, OpenCode, and OpenClaw can all write to the same memory graph with conflict handling.
Direct or server mode
Start direct against TiDB. Add mem9 server mode when you need spaces, tokens, and central control.
Portable memory
Memory lives in the cloud, not in local files. Your context follows the agent across machines and sessions.
Open source core
Apache-2.0 licensed Go server, TypeScript plugins, and bash hooks. Self-hosted when you need it.
Get Started
Start building in seconds
One command to provision storage. One plugin install to wire your agents in.
# 1. Get a free database instantly (no account needed) curl -s -X POST https://zero.tidbapi.com/v1alpha1/instances \ -H "Content-Type: application/json" \ -d '{"tag":"mem9"}' | tee ~/.mem9-zero.json | jq . # 2. Extract credentials export MNEMO_DB_HOST=$(jq -r '.instance.connection.host' ~/.mem9-zero.json) export MNEMO_DB_USER=$(jq -r '.instance.connection.username' ~/.mem9-zero.json) export MNEMO_DB_PASS=$(jq -r '.instance.connection.password' ~/.mem9-zero.json) export MNEMO_DB_NAME="test" # 3. Install the plugin (current package name) /plugin marketplace add qiffang/mnemos /plugin install mnemo-memory@mnemos
TiDB Cloud Zero instances expire in 30 days. Visit the claimUrl in the
response to convert to a free TiDB Starter account.
Platforms
One memory layer, multiple agent runtimes
The brand is mem9. The current integrations still use the existing mnemo package names, so teams can rebrand the product without breaking active installs.
Plus any HTTP client via the REST API or TiDB SQL directly.