GraphRAG Zero solves a fundamental challenge that has limited AI agents’ ability to reach their full potential
At a glance
- GraphRAG Zero gives AI agents the connected context they need to reason, make decisions, and act, built and updated continuously at interactive speed.
- It’s the result of years of research, turning graph-based retrieval from an experimental technique into a deployable system built for real-world applications and agents.
- GraphRAG is now available as an option in Foundry IQ (Azure AI Search), so customers and developers can use graph-guided retrieval at scale.
- Knowledge graphs are built on Microsoft Research’s GraphRAG research, bringing commercial, graph-guided retrieval to Foundry IQ (opens in new tab) and GitHub’s Repo Mind Light, supporting applications from scientific discovery to repository understanding.
- From dataset-wide sensemaking to interactive retrieval, GraphRAG’s evolution has reduced cost and latency while preserving access to relevant, representative evidence.
- The original paper now has 3.9k citations since April 2024 and the open-source repo (opens in new tab) has over 36k GitHub stars. It has spawned a wide range of follow-on research and software.
GraphRAG Zero is designed to solve one of the fundamental challenges preventing AI agents from reaching their full potential — giving them the context they need to reason, make decisions, and act intelligently.
AI agents need more than text excerpts that merely match the words in a prompt. To answer complex queries and understand connections across different kinds of information, they need retrieval that captures the structure within the data. This becomes increasingly important as AI generates more information than people can review. GraphRAG provides that structure, while its latest version, GraphRAG Zero, makes retrieval fast and affordable enough to build and update continuously.
When we shared our GraphRAG research and open-source library (opens in new tab) in 2024, we introduced a way to ask questions that conventional retrieval-augmented generation (RAG) struggled to answer. Instead of finding only individual facts or passages, people could ask about themes, patterns, and implications across an entire collection of documents.
The impact extended beyond adoption of our library. GraphRAG helped broaden the field’s focus from finding relevant passages to organizing connected evidence for reasoning across a dataset. Today, new research approaches and open-source implementations explore this design space, while industry tooling makes graph-based retrieval available to application developers. GraphRAG has also been featured in Gartner’s Hype Cycle for Generative AI (opens in new tab).
Within Microsoft, the public release was only a beginning. Our collaborations continued to push the research toward lower costs, faster responses, and new ways of using organizational knowledge. Alongside each change, we faced another question: how could we tell whether a more efficient system still captured what mattered?
The result has been two connected lines of research: successive generations of GraphRAG, and an evolving evaluation framework, BenchmarkQED (opens in new tab). Together, they have now brought a new and lightweight version of GraphRAG – GraphRAG Zero – into products. Compared to the original GraphRAG, this version eliminates LLM calls at index time and can be configured to retrieve relevant context without LLM calls at query time either, delivering sub-second retrieval latency powered entirely by the geometry of text embeddings.
GraphRAG Zero is now available as an option within Foundry IQ (Azure AI Search) (opens in new tab), bringing graph-guided retrieval to applications that need relevant, representative evidence at interactive speeds. Microsoft Discovery is also committing to adopt GraphRAG Zero through Foundry IQ to support scientific research.
GitHub Next’s Repo Mind Light (opens in new tab), a tool for repository understanding, ships with GraphRAG Zero and is available as a public container integrated with GitHub Agentic Workflows (opens in new tab). It combines GraphRAG Zero retrieval over issues and pull requests with live retrieval of code and documentation, giving people and coding agents context for questions about architecture, ownership, and the reasoning behind earlier decisions.
Context that is affordable to build and keep current also supports checking what agents produce. VeriTrail works across RAG systems with source data and context-driven outputs, detecting hallucinations and tracing where unsupported content was introduced and how faithful content derives from the source.
The shared story of these systems and their evaluation begins before we thought of the problem as RAG at all.

