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-langchain LangChain GraphStore & GraphVectorStore for knowledge-graph RAG uv add grafeo-langchain
grafeo-llamaindex LlamaIndex PropertyGraphStore with structured + vector queries uv add grafeo-llamaindex

Wire Protocols (for Grafeo Server)

Project Description Install
gwp GQL Wire Protocol: gRPC wire protocol for GQL (ISO/IEC 39075) with client bindings in 5 languages cargo add gwp
boltr Bolt Wire Protocol: pure Rust Bolt v5.x implementation for Neo4j driver compatibility cargo add boltr

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 6

  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 2

  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.

    HTML 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 2

Repositories

Showing 10 of 16 repositories
  • boltr Public

    A standalone, pure Rust implementation of the Bolt v5.x wire protocol.

    GrafeoDB/boltr’s past year of commit activity
    Rust 2 Apache-2.0 1 1 0 Updated Mar 3, 2026
  • graphrag Public Forked from microsoft/graphrag

    A modular graph-based Retrieval-Augmented Generation (RAG) system using Grafeo's embedded graph database.

    GrafeoDB/graphrag’s past year of commit activity
    Python 0 MIT 3,312 0 0 Updated Mar 3, 2026
  • grafeo-rag Public Forked from HKUDS/LightRAG

    [EMNLP2025] "LightRAG: Simple and Fast Retrieval-Augmented Generation" with build in Grafeo backend.

    GrafeoDB/grafeo-rag’s past year of commit activity
    Python 0 MIT 4,498 0 0 Updated Mar 3, 2026
  • 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.

    GrafeoDB/grafeo-server’s past year of commit activity
    Rust 2 Apache-2.0 0 0 0 Updated Mar 3, 2026
  • grafeo-mcp Public

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

    GrafeoDB/grafeo-mcp’s past year of commit activity
    Python 1 Apache-2.0 0 0 0 Updated Mar 3, 2026
  • .github Public
    GrafeoDB/.github’s past year of commit activity
    0 0 0 0 Updated Mar 3, 2026
  • grafeo-memory Public

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

    GrafeoDB/grafeo-memory’s past year of commit activity
    Python 2 0 0 0 Updated Mar 3, 2026
  • grafeo-langchain Public

    LangChain integration for the Grafeo graph/vector database. Provides GrafeoGraphStore and GrafeoGraphVectorStore for knowledge-graph storage and hybrid graph+vector retrieval inside LangChain pipelines.

    GrafeoDB/grafeo-langchain’s past year of commit activity
    Python 0 Apache-2.0 0 0 0 Updated Mar 3, 2026
  • grafeo-llamaindex Public

    LlamaIndex integration for the Grafeo graph database. Implements GrafeoPropertyGraphStore, a LlamaIndex PropertyGraphStore backend that supports both structured and vector queries.

    GrafeoDB/grafeo-llamaindex’s past year of commit activity
    Python 0 Apache-2.0 0 0 0 Updated Mar 3, 2026
  • gwp Public

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

    GrafeoDB/gwp’s past year of commit activity
    Rust 0 0 0 0 Updated Mar 3, 2026

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…