V
VexDB-THU/VexDB-Lite★ 2,318 · C++
In-process graph vector search for PostgreSQL, DuckDB, and SQLite
MIT · Commercial Friendlyv0.0.17
Side-by-side 2026 comparison in RAG, Data & Memory: alibaba/zvec leads both total GitHub adoption (★ 16.3k) and recent 7-day momentum. Licensing: MIT · Commercial Friendly vs Apache-2.0 · Commercial Friendly.
In-process graph vector search for PostgreSQL, DuckDB, and SQLite
In-process C++ vector database for local hybrid retrieval
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | VexDB-THU/VexDB-Lite | alibaba/zvec |
|---|---|---|
| Total GitHub Stars | ★ 2,318 | ★ 16,322 |
| 24h / 7d Velocity | +0 / +0 | +7 / +29 |
| 7-Day Trend Curve | ||
| Engineering Health | A · 86/100 | A+ · 94/100 |
| Deployment Signals | Self-Hosted | Self-Hosted · Local AI |
| Primary Language | C++ | C++ |
| Commercial License | MIT · Commercial Friendly | Apache-2.0 · Commercial Friendly |
| Activity | Updated 28d ago | Updated today |
| Latest Release | v0.0.17 | v0.8.1 |
| Best For | Self-hosted RAG that keeps embeddings and metadata in an existing PostgreSQL deployment, DuckDB pipeline, or local SQLite application, with a team able to validate recall, filtering, and recovery on the chosen engine | Local RAG, desktop or edge search, and application-owned retrieval where a designated writer can maintain the collection and hybrid search should run without a separate database service |
vexdb agent.db vexdb agent.db "SELECT vexdb_l2_distance('[1,2]', '[4,6]');" vexdb fs --db agent.db write /notes/hello.txt vexdb fs --db agent.db grep -n hello /notes vexdb fs --db agent.db check vexdb fs --db agent.db index enable vexdb fs --db agent.db mount ~/VexDB
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.Query(field_name="embedding", vector=[0.4, 0.3, 0.3, 0.1]), topk=10 ) # Results: list of {'id': str, 'score': float, ...}, sorted by relevance print(results)
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy