mr-memory
v3.7.0
Published
MemoryRouter persistent memory plugin for OpenClaw — your AI remembers every conversation
Maintainers
Readme
mr-memory
mr-memory OpenClaw plugin — persistent AI memory that survives compaction and session resets.
OpenClaw agents forget conversations after compaction. mr-memory fixes that. Every conversation is stored and the most relevant context is automatically injected into every response — not just at session start, but continuously.
Powered by MemoryRouter. 50M tokens free.
Install
openclaw plugins install mr-memorySetup
openclaw mr <your-memory-key> # Get a key at memoryrouter.ai
openclaw mr upload # Upload workspace + session historyCommands
openclaw mr status # Vault stats
openclaw mr upload # Upload workspace + sessions
openclaw mr upload --brain ~/.notopenclaw # Upload from a different agent
openclaw mr off # Disable
openclaw mr delete # Clear vault
openclaw mr <key> # Enable with keyUpload Options
openclaw mr upload [path] # Specific file or directory
openclaw mr upload --workspace <dir> # Custom workspace directory
openclaw mr upload --brain <dir> # Custom state dir (sessions from another agent)How It Works
When enabled, the mr-memory OpenClaw plugin routes all LLM calls through MemoryRouter, which automatically:
- Retrieves relevant memories from past conversations before every response
- Injects that context into the prompt so the agent knows what's happened before
- Stores new conversations for future recall
Your provider API keys pass through untouched (BYOK). Only direct user-to-AI conversation is stored — tool use and subagent work are excluded automatically.
Why mr-memory
- Survives compaction — memories persist even when OpenClaw summarizes/compacts conversation history
- Survives restarts — stored externally, not in the session
- Full fidelity — stores raw conversations, not lossy summaries
- Continuous — queries memory on every message, not just session start
- Zero config — one command install, one command setup
Config
After openclaw mr <key>, config is stored at:
{
"plugins": {
"entries": {
"memoryrouter": {
"enabled": true,
"config": {
"key": "mk_xxx",
"endpoint": "https://api.memoryrouter.ai"
}
}
}
}
}License
MIT
