2025-05-13 13:26:00
github.com
HelixDB is a Rust written, open-source, graph-vector database built for RAG and AI applications.
HelixDB is a high-performance graph-vector database designed with a focus on developer experience and performance. Built in Rust and powered by LMDB as its storage engine, it combines the reliability of a proven storage layer with modern features tailored for AI and vector-based applications.
We are currently using LMDB via Heed3, a rust wrapper built by the amazing team over at Meilisearch.
- Fast & Efficient: Built for performance we’re currently 1000x faster than Neo4j, 100x faster than TigerGraph and on par with Qdrant for vectors.
- RAG-First: Native support for graph and vector data types, making it ideal for RAG (Retrieval Augmented Generation) and AI applications
- Graph-Vector: Easiest database for storing relationships between nodes, vectors, or nodes AND vectors.
- Reliable Storage: Powered by LMDB (Lightning Memory-Mapped Database) for robust and efficient data persistence
- ACID Compliant: Ensures data integrity and consistency
The Helix CLI tool can be used to check, compile and deploy Helix locally.
-
Install CLI
curl -sSL "https://install.helix-db.com" | bash
-
Install Helix
-
Setup
helix init --path path-to-project>
-
Write queries
Open your newly created
.hx
files and start writing your schema and queries.
Head over to our docs for more information about writing queriesQUERY addUser(name: String, age: Integer) => user - AddNUser({name: name, age: age}) RETURN user QUERY getUser(user_name: String) => user - NUser::WHERE(_::{name}::EQ(user_name)) RETURN user
-
Check your queries compile before building them into API endpoints (optional)
-
Deploy your queries
# in ./
helix deploy --local -
Start calling them using our TypeScript SDK or Python SDK. For example:
import HelixDB from "helix-ts"; // Create a new HelixDB client // The default port is 6969 const client = new HelixDB(); // Query the database await client.query("addUser", { name: "John", age: 20 }); // Get the created user const user = await client.query("getUser", { user_name: "John" }); console.log(user);
Other commands:
helix instances
to see all your local instances.helix stop
to stop your local instance with specified id.helix stop --all
to stop all your local instances.helix start
to start your local instance with specific id.
Our current focus areas include:
- Expanding vector data type capabilities for RAG applications
- Enhancing the query language with more robust type checking
- Implementing a test suite to enable end-to-end testing of queries before deployment
- Building a Deterministic Simulation Testing engine enabling us to robustly iterate faster
- Binary quantisation for even better performance
Long term projects:
- In-house graph-vector storage engine (to replace LMDB)
- In-house network protocol & serdes libraries (similar to protobufs/gRPC)
HelixDB is licensed under the The AGPL (Affero General Public License).
HelixDB is available as a managed service for selected users, if you’re interested in using Helix’s managed service or want enterprise support contact us for more information and deployment options.
Keep your files stored safely and securely with the SanDisk 2TB Extreme Portable SSD. With over 69,505 ratings and an impressive 4.6 out of 5 stars, this product has been purchased over 8K+ times in the past month. At only $129.99, this Amazon’s Choice product is a must-have for secure file storage.
Help keep private content private with the included password protection featuring 256-bit AES hardware encryption. Order now for just $129.99 on Amazon!
Help Power Techcratic’s Future – Scan To Support
If Techcratic’s content and insights have helped you, consider giving back by supporting the platform with crypto. Every contribution makes a difference, whether it’s for high-quality content, server maintenance, or future updates. Techcratic is constantly evolving, and your support helps drive that progress.
As a solo operator who wears all the hats, creating content, managing the tech, and running the site, your support allows me to stay focused on delivering valuable resources. Your support keeps everything running smoothly and enables me to continue creating the content you love. I’m deeply grateful for your support, it truly means the world to me! Thank you!
BITCOIN bc1qlszw7elx2qahjwvaryh0tkgg8y68enw30gpvge Scan the QR code with your crypto wallet app |
DOGECOIN D64GwvvYQxFXYyan3oQCrmWfidf6T3JpBA Scan the QR code with your crypto wallet app |
ETHEREUM 0xe9BC980DF3d985730dA827996B43E4A62CCBAA7a Scan the QR code with your crypto wallet app |
Please read the Privacy and Security Disclaimer on how Techcratic handles your support.
Disclaimer: As an Amazon Associate, Techcratic may earn from qualifying purchases.