GraphRAG
Graph-based RAG system from Microsoft that builds knowledge graphs and answers corpus-wide questions.
About
Microsoft Research built GraphRAG to answer questions that ordinary retrieval augmented generation cannot, the global ones like what are the main themes in this corpus, where no single passage contains the answer. An indexing pipeline uses an LLM to extract entities and relationships from raw text into a knowledge graph, clusters it into hierarchical communities with the Leiden algorithm, and pre-writes summaries for each community; at query time, global search reasons over those summaries while local search fans out from specific entities, and DRIFT search combines the two approaches. The Python package installs from PyPI with a CLI covering init, index, and query, with configuration in YAML. Indexing is LLM-intensive and typically points at OpenAI or Azure OpenAI endpoints, so costs scale with corpus size and offline use is not the default path. Released under MIT with an accompanying research paper, the roughly 35,000-star project effectively defined the graph RAG category in 2024, and it remains the reference implementation that researchers and enterprises benchmark against.
Reviews (0)
Leave a Review
No reviews yet. Be the first to review!
Details
- Category
- AI Frameworks & Libraries
- Price
- Free
- Platform
- Local/Desktop
- Difficulty
- Intermediate (3/5)
- License
- MIT
- Added
- Jul 29, 2026
Related Tools
Unified system for large-scale distributed training and inference.
Guidance language for controlling LLM generation with constraints, grammars, and JSON schemas.
Library for easily accessing and processing ML datasets.
JAX neural network library with PyTorch-like module system.
High-level deep learning API supporting JAX, TensorFlow, and PyTorch backends.
Gradient boosting library by Yandex with native categorical feature handling.