Skip to content
Rabat, Morocco
Projects

Embex – Universal ORM for Vector Databases

Cover for Embex – Universal ORM for Vector Databases
January 8, 2026
Embex is a universal ORM for vector databases that eliminates vendor lock-in. Write your code once, and switch between Qdrant, Pinecone, Chroma, LanceDB, Milvus, Weaviate, and PgVector instantly—without changing a single line of code. I built Embex as its creator and lead developer, with a shared Rust core for Python and Node.js. The SIMD speedup reported below covers dot product and cosine similarity. The packages reached 9,000 downloads in the first two weeks, as documented in the launch retrospective.
# Development: LanceDB (zero setup)
client = await EmbexClient.new_async("lancedb://./data")

# Production: Just change the connection string!
client = await EmbexClient.new_async("qdrant://https://your-cluster.com", api_key="...")

# Everything else stays exactly the same
No rewrites. No vendor lock-in. Complete freedom to choose the right database for each stage of your project. Built on Rust with SIMD intrinsics (AVX2/NEON), Embex delivers:
  • 3.6x - 4.0x faster dot product and cosine similarity operations
  • < 5% overhead compared to native clients
  • Zero-copy data passing between languages
Day 1: Start with LanceDB—embedded, zero setup, no Docker required
Week 2: Move to Qdrant for staging with connection pooling
Month 1: Scale to Milvus for billion-scale production workloads
All with the same codebase.
  • Universal API — Works with seven vector database providers.
  • SIMD acceleration — 3.6–4.0× faster dot product and cosine similarity in the reported measurements.
  • Embedded setup — Start with LanceDB without configuring a database service.
  • Connection pooling — Reuse connections for concurrent workloads.
  • Database migrations — Version control for schemas.
  • Type safety — TypeScript and Python type hints.
  • Observability — OpenTelemetry metrics and tracing.
  • LanceDB - Embedded, zero setup
  • Qdrant - Production-ready, self-hosted or cloud
  • Pinecone - Serverless, managed service
  • Chroma - AI-native, open-source
  • PgVector - PostgreSQL extension
  • Milvus - Billion-scale, distributed
  • Weaviate - Modular, cloud-native
# Python
pip install embex lancedb sentence-transformers

# Node.js
npm install @bridgerust/embex lancedb @xenova/transformers
  • Multi-tenant SaaS - Support different customers with different database preferences
  • Local → Production - Develop locally, deploy to cloud without code changes
  • Database Migration - Switch providers seamlessly when needs change
  • RAG Applications - Build semantic search without vendor lock-in

Stop fighting with different SDKs. Start building with Embex.