The research behind GraphRAG Zero
From intelligence analysis to global sensemaking
In 2023, we did not initially set out to build a RAG system. Our goal was to explore how the emerging capabilities of generative AI could help people make sense of data. Previous work had applied intelligence-analysis methods to business intelligence, search recommendation, cybercrime investigation, and news provenance. Our broader human rights technology programme addressed related challenges of connecting evidence to action, including revealing corruption risks and helping organizations counter human trafficking.
Graphs connected observations across these settings: search queries through navigation, scam operations through shared signals, and news through reused text. Language models suggested a more general approach: extracting entities and relationships directly from unstructured text.
Our first use case came from an internal threat-analysis partnership. Analysts needed to integrate, navigate, and interrogate years of reports as a single body of knowledge, identifying patterns across the collection while tracing the claims in their own reports to source evidence.
Following Ben Shneiderman’s information-seeking mantra (opens in new tab), “Overview first, zoom and filter, then details on demand,” we helped analysts understand their data before they knew what to ask. We identified communities of closely related entities and used language models to summarize their associated evidence. These community reports provided collection-wide overviews from which users could formulate questions.
The same structure supported question answering at different scales. Local questions could draw on detailed descriptions of entities and relationships, while global questions could be answered through synthesis across community reports. This ability to move from specific evidence to dataset-wide understanding became the foundation of GraphRAG.
1st Generation GraphRAG
Evaluating a new class of questions
Global sensemaking posed an evaluation challenge. Questions such as “What are the main risks discussed across these reports?” call for synthesis across many sources, with multiple reasonable ways to organize an answer. Benchmarks targeting the retrieval of individual facts could not establish whether a system represented the breadth of relevant evidence.
We therefore defined three target qualities for our initial evaluation: comprehensiveness, the extent to which an answer covers relevant aspects and details; diversity, the range of perspectives and insights it provides; and empowerment, its contribution to the reader’s understanding and ability to make informed judgments. Using the LLM-as-a-Judge approach (opens in new tab), we compared pairs of answers on each quality.
We also developed activity-based query synthesis to generate questions for arbitrary datasets. Given a description of a collection, a language model identifies representative users and activities, then generates questions that require understanding the collection as a whole. This connected evaluation to the activities that motivated GraphRAG, rather than to facts selected in advance by a benchmark author.
These methods formed the basis of BenchmarkQED, our open-source suite for automating Query synthesis, Evaluation, and Dataset curation. Its AutoQ component builds on activity-based query synthesis steered by personas and their tasks; its evaluation tools compare RAG capabilities, quality, and cost.
Reducing the cost of global understanding
The first-generation GraphRAG index supported both direct exploration and question answering. Its entity and relationship descriptions and community reports were valuable analytical artifacts, but their construction required substantial language-model work, including for applications primarily focused on answering questions.
Our first extension of the original GraphRAG approach reduced this cost by constructing a concept-co-occurrence graph using conventional natural language processing methods, then generating community reports from the associated source text. It is available as the fast indexing option (opens in new tab) in the Microsoft GraphRAG library.
The second-generation system, LazyGraphRAG, extended the idea by deferring all generative-model use until query time. Its lightweight graph organized the data, while language-model reasoning focused on the evidence needed for the current question. In our evaluation, this reduced indexing cost to 0.1 percent of full GraphRAG’s. Preserving source text until query time also retained details that could be lost through repeated summarization.
The goal now became a single approach for questions anywhere on the local-global spectrum. To evaluate this capability, BenchmarkQED’s AutoQ extends the original activity-based global questions along two dimensions: source, whether derived from data or a representative activity; and scope, whether local or global. The four resulting classes, data-local, activity-local, data-global, and activity-global, place the original questions within a broader evaluation framework.
We used AutoQ to generate 200 questions across these four classes for a collection of nearly 1,400 news articles. LazyGraphRAG achieved higher aggregate answer-quality win rates across all four classes than the comparison methods using the same generative model. The evaluation also showed the relative strengths of specialized approaches: vector retrieval on local questions, GraphRAG Global Search on global questions, and combinations of these strategies across the spectrum.
These capabilities have found applications in different deployment settings. Microsoft Discovery’s use of GraphRAG and LazyGraphRAG for scientific research provides the background to its commitment to adopt GraphRAG Zero through Foundry IQ. Across Microsoft, collaborations in threat intelligence, incident investigation, engineering, science, and organizational knowledge continue to shape requirements for cost, latency, and evidence quality.
Evaluating GraphRAG Zero: From answers to evidence
LazyGraphRAG reduced preparation costs by moving language-model work to query time. The resulting delay before answer generation, however, remained a constraint for interactive applications. GraphRAG Zero addresses this with an embedding-derived graph that assembles relevant, representative context. In its real-time configuration, generative-model processing is reserved for the final response. The research evaluation below helps explain the approach behind today’s release; these results are not measurements of the Foundry IQ service.
Answer preferences alone could not distinguish improvements in retrieved evidence from changes in organization or writing style. We wanted to assess both relevant diversity, varied query-relevant content, and representative diversity, coverage reflecting the topical structure of the relevant data, together with the model’s ability to use that evidence.
We developed two complementary forms of evaluation. AutoQ’s data-driven query synthesis enabled systematic generation of source-grounded assertions alongside questions, using the same material to establish what an answer should contain. Across local, linked multi-hop, and global queries, these assertions provide testable requirements; thematic assertions for global questions can also be linked to supporting facts. We complemented these answer-level checks with relevance-based retrieval measures, using LLM judgments of source chunks to assess context independently of the generated answer.
Table 1 gives our operational definitions, implemented in BenchmarkQED (opens in new tab). Precision uses LLM-judged chunks as its unit; our recall measure uses relevant topical clusters, measuring breadth rather than conventional document-level recall.

In the GraphRAG Zero study, we applied these measures to podcast transcripts and news articles using 200 synthetic questions, split equally between multi-hop and global queries. At a 50-chunk retrieval budget, global answer assertion coverage increased from 53.4 percent with vector RAG to 57.4 percent with GraphRAG Zero. Both used the same embedding model and answer generator, producing one response per query. GraphRAG Zero prepared the answer context in 0.93 seconds on average, including query embedding and excluding answer generation.
Sub-second retrieval changes the experience of asking a question. LazyGraphRAG and deep-research-style workflows can spend a minute or more gathering and analyzing evidence; here, answer generation can begin almost immediately. That is the practical meaning of “Zero”: retrieval at the pace of an interactive conversation.
GraphRAG Zero achieved higher cluster recall and topical fidelity, while vector RAG retained higher chunk precision. More representative evidence supported more complete global answers, showing why the relevant-chunk fraction alone was insufficient to guide development.
Optional reasoning extensions improve global answer coverage with additional model processing. GraphRAG Zero is already widely used across Microsoft. Its release through Foundry IQ and Repo Mind Light brings the same research direction to additional application and agent workflows, where retrieval quality must be considered alongside latency, cost, and ease of use.
What’s next: Building on GraphRAG Zero
GraphRAG Zero is a foundation for this next phase. Its adoption creates opportunities to learn from application requirements and evaluate improvements in context. Alongside this work, we are investigating complementary approaches to changing agent knowledge, broadening the design choices for workloads with different retrieval needs.
Context for changing agent knowledge
For an agent, retrieved context may support an intermediate interpretation, a planning step, or a decision about what to investigate next. The data also changes through the agent’s activity: documents and code are updated, observations accumulate, and earlier conclusions become inputs to subsequent work.
Our ongoing research explores methods for preparing useful context efficiently as knowledge changes, supporting both question answering and the repeated retrieval required by agents. This includes configurations that work with or without embeddings, giving applications more options for different workloads.
To guide this work, we use BenchmarkQED’s data-driven questions and assertions to measure graded evidence coverage. An LLM judges each chunk’s support for an assertion as full (1), partial (0.5), or absent (0). We take the best support across retrieved chunks, then average across assertions within each query and across queries. Repeated evidence adds no credit; support for a missing fact does. Rather than scoring generated answers, this measures how much of the required content is available in the retrieved evidence.
WikiKB from GitHub Next (opens in new tab) already applies this work to a repository-native knowledge base for people and agents. Knowledge is stored as reviewable Markdown with provenance and Git history, while indexing and retrieval run locally. People and agents can inspect, maintain, and reuse project knowledge through the same working environment.
Reusing evidence for loop engineering
The shift toward loop engineering makes evaluation part of a repeated cycle: improve a system, test it against a fixed standard, and use the results to guide the next iteration. BenchmarkQED’s chunk-level assertion evaluation (opens in new tab) is well suited to this process. With datasets, questions, assertions, and judging procedures held fixed, cached assertion-chunk results can be reused across system versions, with new judgments needed only for previously unassessed evidence. This makes repeated retrieval testing more economical while preserving a common basis for measuring progress and detecting regressions.

Beyond retrieval, we are seeing encouraging early results from loop engineering in open-ended domains as diverse as game development and graph layout. Evaluating qualities such as novelty and depth requires more than predefined correctness tests: designing how to recognize meaningful progress is part of designing the loop itself.
Looking back, every advance in GraphRAG has followed the same pattern: a new capability exposed a gap in how we measured quality, and closing that gap shaped the next system. GraphRAG Zero is a product of that loop. Our current work makes the loop itself an object of research, exploring how methods and evaluation metrics can co-evolve while preserving comparability within each development cycle.
With GraphRAG Zero now in Foundry IQ and Repo Mind Light, the loop widens: real applications will surface requirements that no benchmark yet captures. BenchmarkQED is open source so that teams can bring the same discipline to their own systems when measuring holistic reasoning over entire corpora. As retrieval becomes a foundation for agent reasoning and memory, progress can’t just be assumed – it must be measured at every iteration.

GraphRAG: Unlocking LLM discovery on narrative private data
Microsoft is transforming retrieval-augmented generation with GraphRAG, using LLM-generated knowledge graphs to significantly improve Q&A when analyzing complex information and consistently outperforming baseline RAG. Get the details.

