Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
The builtin engine is the default memory backend. It stores your memory index in a per-agent SQLite database and needs no extra dependencies to get started.
If you have an API key for OpenAI, Gemini, Voyage, Mistral, or DeepInfra, the builtin engine auto-detects it and enables vector search. No config needed.
To set a provider explicitly:
json5{ agents: { defaults: { memorySearch: { provider: "openai", }, }, }, }
Without an embedding provider, only keyword search is available.
To force the built-in local embedding provider, install the optional
node-llama-cpplocal.modelPathjson5{ agents: { defaults: { memorySearch: { provider: "local", fallback: "none", local: { modelPath: "~/.node-llama-cpp/models/embeddinggemma-300m-qat-Q8_0.gguf", }, }, }, }, }
| Provider | ID | Auto-detected | Notes |
|---|---|---|---|
| OpenAI | text openai | Yes | Default: text text-embedding-3-small |
| Gemini | text gemini | Yes | Supports multimodal (image + audio) |
| Voyage | text voyage | Yes | |
| Mistral | text mistral | Yes | |
| DeepInfra | text deepinfra | Yes | Default: text BAAI/bge-m3 |
| Ollama | text ollama | No | Local, set explicitly |
| Local | text local | Yes (first) | Optional text node-llama-cpp |
Auto-detection picks the first provider whose API key can be resolved, in the order shown. Set
memorySearch.providerOpenClaw indexes
MEMORY.mdmemory/*.md~/.openclaw/memory/<agentId>.sqliteopenclaw memory index --forceThe builtin engine is the right choice for most users:
Consider switching to QMD if you need reranking, query expansion, or want to index directories outside the workspace.
Consider Honcho if you want cross-session memory with automatic user modeling.
Memory search disabled? Check
openclaw memory statusLocal provider not detected? Confirm the local path exists and run:
bashopenclaw memory status --deep --agent main openclaw memory index --force --agent main
Both standalone CLI commands and the Gateway use the same
localautomemorySearch.local.modelPathStale results? Run
openclaw memory index --forcesqlite-vec not loading? OpenClaw falls back to in-process cosine similarity automatically. Check logs for the specific load error.
For embedding provider setup, hybrid search tuning (weights, MMR, temporal decay), batch indexing, multimodal memory, sqlite-vec, extra paths, and all other config knobs, see the Memory configuration reference.
© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine