Install
openclaw skills install openclaw-memoriaThe most advanced memory system for AI agents. 24 cognitive layers, knowledge graph, procedural learning, dialectic queries, AI self-observation, auto skill creation, crash-safe WAL, async prefetch. Works with Claude, Cursor, Copilot, ChatGPT & any OpenClaw agent. 100% local-first (SQLite + Ollama), zero cloud cost, zero API keys required.
openclaw skills install openclaw-memoriaThe most complete memory system for OpenClaw. 20 layers of memory that work together, powered by YOUR choice of LLM.
Configure each layer independently. Mix and match:
| Feature | Memoria | Basic memory plugins |
|---|---|---|
| Memory layers | 20 specialized layers | Single fact store |
| LLM choice | Any local or remote model | Usually hardcoded |
| Per-layer LLM config | ✅ Different model per layer | ❌ |
| Procedural learning | ✅ Learns HOW, not just WHAT | ❌ |
| Error detection | ✅ Auto-captures dangers | ❌ |
| Knowledge graph | ✅ Entities + relations | ❌ |
| Lifecycle management | ✅ Smart aging, never forgets | ❌ or simple TTL |
| Cost | $0 with local models | Varies |
openclaw plugins install clawhub:memoria-plugin
This installs Memoria from the ClawHub registry. No manual steps needed.
If you prefer to inspect the code first:
index.ts (main entrypoint) and openclaw.plugin.json (config schema)cd ~/.openclaw/extensions
git clone https://github.com/Primo-Studio/openclaw-memoria.git memoria
cd memoria && npm install
Then add to your openclaw.json under plugins.entries:
{
"memoria": { "enabled": true },
"memory-convex": { "enabled": false }
}
Just install and restart. Defaults: Ollama + gemma3:4b for extraction, nomic for embeddings.
"memoria": {
"enabled": true,
"config": {
"llm": {
"default": { "provider": "ollama", "model": "qwen3.5:4b" },
"procedural": { "provider": "lmstudio", "model": "your-model" },
"graph": { "provider": "openai", "model": "gpt-4o-mini" }
}
}
}
The full source is available on GitHub: Primo-Studio/openclaw-memoria
Key files:
index.ts — Main plugin entrypoint (hooks, extraction, recall pipeline)procedural.ts — Procedural memory (how-to learning)lifecycle.ts — Lifecycle management (fresh/settled/dormant)scoring.ts — Temporal scoring and relevance rankingselective.ts — Dedup, contradiction detection, fact qualityopenclaw.plugin.json — Configuration schemaWe'd love your feedback! Tell us how Memoria works for you:
Built with ❤️ by Primo Studio 🇬🇫 — AI tooling from French Guiana.