Skip to content

LanceDB support request #33

@CrazyAce25

Description

@CrazyAce25

Environment

LocalAI/LocalRecall/LocalAGI/BMAD/KiloCode

Current backend: Chromem/Chromadb

Desired backend: LanceDB

📖 Summary

LocalRecall currently defaults to Chromem/Chromadb, with Qdrant and Milvus listed as planned integrations. I propose adding LanceDB as an additional backend option.

💡 Motivation

Lightweight & Embedded: LanceDB doesn’t require running a separate service, unlike Qdrant or Milvus. It stores vectors locally in Parquet files, making it ideal for developer‑friendly setups.

Performance: Built on Apache Arrow + Parquet, LanceDB offers fast local vector search and efficient memory usage.

Ecosystem Alignment: KiloCode has already added LanceDB support. Adding it to LocalRecall would unify the stack and reduce fragmentation between agents and allow for seamless turn-key integration of BMAD+KiloCode+LocalAI+LocalRecall+LocalAGI.

Avoids Bloat: For users who find Qdrant too heavy, LanceDB provides a leaner alternative without sacrificing retrieval quality.

✅ Expected Behavior

LocalRecall should allow users to configure LanceDB as a backend for both short‑term and long‑term memory storage. This would enable seamless memory sharing between BMAD, KiloCode, and LocalAGI agents using a unified lightweight backend.

🔧 Proposed Solution

Implement a LanceDB backend adapter that conforms to LocalRecall’s existing backend interface.

Map LocalRecall’s memory schema (embeddings + metadata) to LanceDB tables.

Provide configuration options to select LanceDB as the backend.

Add unit tests to validate insert/query/delete operations and ensure retrieval quality.

📈 Benefits

Simplifies local deployments by avoiding external DB services.

Improves performance for larger local datasets compared to Chromem.

Aligns LocalRecall with KiloCode’s new LanceDB support, strengthening ecosystem cohesion.

🙏 Request

Please consider adding LanceDB as a supported backend for LocalRecall. This would give users more flexibility and align LocalRecall with the broader ecosystem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions