Skip to content
@GrafeoDB

Grafeo

GrafeoDB

Embeddable graph database built in pure Rust. Dual data models (LPG + RDF), five query languages, HNSW vector search, MVCC transactions. Zero external dependencies.

Why Grafeo?

  • 5 query languages: GQL (ISO), Cypher, Gremlin, GraphQL, SPARQL. Use what you know.
  • LPG + RDF in one engine: Property graphs and triples with optimized storage for each.
  • Vector search: HNSW indexes with scalar, binary, and product quantization. SIMD-accelerated.
  • Embeddable: Link as a library (Rust, Python, Node.js, WASM) or run as a server. No external processes.
  • Fast(est): Push-based vectorized execution, morsel-driven parallelism, columnar storage with zone maps. Benchmarked with ann-benchmarks and graph-bench.

Quick Start

import grafeo

db = grafeo.GrafeoDB()

# Build a graph
db.execute("INSERT (:Person {name: 'Alice', age: 30})-[:KNOWS {since: 2020}]->(:Person {name: 'Bob', age: 25})")
db.execute("INSERT (:Person {name: 'Bob'})-[:KNOWS]->(:Person {name: 'Carol', age: 28})")

# Traverse it
for row in db.execute("""
    MATCH (p:Person)-[:KNOWS]->(friend)-[:KNOWS]->(fof)
    WHERE fof <> p
    RETURN p.name, fof.name AS friend_of_friend
"""):
    print(row)

Ecosystem

Core

Project Description Install
grafeo Embeddable graph database engine uv add grafeo / cargo add grafeo / npm install @grafeo-db/js
grafeo-server HTTP server & web UI: REST API, transactions, ~20MB Docker image docker pull grafeodb/grafeo-server
grafeo-web Browser-based Grafeo via WebAssembly with IndexedDB persistence Coming soon

Visualization

Project Description Install
anywidget-graph Interactive graph visualization for notebooks (Marimo, Jupyter, VS Code, Colab) uv add anywidget-graph
anywidget-vector 3D vector/embedding visualization with 6D encoding uv add anywidget-vector

Benchmarking

Project Description
graph-bench Custom benchmark suite using LDBC benchmarks, 25 tests across 8 graph database engines
ann-benchmarks Fork of ann-benchmarks extended with a Grafeo HNSW adapter for vector search benchmarking

Links

Pinned Loading

  1. grafeo grafeo Public

    Grafeo is a pure-Rust, high-performance graph database that can be embedded as a library or run as a standalone database, with optional in-memory or persistent storage. Grafeo supports both LPG and…

    Rust 2

  2. grafeo-server grafeo-server Public

    HTTP server for the Grafeo graph database. Turns Grafeo's embeddable engine into a standalone database server accessible via REST API and web UI.

    Rust

  3. anywidget-graph anywidget-graph Public

    Interactive graph visualization for Python notebooks.

    Python

  4. anywidget-vector anywidget-vector Public

    Interactive 3D vector visualization for Python notebooks.

    Python

  5. graph-bench graph-bench Public

    Benchmark suite for graph databases. Built to compare Grafeo with Neo4j, Memgraph, ArangoDB, FalkorDB, Nebula Graph and LadybugDB.

    Python

  6. grafeo-web grafeo-web Public

    Grafeo graph database in the browser. Zero backend. Your data stays on the client.

    TypeScript

Repositories

Showing 8 of 8 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…