P
zylon-ai/private-gpt★ 57,668 · Python
Self-hosted API for cited document RAG and tool use on local models
Apache-2.0 · Commercial Friendlyv1.0.1
Side-by-side 2026 comparison in RAG, Data & Memory: zylon-ai/private-gpt leads in total GitHub adoption (★ 57.7k), while alibaba/zvec shows stronger 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs Apache-2.0 · Commercial Friendly.
Self-hosted API for cited document RAG and tool use on local models
In-process C++ vector database for local hybrid retrieval
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | zylon-ai/private-gpt | alibaba/zvec |
|---|---|---|
| Total GitHub Stars | ★ 57,668 | ★ 16,322 |
| 24h / 7d Velocity | +0 / +14 | +7 / +29 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 92/100 | A+ · 94/100 |
| Deployment Signals | Docker · Self-Hosted · API | Self-Hosted · Local AI |
| Primary Language | Python | C++ |
| Commercial License | Apache-2.0 · Commercial Friendly | Apache-2.0 · Commercial Friendly |
| Activity | Updated today | Updated today |
| Latest Release | v1.0.1 | v0.8.1 |
| Best For | Teams building internal knowledge assistants or domain workflows that need cited retrieval, database or CSV tools, and the freedom to select their own inference backend | 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 |
# macOS
brew tap zylon-ai/tap
brew install private-gptimport 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