ZVex is a Zig NIF wrapper around Alibaba’s ZVec, which is a blazing fast in-process Vector Database.
Currently, i’m providing precompiled builds in Linux x86-64, MacOS ARM and Linux ARM64. I tried to build on windows but got bonked by some Zigler issues. So it does not support windows for now.
ZVec Features
- Vector similarity search with HNSW, IVF, and flat index types
- Multiple vector types – fp16, fp32, fp64, int4, int8, int16, binary32, binary64, and sparse vectors
- Distance metrics – L2, inner product, cosine, and MIPS-L2
- Quantization – fp16, int8, and int4 for reduced memory usage
- Schema-based collections with typed fields and index configuration






















