Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Feat]: Add Milvus vector store backend #1470

Copy link
Copy link

Description

@zc277584121
Issue body actions

Is your feature request related to a problem?

MemMachine's event-backed long-term memory can already use the VectorStore abstraction with backends such as Qdrant and SQLite-based local stores. Users who already run Milvus, use Zilliz Cloud, or want an embedded Milvus Lite deployment currently cannot configure Milvus as the vector store for that path.

Describe the solution you'd like

Add a Milvus-backed VectorStore implementation that follows the existing VectorStore / VectorStoreCollection contract and mirrors the Qdrant backend's integration points where possible.

Proposed scope:

  • Add MilvusVectorStore / MilvusVectorStoreCollection under memmachine_server.common.vector_store.
  • Use the current pymilvus client API as an optional dependency, exposed through a milvus extra.
  • Support local Milvus Lite through a file URI, and remote Milvus / Zilliz Cloud through uri and token configuration.
  • Add configuration fields such as uri, token, optional db_name, and optional consistency_level.
  • Wire the backend into DatabasesConf, DatabaseManager.get_vector_store(), and the configuration wizard in the same style as the existing vector store providers.
  • Cover collection lifecycle, config mismatch handling, upsert/query/get/delete, filters, score thresholds, and return-vector / return-properties behavior with tests.
  • Add documentation or sample configuration showing Milvus Lite and remote Milvus / Zilliz Cloud usage.

Describe alternatives you've considered

Users can use the existing Qdrant or SQLite vector store backends, but that does not help deployments that already standardize on Milvus or Zilliz Cloud. PostgreSQL/pgvector covers a different storage path and does not provide the same Milvus deployment options.

Additional context

This should fit the existing provider model without changing the higher-level memory APIs. The implementation can keep Milvus-specific behavior isolated behind the VectorStore abstraction and avoid changing event memory semantics.

cc @edwinyyyu @malatewang @sscargal, since this touches the vector store backend/provider shape and configuration flow.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.