# Milvus

> Canonical: https://skillalmanac.com/glossary/milvus | Verification status: pending | Index status: not offered to search engines

Milvus is an open-source vector database: software that stores embeddings (lists of numbers that capture meaning) with metadata and finds the closest matches to a query. It runs from a laptop to large clusters.

Also called: Milvus vector database, Milvus DB, Milvus database, Milvus Lite, Zilliz Milvus.

## In plain language

Milvus is a database designed for searching by meaning instead of by exact words. You give it vectors, which are lists of numbers that stand for a piece of text, an image or a sound, and later ask for the stored items most similar to a new one. An AI app can use it to fetch relevant material before answering. It is a store and search engine, not an AI model. The results depend on the quality of the embeddings you give it. Larger setups need a cluster of servers to run and maintain, which carries cost and operating work.

## Technical definition

Milvus stores vectors alongside structured metadata and retrieves the nearest entities to a query vector. Its documentation lists in-memory and on-disk index types, including HNSW, IVF, FLAT (brute-force), SCANN and DiskANN, plus quantization-based variants. It ships in three deployment forms: Milvus Lite, a lightweight Python library for prototyping; Milvus Standalone, a single-machine server in one Docker image; and Milvus Distributed, a cloud-native design for Kubernetes clusters. The README says it is written in Go and C++, licensed under Apache 2.0, with Zilliz as its major contributor.

## How it shows up when you use agents

Milvus sits behind an application, not in front of you. A support bot, a documentation search or an agent's memory feature may query it for stored passages and place them in the prompt. This is the retrieval step of [retrieval-augmented generation](/glossary/retrieval-augmented-generation). A coding agent may reach it through an [MCP server](/glossary/mcp-server) that wraps a query tool.

Milvus is a [vector database](/glossary/vector-database), so it depends on [embeddings](/glossary/embedding) created elsewhere. If the embedding model for queries differs from the one used to load data, matches are poor. Its documentation lists several index types, such as HNSW and FLAT (brute-force); approximate indexes generally trade some recall for speed, so one can miss a true nearest neighbour. When [semantic search](/glossary/semantic-search) results look off, test with a small set of known questions and check which passages came back before changing the prompt.

Choose the deployment to match the job. The documentation presents Lite for prototyping, Standalone for one machine and Distributed for Kubernetes clusters. Next step: read [What is RAG](/learn/what-is-rag), then measure your chunking with the [RAG chunking planner](/skills/skill-almanac/rag-chunking-planner) before loading a collection.

## Common confusions

- **Milvus versus Zilliz.** Milvus is the open-source project. Zilliz is the company the README names as its major contributor.
- **Milvus versus an embedding model.** Milvus stores and searches vectors. A separate model turns text into vectors.
- **Vector database versus ordinary database.** An ordinary database matches exact values. A vector database ranks stored items by closeness to a query vector, as IBM describes it.
- **Myth.** Adding a vector database stops a model from guessing. It supplies text to ground on, but the retriever can miss the right passage and the model can still misread it.

## Worked examples in this catalogue

### [What Is RAG? Retrieval-Augmented Generation Explained](https://skillalmanac.com/learn/what-is-rag)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: The guide walks through indexing and querying, then a worked chunking example in which a sentence stored alone loses the company and quarter it belongs to.

Why it exercises the concept: A vector database such as Milvus holds the indexed chunks. The guide shows the indexing and query phases that use it.

### [rag-chunking-planner](https://skillalmanac.com/skills/skill-almanac/rag-chunking-planner)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Your documents split by three chunking strategies, with defects and offline recall reported for each, so chunk settings are chosen with numbers.

Why it exercises the concept: Whatever you insert into a Milvus collection comes from chunking. The skill measures that step before the database exists.

### [library-docs-lookup](https://skillalmanac.com/skills/skill-almanac/library-docs-lookup)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: An answer to a library question drawn from the installed package's own files, with file and line cited.

Why it exercises the concept: It is retrieval for a coding agent that reads installed files directly instead of a vector index, so it shows the retrieve-then-answer idea without a database.

## Related terms

- [Vector database](https://skillalmanac.com/glossary/vector-database.md)
- [Embedding](https://skillalmanac.com/glossary/embedding.md)
- [Semantic search](https://skillalmanac.com/glossary/semantic-search.md)
- [Retrieval-augmented generation (RAG)](https://skillalmanac.com/glossary/retrieval-augmented-generation.md)
- [Self-hosted LLM](https://skillalmanac.com/glossary/self-hosted-llm.md)

## Sources

- [Milvus documentation: What is Milvus](https://milvus.io/docs/overview.md), Milvus (accessed 2026-11-24)
- [milvus-io/milvus (README)](https://github.com/milvus-io/milvus), GitHub (Milvus) (accessed 2026-11-24)
- [What is a vector database?](https://www.ibm.com/think/topics/vector-database), IBM (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above. Independent source and example-target verification is pending. [Glossary index](https://skillalmanac.com/glossary.md).
