find_package(kuzu 0.136 REQUIRED)
Traditional graph databases often prioritize flexibility at the expense of performance, relying on pointer-chasing mechanics that cause severe CPU cache misses during deep analytical sweeps. Kùzu completely re-imagines graph query execution through several innovative design principles: 1. Embedded (In-Process) Design
The graph database recently reached a development milestone with its v0.1.36 update. This version focuses on significant backend optimizations and performance enhancements for complex analytical workloads. Key Updates in Kùzu v0.1.36
By engaging with the Kuzu v0.136 project, users can help shape its future development, contribute to its growth, and unlock its full potential.
import kuzu # Initialize the database on disk db = kuzu.Database("./my_graph_db") conn = kuzu.Connection(db) # Create Node Tables conn.execute("CREATE NODE TABLE User(id INT64, name STRING, PRIMARY KEY(id))") conn.execute("CREATE NODE TABLE Feature(id STRING, category STRING, PRIMARY KEY(id))") # Create a Relationship Table (User -> InteractedWith -> Feature) conn.execute("CREATE REL TABLE InteractedWith(FROM User TO Feature, clicks INT64)") Use code with caution. 3. Ingesting Data
Data scientists building RAG systems (Retrieval-Augmented Generation) need to store entity relationships. The new LIST of STRUCT type allows you to attach vector embeddings directly to nodes as a list of floats, eliminating the need for a separate vector database.
Representing directed connections between entities (e.g., Follows, Purchased, Employs).Both nodes and relationships can store dense, strongly typed properties, including structured lists and vector embeddings. 3. Cypher Query Language
| Language / Platform | Command / Method | | :--- | :--- | | | pip install kuzu (or use uv / nix ) | | Node.js | npm install kuzu | | Rust | cargo add kuzu | | Go | go get github.com/kuzudb/go-kuzu | | Java | via Maven Central: com.kuzudb:kuzu | | C/C++ | download pre‑compiled binaries from GitHub | | CLI (shell) | download the standalone executable ( kuzu_cli ) from the latest release page | | Homebrew | brew install kuzu (on macOS) | | Nix | nix run github:kuzudb/kuzu or declarative install |
For more information, you can explore the Kuzu GitHub Releases page .
This feature enhances the system’s ability to reclaim space during update operations. As data is updated, deleted, or modified, the database can now better manage internal fragmentation, reducing disk usage over time.
For developers tired of the operational overhead of maintaining a separate graph database server, Kuzu offers the simplicity of an embedded library with the power of a modern graph engine. Version 0.136 is the most stable, performant release to date.
Setting up Kùzu v0.1.3.6 is incredibly straightforward. Here is a practical example demonstrating how to initialize a database, create a schema, insert data, and query it using Cypher. Step 1: Installation Install Kùzu directly via pip: pip install kuzu==0.1.3.6 Use code with caution. Step 2: Initialize Database and Schema