A universal, local-first Python vector database with AES-256 encryption, hybrid search, and zero cloud dependency. Your data never leaves your machine.
# Multi-domain hybrid search & precise scoring
from vecforge import VecForge
db = VecForge(":memory:")
db.add("The quick brown fox jumps over the lazy dog")
db.add("NASA's Artemis aims to return humans to the Moon")
db.add("Authentic Italian pizza requires a wood-fired oven")
results = db.search("space exploration")
for r in results:
print(f"{r.score:.3f} → {r.text}")
1.000 → NASA's Artemis aims to return humans to the Moon
0.134 → Authentic Italian pizza requires a wood-fired oven
0.000 → The quick brown fox jumps over the lazy dog
Perfect [0, 1] Min-Max Normalization across any domain
Enterprise-grade capabilities without cloud lock-in, hidden fees, or egress charges.
SQLCipher-powered encryption at rest. Your data is unreadable without the key. Always use environment variables — never hardcode.
4-stage cascade pipeline: FAISS dense retrieval → BM25 keyword merge → metadata filtering → cross-encoder reranking.
Hard multi-tenant boundaries at the SQL layer. Every query is scoped — tenants never see each other's data.
Admin, read-write, read-only roles with API key mapping. No key = local admin for zero-friction development.
Drop in PDFs, DOCX, HTML, TXT, Markdown. Smart chunking with configurable overlap. Recursive directory support.
Append-only JSONL logs for compliance. Track every add, search, and delete with actor, timestamp, and metadata.
See how VecForge stacks up against popular vector databases.
| Feature | Pinecone | ChromaDB | ⚡ VecForge |
|---|---|---|---|
| Local-first | ❌ Cloud-only | ✅ | ✅ Always |
| Encryption at rest | ❌ | ❌ | ✅ AES-256 |
| Hybrid search | ✅ | ❌ | ✅ Dense + BM25 |
| Namespace isolation | ✅ Cloud | ❌ | ✅ Local |
| RBAC | ✅ Cloud | ❌ | ✅ Built-in |
| Audit logging | ❌ | ❌ | ✅ JSONL |
| Price | $$$$ | Free | ✅ Free |
Real-world use cases to get you started immediately.
Medical record retrieval with namespace isolation per ward and metadata filtering.
NDA and contract search with type/year filtering and clause discovery.
Geospatial dataset discovery with USGS, Sentinel, and OpenStreetMap data.
Retrieval-Augmented Generation with VecForge as the retrieval backend.
Namespace isolation, RBAC, and audit logging for SaaS applications.
Code documentation semantic search with module and method indexing.
Comprehensive guides from quickstart to advanced configuration.
Install VecForge and start searching in under 60 seconds. No cloud account, no API key, no credit card.