HelixDB/helix-db
Rust graph database for transactional graph, vector, and BM25 retrieval
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
HelixDB is a Rust OLTP database that stores entities and relationships as a labeled property graph. Embeddings are indexed properties on nodes and edges, so graph mutations and vector updates share a transaction boundary. The Cargo workspace separates the database (crates/db), server, CLI, AST, planner, and Cypher code. It also includes a Rust SDK, UniFFI bindings, and an openCypher test kit under tools/opencypher-tck.
The primary network interface is POST /v2/query: the Rust, TypeScript, Python, and Go SDKs generate the same JSON request without a separate query build or deployment step. /v2/ identifies the wire API, not the package version. An embedded client runs queries inside the application process instead. Source builds additionally expose a supported Cypher profile through POST /v2/cypher, embedded clients, and helix cypher.
Key Capabilities & Differentiators
One query can combine graph traversal, approximate nearest-neighbor search, and BM25 over node or edge properties. Graph prefiltering narrows the vector search before similarity scoring: for example, a query can traverse from a project to its connected records and rank only those candidates, rather than retrieving global neighbors and discarding unrelated hits afterward.
This is useful for GraphRAG and agent memory when relevance depends on relationships as well as keywords and semantic similarity. A write that changes both graph data and its vectors can commit or roll back as a unit, removing the need to synchronize a second retrieval store. The database retrieves stored embeddings; plan the embedding pipeline separately.
Trade-offs & Limitations
The deciding factor is whether the graph is part of the retrieval logic. A single engine avoids coordinating updates across graph and vector stores, but it still requires a graph model and a traversal that selects the right candidate set. A traversal that is too restrictive can exclude relevant items before ranking; a broad traversal may provide little filtering benefit. Measure recall and latency with representative relationship density, filter selectivity, and concurrent indexing and writes.
For vector-first applications that do not navigate relationships, a managed vector service such as Pinecone is a more direct baseline. Teams migrating Cypher should test their actual query corpus against the source-build profile rather than assume drop-in compatibility. For Helix Cloud, reader autoscaling is not evidence of write scalability: test ingestion and update peaks against the single-writer design.
Hardware & Deployment Guide
The local CLI workflow requires Docker or Podman. Run helix init local to generate helix.toml and examples/request.json, then helix start dev to serve on localhost:6969. Use --disk if data must survive restarts; the default is in memory. The Dockerfile starts from a Rust Bookworm builder and declares a nonroot distroless Debian runtime image. Embedding HelixDB avoids running a separate server; self-hosted server storage can also use S3-compatible object storage.
Helix Cloud is a separate managed deployment: object storage is the durable system of record, one writer commits transactions, and readers autoscale. Recent releases show changes to operationally important paths: v3.6.2 added zstd compression for SST and WAL blocks and a WAL flush interval setting; v3.7.0 removed row copying during response serialization and introduced a 30-second limit on durable requests waiting for storage; v3.8.0 changed task ownership and wait behavior for index DDL.
GraphRAG, agent memory, and internal knowledge graphs where relationships should constrain retrieval and graph and vector changes must stay in sync.
You only need managed vector retrieval, require drop-in compatibility with an existing Cypher workload, or need independent horizontal write scaling from the managed deployment.
Quick Start & Installation
curl -sSL "https://install.helix-db.com" | bash
Comparison vs. Top RAG, Data & Memory Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| helix-db ★ | 6.3k | +24 | Rust | Apache-2.0 | Rust graph database for transactional graph, vector, and BM25 retrieval |
| LightRAG | 41k | +110 | Python | MIT | Graph-backed RAG for cross-document retrieval and multimodal indexing |
| zvec | 16.3k | +29 | C++ | Apache-2.0 | In-process C++ vector database for local hybrid retrieval |
| txtai | 13.8k | +33 | Python | Apache-2.0 | A Python embeddings database for vector, SQL, and graph retrieval in self-hosted |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/HelixDB/helix-db.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about helix-db
How does an application send queries to HelixDB?
Does HelixDB need a GPU, and how should I size it?
Can I self-host HelixDB commercially without using Helix Cloud?
When should I evaluate HelixDB instead of Pinecone?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy