Install
openclaw skills install openclaw-semantic-memoryLocal semantic memory with vector search and Transformers.js. Store, search, and recall conversation context using embeddings (fully local, no API keys).
openclaw skills install openclaw-semantic-memoryUse when you need your OpenClaw agent to remember and recall information across conversations using semantic search.
⚠️ Privacy Notice: The optional autoCapture feature (disabled by default) can capture PII like emails and phone numbers if you enable allowPIICapture. Only enable if you understand the privacy implications.
Local semantic memory plugin powered by vector search and Transformers.js embeddings. Zero configuration, fully local, no API keys required.
clawhub install semantic-memory
First-time setup: This plugin downloads a 25MB embedding model from Hugging Face on first run and may require build tools for native dependencies (sharp, onnxruntime). See README for detailed installation requirements.
Enable in your OpenClaw config:
{
"plugins": {
"semantic-memory": {
"enabled": true
}
}
}
Options:
persistToDisk (default: true) - Save memories to disk in memory mode. Data stored in ~/.openclaw-memory/ survives restarts. Set to false for volatile memory.storagePath (optional) - Custom storage directory. Leave empty for default ~/.openclaw-memory/.autoCapture (default: false) - Auto-record conversations. Privacy protection enabled by default: text containing PII (emails, phone numbers) is automatically skipped.allowPIICapture (default: false) - Allow capturing PII when autoCapture is enabled. Only enable if you understand the privacy implications.autoRecall (default: true) - Auto-inject relevant memoriesqdrantUrl (optional) - External Qdrant server (leave empty for in-memory)Three tools available:
memory_store - Save information
memory_store({
text: "User prefers Opus for complex tasks",
category: "preference"
})
memory_search - Find relevant memories
memory_search({
query: "workflow preferences",
limit: 5
})
memory_forget - Delete memories
memory_forget({ memoryId: "uuid" })
// or
memory_forget({ query: "text to forget" })
~/.openclaw-memory/ and survive restarts. Set persistToDisk: false for volatile memory.persistToDisk: false, data cleared on restartallowPIICapture: true only if you understand the privacy implications.