# Milvus — card for AI agents

Open-source vector database for similarity search over billions of embeddings, self-hosted or embedded (Milvus Lite).

Maker: LF AI & Data Foundation (created by Zilliz) · category: Vector databases

## Price (official page)
- Free tier: none listed
- Free tier terms: open source (read from the wording above and the pricing page; empty = not stated)
- Note: Free self-hosted open source; the managed version is sold as Zilliz Cloud.

## Connect
- Official MCP server: https://github.com/zilliztech/mcp-server-milvus
- npm: `npm install @zilliz/milvus2-sdk-node`
- PyPI: `pip install pymilvus`
- Repository: https://github.com/milvus-io/milvus

## For AI agents on LF AI & Data Foundation (created by Zilliz)'s own site (AgentGid check 2026-11-13: 4 of 6)
- llms.txt: https://milvus.io/llms.txt
- Docs pages as Markdown: 86% of the pages llms.txt lists
- OpenAPI description: none found at the usual places
- Official MCP server: yes · official SDK: yes · status page: no
- robots.txt lets AI assistants (ChatGPT-User, Claude-User) read the site: yes

## Price history in AgentGid's catalog (since 2026-10-10)
- Changes recorded: 0 (a vendor price change or an editor's correction; the evidence archive keeps the pricing page of each date)

## Other APIs in this category
- Algolia: https://agentgid.com/apis/algolia/agent.md
- Supabase (pgvector): https://agentgid.com/apis/supabase-pgvector/agent.md
- pgvector: https://agentgid.com/apis/pgvector/agent.md
- Elasticsearch (Elastic Cloud): https://agentgid.com/apis/elastic-cloud/agent.md
- Qdrant Cloud: https://agentgid.com/apis/qdrant-cloud/agent.md

## Links
- AgentGid page: https://agentgid.com/apis/milvus/


## Milvus: open-source database for search by meaning

Milvus is a free, open-source database that you run yourself, not an online service with its own key. It stores texts, images or products as lists of numbers that capture their meaning, and finds the closest matches to a question. It runs inside a Python program on a laptop, on one server, or on a large cluster; the hosted version is sold as Zilliz Cloud.

### Where to use it
- Search your help pages by meaning: Visitors type "forgot my login" and still find the article "Reset your password", because Milvus compares meaning, not exact words.
- Chatbot that answers from your files: Store your documents in Milvus, and let the chatbot pull the closest passages before it writes an answer.
- Results in one language only: Search by meaning but keep only items with a given label, such as one language, one shop or one customer.
- Similar products and films: Show "you may also like" items next to a product or a film, based on what the item is about.
- Find duplicate photos: Spot near-identical images that users upload, so the same photo is not stored or listed twice.
- Try it on a laptop first: Build and test your search inside one Python program with no server, then move the same code to a real server later.

### How to start
- Install the Python client together with the local Milvus Lite engine (Python 3.10 or later).

```
python3 -m pip install "pymilvus[milvus-lite]==3.0.2" "milvus-lite==3.2.2"
```

- Open a local database and create a collection with the size of your number lists.

```
from pymilvus import MilvusClient

client = MilvusClient("milvus_demo.db")
client.create_collection(
    collection_name="demo_collection",
    dimension=768,  # The vectors we will use in this demo have 768 dimensions
)
```

- For production, run Milvus Standalone in Docker (or Distributed on Kubernetes), or use Zilliz Cloud, and connect with its address and token.

```
client = MilvusClient(uri="http://localhost:19530", token="root:Milvus")
```


### License
Milvus is open source under the Apache 2.0 license. You may use it for free in paid products and client work, change it and pass it on, if you keep the license and notices.

### Good to know
- There is no Milvus account or bill. You run it yourself, so your own server, memory and backups are your cost and your job.
- Milvus Lite is for local tests and small projects; for big production loads the docs point to a server or Zilliz Cloud.
- A new server starts with the user root and the password Milvus. Change it before the server is reachable from outside.
- Milvus Lite 3 cannot open a database file made by Milvus Lite 2. Export the old data with the old version first.
- Milvus only stores and finds the number lists; your app has to make them with a separate model.

Checked 2026-11-10 against: https://milvus.io/llms.txt, https://milvus.io/docs/quickstart.md, https://github.com/milvus-io/milvus/blob/master/README.md, https://github.com/milvus-io/milvus/blob/master/LICENSE, https://github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/getstarted/quickstart.md, https://github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/getstarted/milvus_lite.md, https://github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/getstarted/install-overview.md, https://github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/about/overview.md, https://github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/about/limitations.md, https://github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/adminGuide/authenticate.md, https://github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/faq/product_faq.md, https://github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/faq/troubleshooting.md, https://github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/integrations/milvus_and_mcp.md, https://github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/getstarted/install_SDKs/install-pymilvus.md, https://github.com/zilliztech/mcp-server-milvus/blob/main/README.md, https://zilliz.com/llms.txt, https://pypi.org/pypi/pymilvus/3.0.2/json, https://pypi.org/pypi/milvus-lite/3.2.2/json, https://registry.npmjs.org/@zilliz/milvus2-sdk-node/3.0.6

### Mistakes to avoid
- Don't: Writing code with the old ORM style (connections.connect(), Collection(), utility.list_collections()) → Do: Use MilvusClient for everything (The docs call the ORM interface deprecated and say it will be removed.)
- Don't: client.update(...) to change a stored item → Do: client.upsert(...), which replaces the whole item when its id exists (There is no update method.)
- Don't: Creating a collection now and planning to add another vector field or change a field type later → Do: Design the fields first; to change them, create a new collection and copy the data (Vector fields cannot be added and field types cannot be changed in any version.)
- Don't: Upgrading milvus-lite to 3.x and opening the old .db file → Do: Export the data with the old Lite version, then import it into a new 3.x database (Lite 3.x uses a new storage format and cannot open 2.x files.)
- Don't: Leaving the default root:Milvus login on a server that others can reach → Do: Turn on authentication, change the root password and give the app its own user (The default user and password are the same on every new install.)

### Questions
- Does Milvus cost anything? No license fee; it is open source under Apache 2.0. You pay only for the machine you run it on, or for Zilliz Cloud if you want it hosted.
- Can I try it without a server or Docker? Yes. Milvus Lite runs inside a Python program and keeps the data in a local folder.
- Do I have to rewrite code to move from Lite to a server? Not much. All modes share the same client interface; you change the address and the login.
- Which languages have official clients? Python (PyMilvus), Java, Go, Node.js and a REST interface; a C# client was contributed by Microsoft.
- Can it do keyword search too? Yes. Milvus has full text search (BM25) and can combine it with search by meaning.

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
