Interactive 3D visualization of knowledge graphs generated by Microsoft GraphRAG. Explore entities, relationships, and communities with immersive visual analyti
Interactive 3D visualization of knowledge graphs generated by Microsoft GraphRAG. Explore entities, relationships, and communities with immersive visual analyti
A local workbench for turning documents into an inspectable 3D knowledge graph.
GraphRAG Workbench wraps Microsoft GraphRAG with local document preparation, indexing controls, a live terminal, project management, and the original Three.js graph. It is a dedicated open-source desktop-style web app: clone it, run it, and configure local or cloud models inside the Builder.
https://github.com/user-attachments/assets/1f588a45-07ca-4953-92ed-fc888fe28cff
Inspect entity evidence, community hierarchy, and strongest relationships without leaving the live graph.
uvManage projects and monitor indexing while retaining the graph and selected-entity context.
Chat is intentionally absent from 2.0 while its next interaction model is designed.
git clone https://github.com/lyon-industries/graphrag-workbench.git
cd graphrag-workbench
pnpm install
uv sync --frozen
pnpm devOpen http://127.0.0.1:3000. Development and production commands bind to the local interface.
Open Projects → Build providers. Both presets can remain configured at the same time:
.graphrag/providers.json, restricted to the operating-system account (0600). It is outside every project, excluded from Git, and never returned to browser code.The Ollama and OpenAI bindings are workbench-wide settings, reused by every GraphRAG project. Each indexing run has an explicit Run with Ollama or Run with OpenAI command. Ollama avoids provider token charges and keeps model processing on the workstation; OpenAI is normally faster and can use a stronger extraction model. OpenAI indexing sends document content to the configured provider and can consume substantial model tokens.
During a build the engine log is tailed into the Terminal. Fatal provider failures such as exhausted quota, a rejected key, or a missing model stop the run with the cause and recovery action named.
Cmd/Ctrl + K focuses entity search. Drag rotates, scroll zooms, and right-drag pans. Isolate community focuses the selected hierarchy.
Image-only PDFs are rejected with an explicit terminal message. OCR is not included in 2.0. Removing a source schedules it for deletion; the file and its derived text are deleted only after the replacement graph builds successfully.
The Projects source toolbar supports two import paths:
output/ folder containing at least entities and relationships as JSON or parquet. Supported parquet artifacts are converted locally before the active project is changed..graphrag.json file previously exported by the workbench.Export output downloads the active project as a versioned .graphrag.json bundle containing the available entity, relationship, community, community-report, and text-unit tables. Imports are validated in a temporary directory before replacing graph artifacts. Source documents, provider credentials, caches, logs, and LanceDB indexes are not included in the portable bundle.
text-backed PDF
-> local text extraction
-> Microsoft GraphRAG 3.1
-> parquet + LanceDB
-> local JSON conversion
-> Three.js graph + InspectorRuntime documents, output, caches, logs, and project archives are excluded from Git. Configured model providers still receive the content required for their calls.
pnpm typecheck
pnpm lint
pnpm build
pnpm audit --prod
uv lock --check| Area | Implementation |
|---|---|
| Application | Next.js 16.2, React 19.2, TypeScript |
| Graph | React Three Fiber, Three.js, d3-force-3d |
| Engine | Microsoft GraphRAG 3.1.0, Python 3.12, uv |
| Storage | local filesystem, parquet, JSON, LanceDB |
| Progress | server-sent events and persisted local logs |
MIT. Microsoft GraphRAG provides extraction, community analysis, and indexing. GraphRAG Workbench provides the local operator interface.
Built by Lyon Industries in Stavanger, Norway.
No open issues yet, or sync has not completed.