.1 200 OK Date: Thu, 02 Jul 2026 17:06:57 GMT Content-Type: text/html; charset=utf-8 Vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With, Sec-Fetch-Site,Accept-Encoding, Accept, X-Requested-With ETag: W/"5c10b5686e0c159df9d5da5670da3dcd" Cache-Control: max-age=0, private, must-revalidate Strict-Transport-Security: max-age=31536000; includeSubdomains; preload X-Frame-Options: deny X-Content-Type-Options: nosniff X-XSS-Protection: 0 Referrer-Policy: no-referrer-when-downgrade Content-Security-Policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net productionresultssa1.blob.core.windows.net productionresultssa2.blob.core.windows.net productionresultssa3.blob.core.windows.net productionresultssa4.blob.core.windows.net productionresultssa5.blob.core.windows.net productionresultssa6.blob.core.windows.net productionresultssa7.blob.core.windows.net productionresultssa8.blob.core.windows.net productionresultssa9.blob.core.windows.net productionresultssa10.blob.core.windows.net productionresultssa11.blob.core.windows.net productionresultssa12.blob.core.windows.net productionresultssa13.blob.core.windows.net productionresultssa14.blob.core.windows.net productionresultssa15.blob.core.windows.net productionresultssa16.blob.core.windows.net productionresultssa17.blob.core.windows.net productionresultssa18.blob.core.windows.net productionresultssa19.blob.core.windows.net github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com wss://production-copilot-host.webpubsub.azure.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com user-images.githubusercontent.com private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com explore-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com secured-user-images.githubusercontent.com private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com github.githubassets.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/ Server: github.com Accept-Ranges: bytes Set-Cookie: _gh_sess=k1reOhhIRgECPRUe6W%2B6HBDAtnibMZDyYt68LHpxQvao1ff3%2BYNN8IfohTFaqTR6d8s%2FoaUc9XInQ0Kbue42DVHP2JiTHvT%2F2b1hAwNv1eibedn%2F31PkifUaUVo1q5LV28EPudxUSMb33Rc0cg%2Ffj0L1%2BBfhzDFWq5xJ1xU6ytW7doPLsLzf0KnNSRuCbpl%2FesUK%2F%2BEpHT6XnvSJfX1qe%2BvI6EP2%2BoxqL7mfbHp8unuHtkxC1KyLrGdYaObu3nPOzwHW5N6Hwz9rkzFet0Ht0Q%3D%3D--QW4J%2BJCTr9Bpmkiy--SYdEq7ixt9JaufE7XMvEGw%3D%3D; path=/; HttpOnly; secure; SameSite=Lax Set-Cookie: _octo=GH1.1.591922148.1783012016; expires=Fri, 02 Jul 2027 17:06:56 GMT; domain=.github.com; path=/; secure; SameSite=Lax Set-Cookie: logged_in=no; expires=Fri, 02 Jul 2027 17:06:56 GMT; domain=.github.com; path=/; HttpOnly; secure; SameSite=Lax X-GitHub-Request-Id: D41C:197347:BF2C9:104086:6A469AB0 Transfer-Encoding: chunked 8000 GitHub - milvus-io/milvus: Milvus is a high-performance, cloud-native vector database built for scalable vector ANN search · GitHub Skip to content Navigation Menu Toggle navigation Sign in Appearance settings Platform AI CODE CREATION GitHub Copilot Write better code with AI GitHub Copilot app Direct agents from issue to merge MCP Registry New Integrate external tools DEVELOPER WORKFLOWS Actions Automate any workflow Codespaces Instant dev environments Issues Plan and track work Code Review Manage code changes APPLICATION SECURITY GitHub Advanced Security Find and fix vulnerabilities Code security Secure your code as you build Secret protection Stop leaks before they start EXPLORE Why GitHub Documentation Blog Changelog Marketplace View all features Solutions BY COMPANY SIZE Enterprises Small and medium teams Startups Nonprofits BY USE CASE App Modernization DevSecOps DevOps CI/CD View all use cases BY INDUSTRY Healthcare Financial services Manufacturing Government View all industries View all solutions Resources EXPLORE BY TOPIC AI Software Development DevOps Security View all topics EXPLORE BY TYPE Customer stories Events & webinars Ebooks & reports Business insights GitHub Skills SUPPORT & SERVICES Documentation Customer support Community forum Trust center Partners View all resources Open Source COMMUNITY GitHub Sponsors Fund open source developers PROGRAMS Security Lab Maintainer Community Accelerator GitHub Stars Archive Program REPOSITORIES Topics Trending Collections Enterprise ENTERPRISE SOLUTIONS Enterprise platform AI-powered developer platform AVAILABLE ADD-ONS GitHub Advanced Security Enterprise-grade security features Copilot for Business Enterprise-grade AI features Premium Support Enterprise-grade 24/7 support Pricing Search or jump to... Search code, repositories, users, issues, pull requests... --> Search Clear Search syntax tips Provide feedback --> We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly --> Name Query To see all available qualifiers, see our documentation . Cancel Create saved search Sign in Sign up Appearance settings Resetting focus You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} Uh oh! There was an error while loading. Please reload this page . milvus-io / milvus Public Notifications You must be signed in to change notification settings Fork 4.1k Star 45k Code Issues 763 Pull requests 219 Discussions Actions Projects Wiki Security and quality 2 Insights Additional navigation options Code Issues Pull requests Discussions Actions Projects Wiki Security and quality Insights milvus-io/milvus master Branches Tags Go to file Code Open more actions menu Folders and files Name Name Last commit message Last commit date Latest commit History 24,993 Commits 24,993 Commits .github .github build build ci/ jenkins ci/ jenkins client client cmd cmd configs configs deployments deployments docs docs examples examples githooks githooks internal internal pkg pkg scripts scripts tests tests tools tools .clang-format .clang-format .clang-tidy .clang-tidy .clang-tidy-ignore .clang-tidy-ignore .contributors .contributors .devcontainer.json .devcontainer.json .dockerignore .dockerignore .env .env .gitignore .gitignore .golangci.yml .golangci.yml .pre-commit-config.yaml .pre-commit-config.yaml AGENTS.md AGENTS.md CLAUDE.md CLAUDE.md CODE_OF_CONDUCT.md CODE_OF_CONDUCT.md CODE_REVIEW.md CODE_REVIEW.md COMMAND_HELP.md COMMAND_HELP.md COMMITTERS COMMITTERS CONTRIBUTING.md CONTRIBUTING.md DEVELOPMENT.md DEVELOPMENT.md LICENSE LICENSE MAINTAINERS MAINTAINERS Makefile Makefile OWNERS OWNERS OWNERS_ALIASES OWNERS_ALIASES README.md README.md README_CN.md README_CN.md UPDATE_MILVUS_API.md UPDATE_MILVUS_API.md codecov.yml codecov.yml docker-compose.yml docker-compose.yml go.mod go.mod go.sum go.sum milvus20vs1x.md milvus20vs1x.md rules.go rules.go View all files Repository files navigation README Code of conduct Contributing Apache-2.0 license More items 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 $ pip install - U pymilvus This installs pymilvus , the Python SDK for Milvus. Use MilvusClient to create a client: 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: client = MilvusClient ( "milvus_demo.db" ) You can also specify the credentials to connect to your deployed Milvus server or Zilliz Cloud : client = MilvusClient ( uri = "<endpoint_of_self_hosted_milvus_or_zilliz_cloud>" , token = "<username_and_password_or_zilliz_cloud_api_key>" ) With the client, you can create collection: client . create_collection ( collection_name = "demo_collection" , dimension = 768 , # The vectors we will use in this demo have 768 dimensions ) Ingest data: res = client . insert ( collection_name = "demo_collection" , data = data ) Perform vector search: query_vectors = embedding_fn . encode_queries ([ "Who is Alan Turing?" , "What is AI?" ]) res = client . search ( collection_name = "demo_collection" , # target collection data = query_vectors , # a list of one or more query vectors, supports batch limit = 2 , # how many results to return (topK) output_fields = [ "vector" , "text" , "subject" ], # what fields to return ) Why Milvus Milvus is designed to handle vector search at scale. It stores vectors, which are learned representations of unstructured data, together with other scalar data types such as integers, strings, and JSON objects. Users can conduct efficient vector search with metadata filtering or hybrid search. Here are why developers choose Milvus as the vector database for AI applications: High Performance at Scale and High Availability Milvus features a distributed architecture that separates compute and storage . Milvus can horizontally scale and adapt to diverse traffic patterns, achieving optimal performance by independently increasing query nodes for read-heavy workload and data node for write-heavy workload. The stateless microservices on K8s allow quick recovery from failure, ensuring high availability. The support for replicas further enhances fault tolerance and throughput by loading data segments on multiple query nodes. See benchmark for performance comparison. Support for Various Vector Index Types and Hardware Acceleration Milvus separates the system and core vector search engine, allowing it to support all major vector index types that are optimized for different scenarios, including HNSW, IVF, FLAT (brute-force), SCANN, and DiskANN, with quantization-based variations and mmap . Milvus optimizes vector search for advanced features such as metadata filtering and range search . Additionally, Milvus implements hardware acceleration to enhance vector search performance and supports GPU indexing, such as NVIDIA's CAGRA . Flexible Multi-tenancy and Hot/Cold Storage Milvus supports multi-tenancy through isolation at database, collection, partition, or partition key level. The flexible strategies allow a single cluster to handle hundreds to millions of tenants, also ensures optimized search performance and flexible access control. Milvus enhances cost-effectiveness with hot/cold storage. Frequently accessed hot data can be stored in memory or on SSDs for better performance, while less-accessed cold data is kept on slower, cost-effective storage. This mechanism can significantly reduce costs while maintaining high performance for critical tasks. Sparse Vector for Full Text Search and Hybrid Search In addition to semantic search through dense vector, Milvus also natively supports full text search with BM25 as well as learned sparse embeddings such as SPLADE and BGE-M3. Users can store sparse vectors and dense vectors in the same collection, and define functions to rerank results from multiple search requests. See examples of Hybrid Search with semantic search + full text search . Data Security and Fine-grain Access Control Milvus ensures data security by implementing mandatory user authentication, TLS encryption, and Role-Based Access Control (RBAC). User authentication ensures that only authorized users with valid credentials can access the database, while TLS encryption secures all communications within the network. Additionally, RBAC allows for fine-grained access control by assigning specific permissions to users based on their roles. These features make Milvus a robust and secure choice for enterprise applications, protecting sensitive data from unauthorized access and potential breaches. Milvus is trusted by AI developers to build applications such as text and image search, Retrieval-Augmented Generation (RAG), and recommendation systems. Milvus powers many mission-critical businesses for startups and enterprises. Demos and Tutorials Here is a selection of demos and tutorials to show how to build various types of AI applications made with Milvus: You can explore a comprehensive Tutorials Overview covering topics such as Retrieval-Augmented Generation (RAG), Semantic Search, Hybrid Search, Question Answering, Recommendation Systems, and various quick-start guides. These resources are designed to help you get started quickly and efficiently. Tutorial Use Case Related Milvus Features Build RAG with Milvus RAG vector search Advanced RAG Optimizations RAG vector search, full text search Full Text Search with Milvus Text Search full text search Hybrid Search with Milvus Hybrid Search hybrid search, multi vector, dense embedding, sparse embedding Image Search with Milvus Semantic Search vector search, dynamic field Multimodal Search using Multi Vectors Semantic Search multi vector, hybrid search Movie Recommendation with Milvus Recommendation System vector search Graph RAG with Milvus RAG graph search Contextual Retrieval with Milvus Quickstart vector search Vector Visualization Quickstart vector search HDBSCAN Clustering with Milvus Quickstart vector search Use ColPali for Multi-Modal Retrieval with Milvus Quickstart vector search Image Search RAG Drug Discovery Ecosystem and Integration Milvus integrates with a comprehensive suite of AI development tools , such as LangChain, LlamaIndex, OpenAI and HuggingFace, making it an ideal vector store for GenAI applications such as Retrieval-Augmented Generation (RAG). Milvus works with both open-source embedding models and embedding services, in text, image and video modalities. Milvus also provides a convenient utility pymilvus[model] , users can use the simple wrapper code to transform unstructured data into vector embeddings and leverage reranking models for optimized search results. The Milvus ecosystem also includes Attu for GUI-based administration, Birdwatcher for system debugging, Prometheus/Grafana for monitoring, Milvus CDC for data synchronization, VTS for data migration and data connectors for Spark , Kafka , Fivetran , and Airbyte to build search pipelines. Check out https://milvus.io/docs/integrations_overview.md for more details. Documentation For guidance on installation, usage, deployment, and administration, check out Milvus Docs . For technical milestones and enhancement proposals, check out issues on GitHub . Contributing The Milvus open-source project accepts contributions from everyone. See Guidelines for Contributing for details on submitting patches and the development workflow. See our community repository to learn about project governance and access more community resources. Build Milvus from Source Code Requirements: Linux systems (Ubuntu 20.04 or later recommended): Go: > = 1.21 CMake: > = 3.26.4 && CMake < 4 GCC: > = 11 Python: > 3.8 and < = 3.11 MacOS systems with x86_64 (Big Sur 11.5 or later recommended): Go: > = 1.21 CMake: > = 3.26.4 && CMake < 4 llvm: > = 15 Python: > 3.8 and < = 3.11 MacOS systems with Apple Silicon (Monterey 12.0.1 or later recommended): Go: > = 1.21 (Arch=ARM64) CMake: > = 3.26.4 && CMake < 4 llvm: > = 15 Python: > 3.8 and < = 3.11 Clone Milvus repo and build. # Clone github repository. $ git clone https://github.com/milvus-io/milvus.git # Install third-party dependencies. $ cd milvus/ $ ./scripts/install_deps.sh # Compile Milvus. $ make For full instructions, see developer's documentation . Community Join the Milvus community on Discord to share your suggestions, advice, and questions with our engineering team. To learn the latest news about Milvus, follow us on social media: X LinkedIn YouTube Medium You can also check out our FAQ page to discover solutions or answers to your issues or questions, and subscribe to Milvus mailing lists: Technical Steering Committee Technical Discussions Announcement Reference Reference to cite when you use Milvus in a research paper: @inproceedings{2021milvus, title={Milvus: A Purpose-Built Vector Data Management System}, author={Wang, Jianguo and Yi, Xiaomeng and Guo, Rentong and Jin, Hai and Xu, Peng and Li, Shengjun and Wang, Xiangyu and Guo, Xiangzhou and Li, Chengming and Xu, Xiaohai and others}, booktitle={Proceedings of the 2021 International Conference on Management of Data}, pages={2614--2627}, year={2021} } @article{2022manu, title={Manu: a cloud native vector database management system}, author={Guo, Rentong and Luan, Xiaofan and Xiang, Long and Yan, Xiao and Yi, Xiaomeng and Luo, Jigao and Cheng, Qianya and Xu, Weizhi and Luo, Jiarui and Liu, Frank and others}, journal={Proceedings of the VLDB Endowment}, volume={15}, number={12}, pages={3548--3561}, year={2022}, publisher={VLDB Endowment} } About Milvus is a high-performance, cloud-native vector database built for scalable vector ANN search milvus.io Topics golang distributed nearest-neighbor-search cloud-native image-search vector-similarity faiss anns rag hnsw vector-search vector-database llm embedding-database embedding-store vector-store embedding-similarity diskann Resources Readme License Apache-2.0 license Code of conduct Code of conduct Contributing Contributing Uh oh! There was an error while loading. Please reload this page . Activity Custom properties Stars 45k stars Watchers 332 watching Forks 4.1k forks Report repository Releases 165 milvus-2.6.19 Latest Jun 26, 2026 + 164 releases Uh oh! There was an error while loading. Please reload this page . Contributors Uh oh! There was an error while loading. Please reload this page . Languages Go 57.8% Python 21.3% C++ 19.4% Shell 0.5% Groovy 0.3% HTML 0.2% Other 0.5% Footer © 2026 GitHub, Inc. Footer navigation Terms Privacy Security Status Community 19B4 Docs Contact Manage cookies Do not share my personal information You can’t perform that action at this time. 0