Back to browse
GitHub Repository

open source version xtrace sdk

987 starsPython

XTrace – Encrypted vector DB (search embeddings without exposing them)

by TristanX·Apr 22, 2026·13 points·3 comments

AI Analysis

●●●BangerWizardryBig BrainZero to One

Homomorphic encryption on vector search when Pinecone and Qdrant require plaintext on server.

Strengths
  • Paillier homomorphic encryption lets server compute similarity on ciphertexts
  • Keys never leave client environment — genuine zero-knowledge architecture
  • Open source SDK with offline verification tests, no account required
Weaknesses
  • Latency overhead from encryption operations acknowledged but not benchmarked
  • Early stage with only 7 commits — production readiness unclear
Category
Target Audience

Enterprises doing RAG on sensitive data (medical, legal, financial)

Similar To

Pinecone · Weaviate · Qdrant

Post Description

Hey everyone! This is XTrace. Wanted to share what we’ve been working on for the past year.

We built a private vector database from the ground up that performs similarity search on encrypted vectors. The server never sees your plaintext embeddings or documents.

The problem we’re trying to solve: every vector DB today requires plaintext on the server. If you're doing RAG over sensitive data (medical, legal, financial), your embeddings — which researchers have shown can be inverted to recover original text — sit exposed on someone else's infrastructure.

XTrace encrypts everything on your machine first. Vectors get Paillier homomorphic encryption, text gets AES-256. The server stores and searches only ciphertexts. Your keys never leave your environment.

We just open-sourced the SDK (Apache 2.0). You can run the encryption verification tests offline without even creating an account.

Trade-offs we're upfront about: there's latency overhead from the encryption operations. We're actively optimizing this. The free tier is rate-limited but fully functional.

Happy to answer questions about the crypto approach, architecture decisions, or anything else.

Similar Projects

AI/ML●●Solid

PardusDB – SQLite-like vector database in Rust

Using a single-file .pardus format with CREATE/INSERT/SELECT + SIMILARITY queries gives a very familiar developer UX for embedding storage. The combination of graph-based ANN, full transactions, thread-safety, and zero external dependencies is an uncommon and useful engineering combo for local-first AI work; it would win more attention with benchmark comparisons and richer ecosystem integrations (connectors/clients).

Niche GemWizardry
JasonHEIN
204mo ago