Discover and explore top open-source AI tools and projects—updated daily.
win4rAdvanced memory management for AI agents
New!
Top 35.9% on SourcePulse
Summary
memory-lancedb-pro enhances the OpenClaw AI agent framework by providing advanced long-term memory capabilities. It targets developers needing sophisticated context management, offering hybrid retrieval (vector + BM25), cross-encoder reranking, multi-scope isolation, and a management CLI. This plugin significantly boosts agent recall accuracy and contextual relevance beyond basic vector stores.
How It Works
This OpenClaw plugin integrates LanceDB for persistent memory storage, supporting both vector embeddings and BM25 full-text indexing. Its core innovation lies in a multi-stage retrieval pipeline: queries are processed via hybrid vector/BM25 search, fused using a boosted Reciprocal Rank Fusion (RRF) strategy, and then reranked by configurable cross-encoders (e.g., Jina, SiliconFlow). Further refinements include recency boosts, time decay, length normalization, and MMR diversity, ensuring relevant and non-redundant memory injection. Adaptive retrieval and noise filtering optimize query processing.
Quick Start & Requirements
Installation involves cloning the repository into the OpenClaw workspace's plugins/ directory (e.g., workspace/plugins/memory-lancedb-pro) and running npm install. Alternatively, clone elsewhere and specify an absolute path in openclaw.json. Prerequisites include an OpenClaw environment, Node.js, and an OpenAI-compatible embedding API key (e.g., Jina, OpenAI, Gemini, Ollama). Configuration requires setting up embedding models and optionally reranker endpoints. A video tutorial is available at https://youtu.be/MtukF1C8epQ.
Highlighted Details
Maintenance & Community
The README does not detail specific maintainers, sponsorships, or community channels like Discord/Slack. Primary community interaction points are likely the GitHub repository itself and associated OpenClaw channels.
Licensing & Compatibility
The project is released under the permissive MIT license, allowing for commercial use and integration into closed-source applications without significant restrictions.
Limitations & Caveats
This plugin requires an active OpenClaw installation and configuration of external embedding/reranking services. Session memory is disabled by default. The extensive configuration options, while powerful, may present a learning curve for users seeking basic memory functionality.
22 hours ago
Inactive
agentscope-ai