C
chroma-core/chroma★ 29,828 · Rust
Rust-backed vector database for embedded and self-hosted RAG retrieval
Apache-2.0 · Commercial Friendly1.5.9
Side-by-side 2026 comparison in RAG, Data & Memory: chroma-core/chroma leads both total GitHub adoption (★ 29.8k) and recent 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs Apache-2.0 · Commercial Friendly.
Rust-backed vector database for embedded and self-hosted RAG retrieval
In-process C++ vector database for local hybrid retrieval
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | chroma-core/chroma | alibaba/zvec |
|---|---|---|
| Total GitHub Stars | ★ 29,828 | ★ 16,322 |
| 24h / 7d Velocity | +11 / +44 | +7 / +29 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 91/100 | A+ · 94/100 |
| Deployment Signals | Docker · Self-Hosted · API | Self-Hosted · Local AI |
| Primary Language | Rust | C++ |
| Commercial License | Apache-2.0 · Commercial Friendly | Apache-2.0 · Commercial Friendly |
| Activity | Updated 6d ago | Updated today |
| Latest Release | 1.5.9 | v0.8.1 |
| Best For | Teams building document RAG that want to prototype in process, then move to a self-hosted retrieval API with persistent storage and metadata filters | 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 |
query returns a requested number of similar records; get fetches by ID, and metadata or document content can constrain retrieval.pip install chromadb # python client # for javascript, npm install chromadb! # for client-server mode, chroma run --path /chroma_db_path
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