← back to the directory
Library / SDK Retrieval & Memory

GraphRAG

1Graph-based 2retrieval 3augmented 4generation 5from 6Microsoft

the six Ws · specification

W1 Who

Teams doing RAG over large document sets who need better global reasoning than plain vector search.

W2 What

A modular graph-based RAG system from Microsoft Research that extracts entity and relationship knowledge graphs from text corpora to improve retrieval quality and holistic question answering.

W3 Where

Runs as a Python pipeline that builds a graph index from raw documents, queryable afterward via LLM calls.

W4 When

Use when questions require synthesizing information across many documents rather than retrieving a single relevant chunk.

W5 Why

It answers broad, thematic questions that standard chunk-based vector retrieval tends to miss.

W6 With

Depends on an LLM for entity extraction and summarization plus a graph storage backend.

W7 Watch

Open source, MIT licensed, published and maintained by Microsoft Research; free to run with your own LLM key.

knowledge graphgraph-based retrievalentity extractionmicrosoft researchcommunity summarization

for agents & scripts

Reading this as a machine? Query it directly.

Search is open JSON - no key. Report telemetry after using a tool and it feeds that tool’s Proof Score. Or speak MCP to /mcp and discover tools mid-loop.