Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

GraphRAG-RS

GraphRAG Network Visualization

GraphRAG-RS is a modular, portable GraphRAG implementation written in Rust. It builds a knowledge graph from your documents — chunking, embeddings, entity and relationship extraction, community detection — and answers questions over that graph with citations.

The same core library runs natively and in the browser via WebAssembly, with a config-driven pipeline that scales from a zero-dependency pattern matcher to a full LLM-enriched extraction stack.

Why GraphRAG-RS

  • One library, three personalities. Pattern-only (no LLM, < 10 ms/chunk), LLM + KV-cache enrichment (Ollama), or a hybrid — selected at runtime from Config, not at compile time.
  • Native + WASM. graphrag-core is crate-type = ["rlib", "cdylib"]; the browser build uses a Voy vector store.
  • Turnkey. cargo run -p graphrag-cli -- index ./docs.txt then ask "..." — zero config to start.
  • Modular crates. Use the core library, the TUI/CLI, the REST server, or the WASM bindings.

Where to go next

If you want to…Start here
Install and run your first queryInstallation & Quick Start
Understand the pipelineHow It Works
Configure extraction & modelsConfiguration Guide
Browse the APIdocs.rs/graphrag-core

Source: github.com/automataIA/graphrag-rs