All Repos
RAG & RetrievalGoApache-2.0

milvus

milvus-io/milvus · Updated

Milvus is a high-performance, cloud-native vector database built for scalable vector ANN search

milvus-io/milvus is a Go repository in the RAG & Retrieval category with 46,525 stars and 4,320 forks on GitHub, released under the Apache-2.0 license, last updated today.

#anns#cloud-native#diskann#distributed#embedding-database#embedding-similarity#embedding-store#faiss
View on GitHub 47kGitHub stars

How to install milvus in your AI client

Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.

How to install milvus in Claude CodeAnthropic's agentic CLI

  1. Clone & open

    bash
    git clone https://github.com/milvus-io/milvus.git
    cd milvus
    claude
  2. Let Claude read it

    Ask “/init” to generate a CLAUDE.md, then have Claude explain, run, or extend the codebase. It reads files on demand.

Documentation

Full README

What is Milvus?

🐦 Milvus is a high-performance vector database built for scale. It powers AI applications by efficiently organizing and searching vast amounts of unstructured data, such as text, images, and multi-modal information.

🧑‍💻 Written in Go and C++, Milvus implements hardware acceleration for CPU/GPU to achieve best-in-class vector search performance. Thanks to its fully-distributed and K8s-native architecture, Milvus can scale horizontally, handle tens of thousands of search queries on billions of vectors, and keep data fresh with real-time streaming updates. Milvus also supports Standalone mode for single machine deployment. Milvus Lite is a lightweight version good for quickstart in python with pip install.

Want to use Milvus with zero setup? Try out Zilliz Cloud ☁️ for free. Milvus is available as a fully managed service on Zilliz Cloud, with Serverless, Dedicated and BYOC options available.

For questions about how to use Milvus, join the community on Discord to get help. For reporting problems, file bugs and feature requests in GitHub Issues or ask in Discussions.

The Milvus open-source project is under LF AI & Data Foundation, distributed with Apache 2.0 License, with Zilliz as its major contributor.

Quickstart

python
$ pip install -U pymilvus

This installs pymilvus, the Python SDK for Milvus. Use MilvusClient to create a client:

python
from pymilvus import MilvusClient
  • You can also try Milvus Lite for quickstart by installing pymilvus[milvus-lite]. To create a local vector database, simply instantiate a client with a local file name for persisting data:
python
  client = MilvusClient("milvus_demo.db")
python
  client = MilvusClient(
    uri="<endpoint_of_self_hosted_milvus_or_zilliz_cloud>",
    token="<username_and_password_or_zilliz_cloud_api_key>")

Excerpt — the full document is on GitHub.

More RAG & Retrieval repositories

Catalog data refreshed . Something wrong? Report it.