Uni - Embedded Graph Database
Uni is an embedded, multimodal database that combines Property Graph (OpenCypher), Vector Search, and Columnar Storage (Lance) into a single engine. It is designed for high-performance, local-first applications with object storage durability (S3/GCS).
Part of The Rustic Initiative by Dragonscale Industries Inc.
Features
- Embedded: Runs in-process with your application (no sidecar required).
- Multimodal: Graph + Vector + Columnar in one engine.
- OpenCypher: Execute complex graph pattern matching queries.
- Vector Search: Native support for vector embeddings and KNN search.
- Hybrid Storage: Fast local WAL/ID allocation with bulk data + catalog metadata in S3/GCS.
- Graph Algorithms: Built-in PageRank, WCC, ShortestPath, and more.
Installation
Add uni to your Cargo.toml:
[]
= "0.1.0"
= { = "1", = ["full"] }
Quick Start
1. Open Database
use Uni;
async
2. Insert Data
You can insert data using Cypher queries or the builder API.
// Using Cypher
db.query.await?;
// Using Builder (faster for bulk)
use PropertiesBuilder;
// ... (Bulk API usage if available or via loops)
3. Query Data
let results = db.query.await?;
for row in results
4. Vector Search
// Find similar nodes
let query_vec = vec!; // 384 dims
let results = db.query_builder
.knn
.k
.execute
.await?;
Storage Backends
Uni supports local filesystem and object storage (S3, GCS, Azure).
Hybrid Mode (Recommended for Cloud)
Keep WAL and ID allocation on fast local disk (SSD), while storing bulk data and catalog metadata in S3.
let db = open
.hybrid
.build
.await?;
Documentation
License
Apache 2.0 - see LICENSE for details.
Developed by Dragonscale Industries Inc. as part of The Rustic Initiative.