VecLabs
Decentralized vector memory for AI agents. Rust HNSW core. Solana on-chain provenance. 88% cheaper than Pinecone.
Overview
Most vector databases are centralized infrastructure you rent access to. Your data lives on their servers. You trust their uptime, their pricing, and their word that nothing has changed. VecLabs is built differently. Vectors are encrypted with your Solana wallet key and stored on decentralized storage. After every write, a 32-byte Merkle root is posted to Solana β a cryptographic fingerprint of your entire collection, immutable and publicly verifiable. The query engine is a Rust HNSW implementation with no garbage collector, delivering consistent sub-5ms latency that Python and Go-based engines cannot match under load. The result: a vector database that is faster, cheaper, and verifiable by anyone β without trusting VecLabs.Key Features
Sub-5ms Query Latency
Rust HNSW implementation with no garbage collector for consistent performance under load
On-Chain Verification
Merkle root proofs on Solana provide cryptographic verification of collection integrity
88% Cost Savings
Decentralized storage on Shadow Drive eliminates cloud infrastructure markups
Wallet-Based Encryption
AES-256-GCM encryption with keys derived from your Solana wallet
Performance Benchmarks
Measured on Apple M2, 16GB RAM. 100K vectors, 384 dimensions, top-10 query.| Database | p50 | p95 | p99 | Monthly Cost (1M vectors) |
|---|---|---|---|---|
| VecLabs | 1.9ms | 2.8ms | 4.3ms | ~$8 |
| Pinecone s1 | ~8ms | ~15ms | ~25ms | $70 |
| Qdrant | ~4ms | ~9ms | ~15ms | $25+ |
| Weaviate | ~12ms | ~25ms | ~40ms | $25+ |
Live on Solana Devnet
- Program:
8xjQ2XrdhR4JkGAdTEB7i34DBkbrLRkcgchKjN1Vn5nP - Collection:
8iLpyegDt8Vx2Q56kdvDJYpmnkTD2VDZvHXXead75Fm7
Quick Example
Architecture
Three layers. Each does only what it is best at.Installation
Install the TypeScript or Python SDK
Quickstart
Get up and running in 5 minutes
API Reference
Explore the complete API documentation
Why VecLabs?
Faster than centralized alternatives
Faster than centralized alternatives
Rust HNSW with no garbage collector delivers consistent sub-5ms p99 latency that Python and Go-based engines cannot match. No latency spikes under concurrent load.
Cryptographically verifiable
Cryptographically verifiable
Every collection has a Merkle root posted to Solana after every write. Any party can independently verify the exact state of your agentβs memory without trusting VecLabs.
88% cheaper
88% cheaper
Decentralized storage means no cloud infrastructure markups. **70/month on Pinecone s1.
Drop-in Pinecone replacement
Drop-in Pinecone replacement
The SolVec API is intentionally shaped to match Pineconeβs client. Migration is three line changes. Existing LangChain and AutoGen integrations work with minimal modifications.
Current Status
This is alpha software. The API surface is stable and will not change. Backend persistence is in progress.
| Component | Status |
|---|---|
| Rust HNSW core | β Complete β 31 tests, 4.3ms p99 at 100K vectors |
| AES-256-GCM encryption | β Complete |
| Merkle tree + proof generation | β Complete |
| Solana Anchor program | β Live on devnet β 6/6 tests passing |
| TypeScript SDK | β οΈ Alpha β npm install solvec@alpha |
| Python SDK | β οΈ Alpha β pip install solvec --pre |
| Shadow Drive persistence | π§ In progress β vectors currently in-memory |
| WASM Rust bridge | π§ In progress β SDK uses JS fallback |
| Mainnet deployment | π Planned |
| LangChain integration | π Planned |
Next Steps
Install the SDK
Choose TypeScript or Python and install the packageInstallation Guide β
Follow the quickstart
Create your first collection and run your first query in 5 minutesQuickstart β
Understand the architecture
Learn how VecLabs combines Rust HNSW, Shadow Drive, and SolanaArchitecture β
Explore the API
Dive into the complete TypeScript and Python SDK referenceAPI Reference β