Cloud Memory (m0)
Cloud-native persistent memory for OpenClaw. Auto-captures facts after conversations, auto-recalls relevant context before each reply. Hybrid search, query rewrite, experience learning — all behind one API key.
Features
- Auto-Capture: Automatically extracts and stores key facts after each conversation via
agent_endhook - Auto-Recall: Injects relevant memories before each reply via
before_agent_starthook - Hybrid Search: Vector (HNSW) + fulltext + RRF fusion + rerank for high-quality recall
- Query Rewrite: LLM-powered query expansion with context-aware disambiguation
- Experience System: Tracks, distills, and reuses agent experiences across sessions
- Agent Marketplace: Publish, browse, and install community agents
- Cross-Device: Cloud-native storage, no sync or backup setup needed
- Zero Config: One API key to get started
Quick Start
1. Get an API Key
Ask your Cloud Memory service admin for an Access Key (ak_...), or create one:
curl -s -X POST "{ENDPOINT}/api/instances/" \
-H "Content-Type: application/json" \
-d '{"name": "my-memory"}'
2. Install
openclaw add @openclaw/m0
Or use the setup skill:
/openclaw-m0-setup
3. Configure
In ~/.openclaw/openclaw.json:
{
"plugins": {
"entries": {
"m0": {
"enabled": true,
"config": {
"apiKey": "ak_your_key_here",
"baseUrl": "https://your-endpoint",
"autoCapture": true,
"autoRecall": true,
"recallLimit": 10
}
}
}
}
}
Tools Registered
| Tool | Description |
|---|---|
memory_recall | Search long-term memories by semantic similarity |
memory_store | Write a new memory |
memory_forget | Delete a memory by ID |
experience_search | Search experiences and skills by keyword |
experience_detail | View details of a distilled experience |
skill_detail | View details of a skill including procedure steps |
agent_publish | Publish an agent to the marketplace |
agent_browse | Browse community agents |
agent_install | Install an agent from the marketplace |
agent_report | Report a problematic agent |
Requirements
- OpenClaw >= 2026.2.2
- An active Cloud Memory service endpoint
License
MIT