langchain-milvus
An integration package connecting Milvus and LangChain
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no security vulnerabilities, low install friction, and MIT licensing. Install it if you are building LangChain applications that need vector storage and retrieval—it is the direct integration point between LangChain and Milvus.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; langchain-core and pymilvus must be installed and configured.
- Low install friction with a pure-Python wheel.
- Active maintenance: last commit 2026-07-25, release 28 days old.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2026-07-17 (28 days) · last repo commit 2026-07-25 · 58 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 675,671 downloads/mo, #5,384 on PyPI
Alternatives
Verify before relying
pip install langchain-milvus
from langchain_milvus import Milvus
from langchain_core.embeddings import Embeddings
vector_store = Milvus(embedding_function=your_embeddings, collection_name="my_collection")- Whether milvus-lite runs without additional system dependencies on all supported platforms.
- Performance characteristics and scaling limits for the vector search operations.
- Specific async API coverage and whether all retrieval methods support async.
What it is and what it does
langchain-milvus bridges LangChain and Milvus, a vector database built for similarity search and AI workloads. It lets you store embeddings from any LangChain embedding model in Milvus and retrieve them via vector similarity, hybrid search (combining vector and keyword matching), and diversity-filtered results. The package wraps Milvus operations as a LangChain VectorStore, so you can use it directly in retrieval chains and RAG pipelines without learning Milvus internals.
The integration supports multiple vector fields per collection, sparse embeddings, Milvus built-in functions like BM25, and full async operations. It is actively maintained, has no known vulnerabilities, and depends on three runtime packages: langchain-core (the LangChain abstraction layer), milvus-lite (an embedded Milvus instance), and pymilvus (the Python client for Milvus).
Use it for
- Build RAG (Retrieval Augmented Generation) pipelines that fetch relevant documents from Milvus before passing them to an LLM.
- Implement semantic search over embeddings stored in Milvus, returning results ranked by vector similarity.
- Combine vector search with full-text search (hybrid search) to balance semantic and keyword relevance.
- Store and retrieve sparse vector embeddings for specialized AI models that produce sparse representations.
- Filter search results for diversity using maximal marginal relevance to avoid redundant or near-duplicate results.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no security vulnerabilities, low install friction, and MIT licensing. Install it if you are building LangChain applications that need vector storage and retrieval—it is the direct integration point between LangChain and Milvus.
Install
langchain-milvus on PyPI
Before you install
Low install friction with a pure-Python wheel. Active maintenance: last commit 2026-07-25, release 28 days old. Depends on langchain-core, milvus-lite, and pymilvus.
Requires Python 3.10 or later; langchain-core and pymilvus must be installed and configured.
License in practice
MIT license is permissive; you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install langchain-milvus
from langchain_milvus import Milvus
from langchain_core.embeddings import Embeddings
vector_store = Milvus(embedding_function=your_embeddings, collection_name="my_collection")
Verify before relying
- Whether milvus-lite runs without additional system dependencies on all supported platforms.
- Performance characteristics and scaling limits for the vector search operations.
- Specific async API coverage and whether all retrieval methods support async.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packageslangchain-coremilvus-litepymilvus |
| Maintenance | Actively maintained 28 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 675,671 / month, #5,384 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13 |
Evidence: langchain_milvus-0.4.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “milvus embeddings storage”
- langchain-milvusIntegrates LangChain with Milvus vector database to enable vector…
- llama-index-vector-stores-milvusIntegrates the Milvus vector database with LlamaIndex for storing and…
- pymilvus.modelProvides embedding and reranker model integrations for Milvus vector…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also langchain-chroma · milvus-lite · pymilvus.model · llama-index-vector-stores-milvus · langchain-qdrant · langchain-weaviate · langchain-plaid · langchain-redis · langchain-pinecone · langchain-graph-retriever