LanceDB Hybrid Search Memory Plugin
LanceDB long-term memory plugin with BM25 + vector hybrid search (RRF or linear reranking).
LanceDB long-term memory plugin with BM25 + vector hybrid search (RRF or linear reranking).
Real data. Real impact.
Emerging
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
This skill packages a drop-in OpenClaw memory plugin that adds hybrid search to LanceDB memory:
rrf (Reciprocal Rank Fusion, recommended)linear (weighted combination)It is based on (and credits) OpenClaw PR openclaw/openclaw#7636.
A local plugin (extension) located at:
plugin/ → overrides the built-in plugin id memory-lancedb (adds hybrid search)Once enabled, it provides the same tools as the bundled LanceDB memory plugin:
memory_storememory_recallmemory_forget…but
memory_recall/auto-recall/forget now use hybrid search when enabled.
~/.openclaw/workspace/skills/memory-lancedb-hybrid/plugincd ~/.openclaw/workspace/skills/memory-lancedb-hybrid/plugin npm install --omit=dev
This plugin keeps the id
memory-lancedb, so it will override the bundled memory-lancedb extension when discovered via plugins.load.paths (higher precedence than bundled).
Edit
~/.openclaw/openclaw.json:
{ plugins: { load: { // Point at the plugin directory inside this skill paths: ["~/.openclaw/workspace/skills/memory-lancedb-hybrid/plugin"] },// Ensure the memory slot points at LanceDB memory slots: { memory: "memory-lancedb" }, // Configure LanceDB memory (this override adds the `hybrid` config block) entries: { "memory-lancedb": { enabled: true, config: { embedding: { apiKey: "${OPENAI_API_KEY}", model: "text-embedding-3-small" }, // Optional dbPath: "~/.openclaw/memory/lancedb", // Optional autoCapture: true, autoRecall: true, // Hybrid search options hybrid: { enabled: true, reranker: "rrf" // If using reranker: "linear", you can also set: // vectorWeight: 0.7, // textWeight: 0.3, } } } }} }
Hybrid search needs an FTS index on the
text column; the plugin will attempt to create it automatically. If FTS setup fails for any reason, the plugin logs a debug message and falls back to vector-only search.
All config lives under
plugins.entries.memory-lancedb.config.
hybrid.enabled (boolean, default true)hybrid.reranker (rrf | linear, default rrf)hybrid.vectorWeight (number 0–1, default 0.7, only used for linear)hybrid.textWeight (number 0–1, default 0.3, only used for linear)memory-lancedb at runtime (remove plugins.load.paths to revert).dbPath.hybrid.enabled is true and that the FTS index was created (check Gateway logs).plugin/index.ts – plugin implementation (hybrid search)plugin/config.ts – config parsing + UI hintsplugin/openclaw.plugin.json – manifest + JSON Schema (used for strict config validation)No automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
© 2026 Torly.ai. All rights reserved.