Skip to main content

A high-performance vector database engine with native C++ backend and Python bindings

Project description

English | 简体中文

zvec logo

Code Coverage Main License PyPI Release Python Versions npm Release

alibaba%2Fzvec | Trendshift

🚀 Quickstart | 🏠 Home | 📚 Docs | 📊 Benchmarks | 🔎 DeepWiki | 🎮 Discord | 🐦 X (Twitter)

Zvec is an open-source, in-process vector database — lightweight, lightning-fast, and designed to embed directly into applications. Built on Proxima (Alibaba's battle-tested vector search engine), it delivers production-grade, low-latency, scalable similarity search with minimal setup.

[!IMPORTANT] 🚀 v0.3.0 Released on April 3, 2026

  • New Platforms: Initial Windows (MSVC) and Android support. Published official Windows Python and Node.js packages.
  • Efficiency: RabitQ quantization and CPU Auto-Dispatch for optimized SIMD execution.
  • Ecosystem: C-API for custom language bindings and MCP / Skill integration for AI Agents.

👉 Read the Release Notes | View Roadmap 📍

💫 Features

  • Blazing Fast: Searches billions of vectors in milliseconds.
  • Simple, Just Works: Install and start searching in seconds. No servers, no config, no fuss.
  • Dense + Sparse Vectors: Work with both dense and sparse embeddings, with native support for multi-vector queries in a single call.
  • Hybrid Search: Combine semantic similarity with structured filters for precise results.
  • Runs Anywhere: As an in-process library, Zvec runs wherever your code runs — notebooks, servers, CLI tools, or even edge devices.

📦 Installation

Python

Requirements: Python 3.10 - 3.14

pip install zvec

Node.js

npm install @zvec/zvec

✅ Supported Platforms

  • Linux (x86_64, ARM64)
  • macOS (ARM64)
  • Windows (x86_64)

🛠️ Building from Source

If you prefer to build Zvec from source, please check the Building from Source guide.

⚡ One-Minute Example

import zvec

# Define collection schema
schema = zvec.CollectionSchema(
    name="example",
    vectors=zvec.VectorSchema("embedding", zvec.DataType.VECTOR_FP32, 4),
)

# Create collection
collection = zvec.create_and_open(path="./zvec_example", schema=schema)

# Insert documents
collection.insert([
    zvec.Doc(id="doc_1", vectors={"embedding": [0.1, 0.2, 0.3, 0.4]}),
    zvec.Doc(id="doc_2", vectors={"embedding": [0.2, 0.3, 0.4, 0.1]}),
])

# Search by vector similarity
results = collection.query(
    zvec.VectorQuery("embedding", vector=[0.4, 0.3, 0.3, 0.1]),
    topk=10
)

# Results: list of {'id': str, 'score': float, ...}, sorted by relevance
print(results)

📈 Performance at Scale

Zvec delivers exceptional speed and efficiency, making it ideal for demanding production workloads.

Zvec Performance Benchmarks

For detailed benchmark methodology, configurations, and complete results, please see our Benchmarks documentation.

🤝 Join Our Community

Stay updated and get support — scan or click:

💬 DingTalk 📱 WeChat 🎮 Discord X (Twitter)
DingTalk QR Code WeChat QR Code Discord X (formerly Twitter) Follow
Scan to join Scan to join Click to join Click to follow

❤️ Contributing

We welcome and appreciate contributions from the community! Whether you're fixing a bug, adding a feature, or improving documentation, your help makes Zvec better for everyone.

Check out our Contributing Guide to get started!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

zvec-0.3.1-cp314-cp314-win_amd64.whl (48.0 MB view details)

Uploaded CPython 3.14Windows x86-64

zvec-0.3.1-cp314-cp314-manylinux_2_28_x86_64.whl (44.1 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

zvec-0.3.1-cp314-cp314-manylinux_2_28_aarch64.whl (39.1 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

zvec-0.3.1-cp314-cp314-macosx_11_0_arm64.whl (27.2 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

zvec-0.3.1-cp313-cp313-win_amd64.whl (47.0 MB view details)

Uploaded CPython 3.13Windows x86-64

zvec-0.3.1-cp313-cp313-manylinux_2_28_x86_64.whl (44.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

zvec-0.3.1-cp313-cp313-manylinux_2_28_aarch64.whl (39.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

zvec-0.3.1-cp313-cp313-macosx_11_0_arm64.whl (27.2 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

zvec-0.3.1-cp312-cp312-win_amd64.whl (47.0 MB view details)

Uploaded CPython 3.12Windows x86-64

zvec-0.3.1-cp312-cp312-manylinux_2_28_x86_64.whl (44.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

zvec-0.3.1-cp312-cp312-manylinux_2_28_aarch64.whl (39.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

zvec-0.3.1-cp312-cp312-macosx_11_0_arm64.whl (27.2 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

zvec-0.3.1-cp311-cp311-win_amd64.whl (47.0 MB view details)

Uploaded CPython 3.11Windows x86-64

zvec-0.3.1-cp311-cp311-manylinux_2_28_x86_64.whl (44.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

zvec-0.3.1-cp311-cp311-manylinux_2_28_aarch64.whl (39.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

zvec-0.3.1-cp311-cp311-macosx_11_0_arm64.whl (27.2 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

zvec-0.3.1-cp310-cp310-win_amd64.whl (47.0 MB view details)

Uploaded CPython 3.10Windows x86-64

zvec-0.3.1-cp310-cp310-manylinux_2_28_x86_64.whl (44.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

zvec-0.3.1-cp310-cp310-manylinux_2_28_aarch64.whl (39.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

zvec-0.3.1-cp310-cp310-macosx_11_0_arm64.whl (27.2 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file zvec-0.3.1-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: zvec-0.3.1-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 48.0 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for zvec-0.3.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 fd8078d2f1427c3c6243ddb5a1b2a896dc6b756fc4df8c869016be168e0a5ea2
MD5 79abc22217016f6b01c3bf6963274a73
BLAKE2b-256 90510ba626e72612015194077d85bd15a4295ab2ee5a870d64d2adbcf771a45f

See more details on using hashes here.

File details

Details for the file zvec-0.3.1-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for zvec-0.3.1-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bcd49bec6f6627e0505dfd35d327cb7a2a73700e1d8bc3c20002d5f38d8f9e78
MD5 66f19c42a70d5285c51a90b5c499625e
BLAKE2b-256 3910ba80a27faf64fb6684ab583075de87c2a61fb94516164bbb5aca41b72670

See more details on using hashes here.

File details

Details for the file zvec-0.3.1-cp314-cp314-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for zvec-0.3.1-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 875d33a0d0ba61b19e2d5e9de047937e11b0750ed01fa27cb840fecf16657f25
MD5 85397e095c54faa29fcbd5d7d2e8d068
BLAKE2b-256 8bd7d3158cf0f1a9f91a1a9f00c6c21fdaf6189c8d2cf7c0f9e0c426285e092b

See more details on using hashes here.

File details

Details for the file zvec-0.3.1-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for zvec-0.3.1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 222c046dd3b26eb3604e0080644ef9b6796db1ec1e4dbe1d5eca1201e53dc14e
MD5 4c43175c4c0f43b7ffc82361f254d082
BLAKE2b-256 5eba7cbf9ae0fb05837fc1217f1925d07f26dd1d4f7f9feba7bc2f0b02ff5d99

See more details on using hashes here.

File details

Details for the file zvec-0.3.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: zvec-0.3.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 47.0 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for zvec-0.3.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1318e7f3694a2ffc7c38a61c94a4a9587098d47b3c88be269a7a36b4d992298f
MD5 276e9fdc425242ed2f43f14916d19e86
BLAKE2b-256 84a8e8b6adca17c28d36c91d284c6dd037393a9ed070e44f199f8784ed9024da

See more details on using hashes here.

File details

Details for the file zvec-0.3.1-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for zvec-0.3.1-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 abc939fc7142c5cf27eedf84f65bc66f01b5d7dbc9000065b129fc4b882ae5a9
MD5 95640487e8ecabfb72a1021c2506d5d0
BLAKE2b-256 2159d079d6f4bed05cc24754e3924e8027bc5bea2ee6536fc4972a2e6371b411

See more details on using hashes here.

File details

Details for the file zvec-0.3.1-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for zvec-0.3.1-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a4001a8c807ad4884ea483fc213972d4084d8f25c69ae8340c0c58dee6fec329
MD5 65d379f6575d64f5cf84d0509275c23b
BLAKE2b-256 109fef1abbbb570c61e212c111402bc37f6b210a42fd34ee32b5c2e55f3d4bc4

See more details on using hashes here.

File details

Details for the file zvec-0.3.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for zvec-0.3.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f8ca07805138b4ea56f6e8ef6b6aefd77ce94e876bf9b65528a54c81a9c4fb37
MD5 5fd961130c0f4595eee378a3eada80a7
BLAKE2b-256 627433353b00cca468fb310b4f97c70846b92f4d1ab7ddfd66cde4f0ca84e32d

See more details on using hashes here.

File details

Details for the file zvec-0.3.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: zvec-0.3.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 47.0 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for zvec-0.3.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1f476152c0dd04e12dbaf7dafd5db28386160ebc6483a27ad96907c521a8de4a
MD5 a1b86425a13f6eef8fb7c243881ae02b
BLAKE2b-256 eadccc25e52d30db046cecdf56b5e776268857a136d5272209b7c0bbd8cf5660

See more details on using hashes here.

File details

Details for the file zvec-0.3.1-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for zvec-0.3.1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2fc6017ae66fb3d62cd9573c453497c58066880cfb55dbfb9213d349f11edad1
MD5 4b2724ad2f28fe5bf41aa9f21ccfd066
BLAKE2b-256 6eb4251dc1ea6eb08c8850f6c018456241763bedd77582c8ed06b1bacd58c668

See more details on using hashes here.

File details

Details for the file zvec-0.3.1-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for zvec-0.3.1-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6a0ceb8a0bc8f37d188e07e6abe44565479394b2dd43de87d50d4b064a9f615d
MD5 a60348c8ec3a3aa00edbacc0465ff7b6
BLAKE2b-256 76352a9fc079ea517f5a55223c4f3fee0cacd39c7ffa25b6bde64fbdc0853eef

See more details on using hashes here.

File details

Details for the file zvec-0.3.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for zvec-0.3.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 769bb2e68a2b6b2176a3ff5741eec4d23b0c682cfbf4b528b66e4a2f2709e383
MD5 ca08413b481699e168944828a915f077
BLAKE2b-256 bbf78538e0e008bf7573c83940c8726df9c97a1c3eef5709e176937d9f74e939

See more details on using hashes here.

File details

Details for the file zvec-0.3.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: zvec-0.3.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 47.0 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for zvec-0.3.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 aefc5f40e93474348c86f73f430709cb926f5234c1ca696e3f77cb73a5f041a1
MD5 748b1e9e5ab4e8f0b04a7e37a80a0356
BLAKE2b-256 544445a8b58ecbf0904183c8896cf774d11074768dc2e9b5c1e277f36328d976

See more details on using hashes here.

File details

Details for the file zvec-0.3.1-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for zvec-0.3.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ee2febd1cb872c023eeeeba17bac3fa7471a93b486ac14fb4afca62161a502b7
MD5 035931215d4bf2c93e1a61066397f159
BLAKE2b-256 776f5a7463fedb8fbb543c40297118627feeb1b5dc080b154cd779cdf3879827

See more details on using hashes here.

File details

Details for the file zvec-0.3.1-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for zvec-0.3.1-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 58f3411dc7f0a58a3c1c8d7c20689f7e41d4ad301933d6633fdcc971304e9cea
MD5 77d58307edddcb2b234ee6894974b9a1
BLAKE2b-256 174fe23e2813b7515c75c28261315e24b34b1726163508dd9ee4629d8504233c

See more details on using hashes here.

File details

Details for the file zvec-0.3.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for zvec-0.3.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fdc48fa0f58248596be194bd5fed5eb1dbbdf7daa8346ecd4cb88b0e6f7ff022
MD5 84be9b0ee0fc18ba2ff8dddf7e485b2e
BLAKE2b-256 150c8a375b3f503d984fadc4777978f62e8f171cef94ee8e8e1816e8c8728326

See more details on using hashes here.

File details

Details for the file zvec-0.3.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: zvec-0.3.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 47.0 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for zvec-0.3.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a580aea411a1f003a29e6af2af78e204c0b0d84a35322eb8b8568df446d46c2f
MD5 15da490148cd72b72791a4020aac85f6
BLAKE2b-256 65d15c9cd607b0c30b1693460fd5a1bde6aeaeaa00d89aa2307a4c5147174b9f

See more details on using hashes here.

File details

Details for the file zvec-0.3.1-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for zvec-0.3.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4171e79ee9c990fb7885937367e3ea71455433dd9b9ad205d6d41601ce251207
MD5 40a4a88f013e1b3f97e893e36fc58adb
BLAKE2b-256 454f3dcbe8676e5e2ded870bb0724b179207900015fea52da4263e21f7ed4787

See more details on using hashes here.

File details

Details for the file zvec-0.3.1-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for zvec-0.3.1-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1600625b6f2edbd24a60d8452b0a65eddddd0d0a4aa36f64b188133cc473a533
MD5 4aa59561fbf936cf654e7fd59c6909e4
BLAKE2b-256 4f1c108699c670601b5769bbd6193509f5367a5f14c259637f817456998a1422

See more details on using hashes here.

File details

Details for the file zvec-0.3.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for zvec-0.3.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 85920ba47e8cc43de3daa68cec5026856110419f60af7f9f897d85e1ce3af632
MD5 85349fd11253bf58ca127156daefa4c7
BLAKE2b-256 ed90aa7816237c00bb805b5a0e6c89c2d5447669f6f4feec0df50d41c283c57e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page