What is HelixDB?
HelixDB is a database built from scratch in Rust that puts graph and vector storage in the same engine. It sits in the Vector Databases category of the Retrieval & Knowledge (RAG) tools and is open-source, written in Rust and licensed Apache-2.0. To get started: install the CLI.
Overview
HelixDB is a database built from scratch in Rust that puts graph and vector storage in the same engine. The problem it targets is the usual AI-application sprawl: a relational database for application state, a separate vector store for embeddings, and a graph database for relationships, each with its own client, its own consistency story, and glue code holding them together. HelixDB's argument is that one store can serve all three, and it also supports key-value, document and relational shapes on top of its primary graph-plus-vector model.
Queries are not written as strings. You compose them with a builder DSL available in Rust, TypeScript, Python and Go, and every SDK emits the same JSON abstract syntax tree, which is POSTed to a running instance at `/v2/query`. Because the query is data rather than compiled code, there is no build or deploy step between editing a query and running it — you send the new AST and the instance executes it.
The project ships a CLI that manages local instances and talks to Helix Cloud. It also ships `helix chef`, an interactive bootstrapper that scaffolds a project, starts a local instance, seeds example data and installs the HelixDB query skills and docs MCP server; it detects Claude Code, OpenAI Codex, OpenCode or Cursor Agent in that order and can hand the project off to whichever it finds. The core is Apache-2.0 licensed.
What it does
- Graph and vector storage in a single Rust engine, with key-value, document and relational data supported alongside them
- Query builder DSLs for Rust, TypeScript, Python and Go that all compile to the same JSON AST
- Queries sent straight to a running instance over `POST /v2/query` — no build or deploy step between edit and execution
- A CLI that installs, starts and updates local instances and connects to Helix Cloud
- `helix chef`, a one-shot bootstrapper that scaffolds a project, seeds data, and installs the query skills plus a docs MCP server
- Aimed at agent workloads: federated access to company data for memory and retrieval rather than a standalone embedding index
Getting started
Install the CLI, start a local instance, then talk to it from the SDK of your choice. A local `helix start dev` instance listens on port 6969 by default.
Install the CLI
One installer script on macOS and Linux; PowerShell on Windows. If you already have it, `helix update` pulls the newer version.
# macOS / Linux
curl -sSL "https://install.helix-db.com" | bash
# Windows PowerShell
irm https://raw.githubusercontent.com/HelixDB/helix-db/main/crates/cli/install.ps1 | iexBootstrap a project with helix chef
The quickest path. It takes no flags — it asks what you want to build, scaffolds the project, starts a local instance, seeds example data and writes a HELIX_CHEF_PROMPT.md.
helix chefAdd the Python SDK
Install the published package to talk to the instance from Python.
python -m pip install helix-db==0.3.4Write and run a query
Build the query with the snake_case builders, then send it with the client. The same query shape is available in the Rust, TypeScript and Go SDKs.
from helixdb import Client, Predicate, g, param, define_params, read_batch, write_batch
add_user_params = define_params({"name": param.string()})
add_user = (
write_batch()
.var_as("user", g().add_n("User", {"name": add_user_params.name}))
.returning(["user"])
)
client = Client("http://localhost:6969")
new_user = client.query(
add_user.to_query_request(add_user_params, {"name": "John Doe"})
)
print("new user:", new_user)Commands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Store agent memory where the relationships between facts matter as much as the embeddings
- Back a RAG application with one database instead of running a vector store and a graph store side by side
- Build a knowledge graph over company data that agents can query directly over HTTP
- Prototype quickly by editing queries and re-sending them, without redeploying the database
How HelixDB compares
HelixDB alongside other open-source vector databases tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| Supabase | ★ 116k | Managed Postgres backend whose Vector toolkit (pgvector) stores, indexes, and queries embeddings next to transactional data. |
| Redis Cloud | ★ 77.8k | Fully-managed Redis with built-in vector search, offering low-latency similarity and hybrid queries over any embeddings. |
| Milvus | ★ 46.8k | A distributed vector database for storing and searching billions of embeddings at scale, with multiple index types and Kubernetes-native deployment. |
| FAISS | ★ 42k | A library from Meta for efficient similarity search and clustering of dense vectors, with both exact and approximate indexes. |
| Qdrant | ★ 35.8k | A Rust-based vector search engine that stores embeddings with rich payload filtering for semantic search and recommendation systems. |
| Chroma | ★ 29.8k | A developer-focused vector database designed for quickly building retrieval and RAG features with a simple Python and JavaScript API. |
| pgvector | ★ 23.9k | A PostgreSQL extension that adds a vector data type and similarity search so you can store and query embeddings inside an existing Postgres database. |
| HelixDB | ★ 6.3k | A graph-vector database for knowledge graphs and agent memory, built in Rust |
