memento
Memento — Local Persistent Memory for OpenClaw Agents
Memento gives your agents long-term memory. It captures conversations, extracts structured facts using an LLM, and auto-injects relevant knowledge before each AI turn.
All stored data stays on your machine — no cloud sync, no subscriptions. Extraction uses your configured LLM provider; use a local model (Ollama) for fully air-gapped operation.
⚠️ Privacy note: When
autoExtractis enabled, conversation segments are sent to your configured LLM provider for fact extraction. If you use a cloud provider (Anthropic, OpenAI, Mistral), that text leaves your machine. For fully local operation, setextractionModeltoollama/<model>and keep Ollama running locally.
What It Does
- Captures every conversation turn, buffered per session
- Extracts structured facts (preferences, decisions, people, action items) via configurable LLM (opt-in — see Privacy section)
- Recalls relevant facts before each AI turn using FTS5 keyword search + optional semantic embeddings (BGE-M3)
- Respects privacy — facts are classified as
shared,private, orsecretbased on content, with hard overrides for sensitive categories (medical, financial, credentials) - Cross-agent knowledge — shared facts flow between agents with provenance tags; private/secret facts never cross boundaries
Quick Start
Install the plugin, restart your gateway, and Memento starts capturing automatically. Extraction is off by default — enable it explicitly when ready.