Skip to content
@GrafeoDB

Grafeo

GrafeoDB

Embeddable graph database built in pure Rust. Dual data models (LPG + RDF), six query languages, HNSW vector search, MVCC transactions. Fastest graph database tested on the LDBC Social Network Benchmark in both embedded and server configurations, with a low memory footprint. Now in beta.

Why Grafeo?

  • 6 query languages: GQL (ISO), Cypher, Gremlin, GraphQL, SPARQL, SQL/PGQ. Use what you know or want to learn.
  • 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 and lean: Fastest graph database tested on LDBC SNB in both embedded and server modes, with a lower memory footprint than other in-memory databases. Push-based vectorized execution, morsel-driven parallelism, columnar storage with zone maps. Benchmarked with graph-bench and ann-benchmarks.

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, ~40MB Docker image docker pull grafeo/grafeo-server
grafeo-web Browser-based Grafeo via WebAssembly with IndexedDB persistence npm install @grafeo-db/web

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

AI & Integrations

Project Description Install
grafeo-memory AI memory layer. Extract, reconcile, and search memories from conversations. No Docker, no Neo4j, one .db file + one LLM uv add grafeo-memory
grafeo-mcp Use Grafeo as an MCP server, expose to AI agents over stdio or HTTP uv add grafeo-mcp
grafeo-memory AI memory layer powered by Grafeo uv add grafeo-memory
grafeo-langchain LangChain GraphStore & GraphVectorStore for knowledge-graph RAG uv add grafeo-langchain
grafeo-llamaindex LlamaIndex PropertyGraphStore with structured + vector queries uv add grafeo-llamaindex

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 5

  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 1

  3. gwp gwp Public

    GQL Wire Protocol: Standalone, pure Rust gRPC wire protocol for GQL (ISO/IEC 39075).

    Rust

  4. grafeo-web grafeo-web Public

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

    TypeScript 2

  5. grafeo-mcp grafeo-mcp Public

    Exposes Grafeo as a set of MCP tools so that AI agents and assistants can query, traverse and mutate graph data.

    Python 1

  6. grafeo-memory grafeo-memory Public

    AI memory layer powered by Grafeo, an embedded graph database with native vector search.

    Python

Repositories

Showing 10 of 16 repositories

People

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

Most used topics

Loading…