TrendWhat rose on GitHub, every day at 07:30 KST · 한국어

GitHub · as of November 8, 2026 · View on GitHub →

alibaba/zvec

In-process vector database

Embed a vector database in your app to run local similarity search without a server

You can search billions of vectors in milliseconds without spinning up a server, anywhere your code runs. Zvec is a lightweight vector database that embeds directly into your application process, allowing you to perform similarity and full-text search simultaneously without complex infrastructure setup. The recent v0.8.0 release adds support for Intel Macs and Windows ARM64, and enables Chinese full-text search to work immediately without a separate dictionary.

What changed in v0.8.0

This update focuses on broadening platform support. You can now build and use the SDK on Intel-based Macs and Windows ARM64 environments, and the DiskANN index has been extended to Windows, Android, and iOS. Notably, the Jieba dictionary and HMM model are now built-in for Chinese full-text search, so you can use it immediately without separate dictionary files or path configuration. Additionally, peak memory usage has been reduced when creating IVF and DiskANN indexes, and HNSW RaBitQ configuration speed has improved through vector reuse and batch lookups.

How it searches vectors and text together

Zvec supports both dense and sparse vectors and offers various index types that scale from memory to disk. It natively supports full-text search on string fields using natural language or structured expressions, in addition to vector similarity search. You can combine these two with structured filters in a single query to perform hybrid search. Write-ahead logging ensures data is not lost during process crashes or power outages, and concurrent access is possible when multiple processes are read-only.

Installation and getting started

Official SDKs are available for multiple languages, including Python, Node.js, Go, Rust, Java, and Dart/Flutter. Python requires 64-bit Python 3.10 through 3.14, and Java requires Java 8 or higher. To start with Python, install it using the pip install zvec command, then define a collection schema, insert data, and run a similarity query. For searching code or documents, you can use zvec-grep (zg), a local-first CLI tool that integrates ripgrep, BM25, and vector search. If you want to explore data visually and debug queries without coding, you can use Zvec Studio.

In-process architecture that runs anywhere

Zvec operates as a library rather than a server, so it can be used anywhere your code runs, including laptops, servers, CLI tools, and even edge devices. It supports all major platforms, including Linux, macOS, Windows, Android, and iOS. This structure allows you to start searching locally and immediately without external network dependencies, with minimal setup required.

Things to check before using it

Zvec aims for production-grade performance validated within the Alibaba Group, but optimization for specific environments is still ongoing. Using Uniform quantization can avoid score reconstruction, but it may increase quantization error and reduce recall due to shared min/max ranges. Also, thread limits in index creation and parallel training jobs are applied more strictly, so you need to verify settings against your hardware specifications. The README does not explicitly mention license details or long-term support scope, so you should review the official documentation and release notes before applying it to commercial projects.

Written by AI from this repository's README on October 26, 2026. For the facts, the original on GitHub is the reference.

By the numbers

GitHub trending history
10 days between Jun 19, when Trend began recording, and Nov 8, 2026 · best daily rank #7 (Jun 19)

Read from GitHub, as of November 2, 2026. None were read on November 8, 2026.

Language
C++
Topics
agent-skills · db · embedded · faiss · fts · fulltext-search · hnsw · llm-memory
Stars
16,176
Contributors
38
Forks
1,015
Latest release
v0.8.0 · October 21, 2026
Commits
474
Last commit
November 2, 2026
Open issues
47
Open pull requests
54

Related repositories

View on GitHub → · Homepage

README badge

trend.ondo.sh · GitHub daily trending #7 · June 19, 2026

The badge above shows the highest this repository has ranked on GitHub's daily trending since June 19, 2026, and the day it did. Paste the Markdown below into your README. The badge opens this page, and it updates by itself when the repository climbs higher.

[![trend.ondo.sh](https://trend.ondo.sh/github/r/alibaba--zvec/badge.en.svg)](https://trend.ondo.sh/github/r/alibaba--zvec/en.html)