General
What is VecLabs?
What is VecLabs?
- Rust HNSW core — sub-5ms p99 query latency with no garbage collection
- Solana blockchain — immutable Merkle root proofs after every write
- Shadow Drive — encrypted vector storage at $0.000039/MB/epoch
Who is VecLabs for?
Who is VecLabs for?
- Developers using LangChain, AutoGen, CrewAI, LlamaIndex
- Teams deploying autonomous AI agents that need persistent memory
- Enterprises in healthcare, legal, financial services requiring data provenance
- Anyone currently using Pinecone, Qdrant, or Weaviate who wants faster queries + lower costs + on-chain verification
Is VecLabs production-ready?
Is VecLabs production-ready?
- Rust HNSW core (31 tests, 4.3ms p99)
- AES-256-GCM encryption
- Merkle tree + proof generation
- Solana Anchor program (live on devnet)
- TypeScript/Python SDKs
- Shadow Drive persistence (vectors currently in-memory)
- WASM Rust bridge (SDK uses JS fallback)
- Agent memory demo
- Mainnet deployment
- LangChain/AutoGen integrations
How is VecLabs different from Pinecone?
How is VecLabs different from Pinecone?
| Feature | VecLabs | Pinecone |
|---|---|---|
| Query latency (p99) | 4.3ms | ~25ms |
| Cost (1M vectors) | ~$8/month | $70/month |
| Data ownership | Your wallet | Their servers |
| Verification | On-chain Merkle proofs | None |
| Language | Rust (no GC) | Go/Python (GC pauses) |
| Storage | Decentralized (Shadow Drive) | Centralized cloud |
What does 'decentralized' mean in practice?
What does 'decentralized' mean in practice?
- Storage: Vectors are encrypted and stored on Shadow Drive (Solana’s decentralized storage network), not on VecLabs servers
- Verification: Merkle roots are posted to Solana blockchain—publicly auditable by anyone
- Ownership: Data is encrypted with your Solana wallet key—only you can decrypt it
Solana & Blockchain
Why Solana? Why not Ethereum or another chain?
Why Solana? Why not Ethereum or another chain?
- Speed: 400ms finality vs Ethereum’s 12+ minutes
- Cost: 5-50 gas fees
- Infrastructure: Shadow Drive (Solana’s decentralized storage) is production-ready
Do I need to know Solana to use VecLabs?
Do I need to know Solana to use VecLabs?
collection.verify() to get the proof.Do I need SOL tokens? How much?
Do I need SOL tokens? How much?
- Devnet: Free test SOL from faucet
- Mainnet:
0.000005 SOL per transaction (50/SOL)
- 1,000 write operations: ~$0.25
- 10,000 write operations: ~$2.50
- Queries: $0 (no on-chain cost)
What if Solana goes down? Can I still query my data?
What if Solana goes down? Can I still query my data?
- Queries: Run against in-memory Rust HNSW index—no blockchain dependency
- Writes: Require Solana to post Merkle root—will fail if network is down
- Verification: Requires Solana RPC—will fail if network is down
Where can I view my on-chain data?
Where can I view my on-chain data?
- Collection metadata
- Merkle root hash
- Timestamp of last update
- Transaction history
Security & Encryption
How is my data encrypted?
How is my data encrypted?
- Your Solana wallet generates a master key
- Each vector is encrypted with AES-256-GCM before storage
- Encryption happens client-side in the SDK
- Encrypted vectors are stored on Shadow Drive
- VecLabs cannot decrypt your data—we never see your wallet private key
Can VecLabs read my vectors?
Can VecLabs read my vectors?
- Encrypted vector blobs on Shadow Drive
- Merkle root hashes on Solana
- Query operations (but not query content)
What if I lose my wallet key?
What if I lose my wallet key?
- Centralized DB: Company can reset your password / recover your data
- VecLabs: No one can recover your data if you lose your key—not even VecLabs
- Back up your Solana wallet seed phrase securely
- Use hardware wallets for production workloads
- Test recovery process on devnet before going to mainnet
Is metadata encrypted?
Is metadata encrypted?
How do I verify my data hasn't been tampered with?
How do I verify my data hasn't been tampered with?
.verify() to get cryptographic proof:proof.match === false, your local data does not match the on-chain root—indicating tampering or corruption.Performance
Why is VecLabs faster than Pinecone?
Why is VecLabs faster than Pinecone?
- No garbage collection: Rust HNSW has no GC pauses (Python/Go do)
- In-memory queries: No network calls to remote storage during search
- Native machine code: Rust compiles to CPU instructions—no VM/interpreter overhead
- VecLabs p99: 4.3ms
- Pinecone p99: ~25ms
How many vectors can VecLabs handle?
How many vectors can VecLabs handle?
- In-memory: Limited by RAM (1M vectors ≈ 6GB for 1536 dims)
- With Shadow Drive persistence: No hard limit (billions of vectors)
- Small datasets (under 1M vectors): In-memory for maximum speed
- Large datasets (over 1M vectors): Shadow Drive with smart caching (coming in beta)
Does performance degrade with more vectors?
Does performance degrade with more vectors?
| Vectors | p99 Latency |
|---|---|
| 10K | ~2ms |
| 100K | ~4ms |
| 1M | ~7ms (projected) |
| 10M | ~10ms (projected) |
What about write performance?
What about write performance?
- Merkle root update: ~400ms finality
- Transaction cost: ~$0.00025
Can I run VecLabs on Lambda/serverless?
Can I run VecLabs on Lambda/serverless?
Migration & Integration
How do I migrate from Pinecone to VecLabs?
How do I migrate from Pinecone to VecLabs?
Does VecLabs work with LangChain?
Does VecLabs work with LangChain?
langchain-solvec package ships within 60 days of mainnet launch.Can I use VecLabs with OpenAI embeddings?
Can I use VecLabs with OpenAI embeddings?
How do I export my data from VecLabs?
How do I export my data from VecLabs?
- SDK export (in development):
- Direct Shadow Drive access:
- Your vectors are stored on Shadow Drive at a known address
- Use Shadow Drive CLI to download encrypted files
- Decrypt with your wallet key
Pricing & Costs
How much does VecLabs cost?
How much does VecLabs cost?
- Solana transactions: ~$0.00025 per write
- Shadow Drive storage: ~$0.000039 per MB per epoch
- Storage: ~6GB = $0.04/month
- 1,000 writes: ~$0.25
- Total: ~$8/month
Are there hidden fees?
Are there hidden fees?
How do I estimate my monthly costs?
How do I estimate my monthly costs?
| Vectors | Dims | Storage | 1K writes/mo | Total/mo |
|---|---|---|---|---|
| 100K | 384 | $0.006 | $0.25 | ~$0.26 |
| 1M | 768 | $0.12 | $0.25 | ~$0.37 |
| 1M | 1536 | $0.24 | $0.25 | ~$0.49 |
| 10M | 1536 | $2.40 | $0.25 | ~$2.65 |
What if SOL price increases?
What if SOL price increases?
- Transaction fees: 0.0005 regardless of SOL price
- Much more stable than Ethereum gas
Troubleshooting
Error: 'Insufficient SOL balance'
Error: 'Insufficient SOL balance'
- Buy SOL on an exchange
- Transfer to your VecLabs wallet address
- Minimum: ~0.01 SOL ($0.50) for 1,000+ transactions
Error: 'Collection not found'
Error: 'Collection not found'
Query returns no results
Query returns no results
- Verify vectors are inserted:
await collection.describe() - Check dimension match: Query vector dims must match collection dims
- Try higher
topK:await collection.query({ vector, topK: 100 }) - Check distance metric: Cosine similarity requires normalized vectors
Slow query performance
Slow query performance
- High dimensional vectors (>2048): Use PCA to reduce dims
- Large topK (>100): Reduce to 10-50 for faster queries
- Non-normalized vectors with cosine: Normalize before insert
Where do I get help?
Where do I get help?