Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Adds intelligent long-term memory to agents for auto-capturing, recalling, and managing user facts and preferences across sessions.
Adds intelligent long-term memory to agents for auto-capturing, recalling, and managing user facts and preferences across sessions.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
Mem0 integration for OpenClaw. Adds intelligent long-term memory to your agents, allowing them to remember user preferences, facts, and past conversations automatically.
You want your agent to remember user details (name, job, preferences) across sessions You need "infinite context" by retrieving relevant past interactions You want to build a personalized assistant that learns over time You need both cloud (managed) and self-hosted (local) memory options
Get a free API key at mem0.ai Add to your OpenClaw config: { "plugins": { "entries": { "openclaw-mem0": { "enabled": true, "config": { "mode": "platform", "apiKey": "your-mem0-api-key", "userId": "default-user" } } } } }
Connect to your own Mem0 instance (requires mem0ai package installed): { "plugins": { "entries": { "openclaw-mem0": { "enabled": true, "config": { "mode": "open-source", "oss": { "vectorStore": { "provider": "chroma", "config": { "collectionName": "memories", "path": "./chroma_db" } } } } } } } }
This plugin works automatically (Zero-Shot) but also provides manual tools.
Auto-Recall: Before every agent turn, it searches memory for relevant context and injects it into the system prompt. Auto-Capture: After every agent turn, it analyzes the conversation and stores key facts into memory.
The agent can proactively call these tools: ToolDescriptionParametersmemory_storeExplicitly save a facttext (string), longTerm (bool)memory_searchSearch memoriesquery (string), scope ("session"|"long-term")memory_getGet memory by IDmemoryId (string)memory_listList all memoriesuserId (string)memory_forgetDelete a memorymemoryId (string) or query (string)
User: "I'm moving to Tokyo next month." Agent automatically captures this fact. (Two weeks later) User: "What's a good restaurant for my farewell dinner?" Agent automatically recalls "User is moving to Tokyo" and suggests a restaurant in their current city.
openclaw-mem0/ package.json # NPM package config (@xray2016/openclaw-mem0) index.ts # Plugin implementation & tools lib/ # Internal Mem0 client implementation SKILL.md # This file README.md # Detailed documentation
Maintained by @xRay2016. Modified from the original Mem0 OpenClaw integration.
Agent frameworks, memory systems, reasoning layers, and model-native orchestration.
Largest current source with strong distribution and engagement signals.