LodeDB adds fast local memory for coding agents
LodeDB is an embedded, on-disk for local and agent memory. It installs with `pip install lodedb` and keeps data fully local. It can replace the default vector store in LangChain, LlamaIndex, and mem0, and it also supports LlamaIndex PropertyGraphStore.
On a 17,500-document collection, its on-disk size was 4 to 7 times smaller than the in-memory defaults, and median query latency was under 1 millisecond on a CPU. Its MCP server can be installed with one command for Claude Code, Cursor, LM Studio, Codex, and . Search returns the stored text together with score, ID, and metadata, so the model can rank and answer in one step instead of doing another lookup.
Built-in combines BM25 with , then merges results with RRF, helping exact strings like error codes, s, and dates appear alongside meaning-based matches. WAL is the default commit mode, and durable adds are described as taking less than 1 millisecond, so writes are designed not to block the workflow for long.
Key points
- LodeDB is a local on-disk for RAG and agent memory.
- It works as a replacement store for LangChain, LlamaIndex, and mem0.
- In one 17,500-document test, storage was 4 to 7 times smaller and median CPU query time was under 1 millisecond.
- The MCP server supports Claude Code, Cursor, LM Studio, Codex, and .
- combines BM25 and so exact codes, dates, and s are not missed.