zvec: Lightweight Local Vector Search for Your Own Knowledge Base
Alibaba’s open-source zvec embeds vector search like SQLite—no servers. Fast hybrid vector + full-text search, on-disk index, and Zvec Studio.
Find: a lightweight local vector search that lets you quickly build your own knowledge base.
Alibaba’s open-source project zvec has already gained 10.3k stars on GitHub and is actively used inside Alibaba in large production scenarios.
Usually, for vector search you have to spin up a separate service: Pinecone, Weaviate, Qdrant, or something else. On top of that—setup, infrastructure, and deployment. For small projects, this often turns out to be too hardcore.
With zvec, everything is simpler. It embeds the entire vector database directly into your process—roughly the same way SQLite works with relational databases. Install via pip, create a collection with a few lines of code, load the data—and you can run similarity search. No servers, config files, or extra infrastructure; everything is stored in a single local file.
zvec can search among hundreds of millions of vectors in milliseconds and supports hybrid search: vector + full-text. It runs on laptops, servers, and even on edge devices.
The v0.5.0 update from June 12 noticeably expanded the project’s capabilities:
↳ Native full-text search without external search engines
↳ Hybrid search that combines vectors, keywords, and filters in a single query
↳ A new on-disk index that significantly reduces memory usage on large datasets
↳ Zvec Studio — a visual tool for browsing data and debugging without writing code
Comments
Weekly digest
The best of vibe coding, AI agents and open source — once a week, no spam.
Related articles
All articlesOpen-Source RAG Method: 40x Smaller Corpus, 3x Fewer Tokens
New open-source RAG approach shrinks the corpus 40x, cuts query tokens 3x, and boosts vector search relevance by 2.3x. Learn how it works.
Graph-Based Multimodal RAG for Document Processing on LightRAG
Open-source, graph-based universal multimodal RAG system built on LightRAG to process documents and unify text, images, tables, and more.
Build a Second Brain Assistant: RAG, Agents, and LLMOps Course
Open-source Decoding AI course repo to build a personal knowledge base assistant with RAG, agents, ETL, fine-tuning, deployment, and LLMOps tools.