liveBook · Manning

GraphRAG

Also called graph RAG

GraphRAG is a retrieval-augmented generation approach that uses graph-structured knowledge and relationships to retrieve context for language-model responses.

How 7 Manning books explain it

Retrieval Augmented Generation, The Foundational Ideas

Graph RAG is a retrieval-augmented generation architecture that represents corpus relationships as a graph and retrieves evidence through graph structure.

How it is used
Supports synthesis of themes and other answers that require a corpus-wide view rather than a few retrieved passages.
How deep it goes
Explains the indexing and search phases and reconstructs a stripped-down Python indexing core, short of the full released pipeline.
Examples
Uses vendor disputes, incident reports, and a hand-built supplier graph to contrast global coverage with narrower retrieval.
What you can do after
Evaluate/understand it for global questions and weigh its coverage against indexing and query-time costs.

Read how Retrieval Augmented Generation, The Foundational Ideas explains GraphRAG →

Knowledge Graphs and LLMs in Action

GraphRAG is a retrieval-augmented generation approach that uses graph-structured knowledge to ground language-model outputs.

How it is used
Grounds language-model question answering and agents in structured, current, traceable knowledge.
How deep it goes
Explains graph design, retrieval paths, agent orchestration, metadata, provenance, and implementation tooling rather than only defining the technique.
Examples
Uses a Lauritsen–cyclotron retrieval failure, Rockefeller Archive Center questions, graph retrievers, and a Neo4j implementation listing.
What you can do after
Operate GraphRAG agents with KG retrievers and KG-enhanced document retrievers to produce more precise, grounded answers.

Read how Knowledge Graphs and LLMs in Action explains GraphRAG →

The Art of AI Product Development

A retrieval-augmented generation approach that uses graph-structured knowledge and entity relationships to retrieve contextual information.

How it is used
Improves retrieval for technical, legal, research-heavy, and complex multistep applications.
How deep it goes
Explains graph construction, traversal, pipeline integration, and domain tailoring without implementation code.
Examples
Uses finance relationships among regulations, companies, and market events as the domain-modeling example.
What you can do after
Apply it via a RAG pipeline that retrieves connected, context-rich evidence for complex queries.

Read how The Art of AI Product Development explains GraphRAG →

Essential GraphRAG

GraphRAG is a retrieval-augmented generation approach that incorporates graph-structured knowledge into information retrieval and response generation.

How it is used
Supports context-rich, interconnected retrieval for complex queries across diverse document collections.
How deep it goes
Builds an end-to-end workflow from entity extraction through graph indexing, community summarization, and global or local retrieval.
Examples
Uses The Odyssey, recurring characters, gods, mystical weapons, and cross-chunk entity summaries as evaluation artifacts.
What you can do after
Build it from scratch by modeling entities, constructing graphs, implementing retrieval workflows, and evaluating system quality.

Read how Essential GraphRAG explains GraphRAG →

Context Engineering

A retrieval-augmented generation approach that uses a graph's entities and relationships to retrieve structured context.

How it is used
Uses graph traversal to retrieve structured external context for LLM generation.
How deep it goes
Explains graph construction and query-time retrieval steps, including entity resolution and optional semantic entry points.
Examples
Illustrates retrieval with a query about dependencies of a product manufactured by Acme Corp.
What you can do after
Evaluate and understand GraphRAG pipelines, entry points, and retrieval trade-offs.

Read how Context Engineering explains GraphRAG →

Domain-Specific Small Language Models

A retrieval-augmented generation approach that uses knowledge graphs and community summaries to support multihop reasoning over document collections.

How it is used
Supports multihop reasoning across document collections by modeling entity relationships and retrieving community-level information.
How deep it goes
Defines graph construction, community summaries, query paths, persistence, and provider constraints; leaves local-search implementation out of scope.
Examples
Demonstrates CLI installation, workspace initialization, indexing, and a natural-language query about document topics.
What you can do after
Operate the CLI to initialize a workspace, index documents, and query with a selected search method.

Read how Domain-Specific Small Language Models explains GraphRAG →

AI Agents and Applications

GraphRAG is a retrieval-augmented generation pattern that uses graph-structured knowledge for retrieval, reasoning, and response generation.

How it is used
Uses structured knowledge graphs to retrieve connected facts, support complex reasoning, and generate natural-language answers.
How deep it goes
Explains graph construction, query generation, execution, and response synthesis, but defers detailed KG-RAG implementation.
Examples
Uses Roberto, Inter Milan, and Serie A as graph entities connected by typed relationships and triples.
What you can do after
Build a GraphRAG workflow that generates Cypher or SPARQL queries and converts retrieved graph data into answers.

Read how AI Agents and Applications explains GraphRAG →

Also covered in

What to know first

Related concepts

Questions about GraphRAG

What is GraphRAG?

GraphRAG is a retrieval-augmented generation approach that uses graph-structured knowledge and relationships to retrieve context for language-model responses.

Which Manning books explain GraphRAG?

Retrieval Augmented Generation, The Foundational Ideas, Knowledge Graphs and LLMs in Action, The Art of AI Product Development, Essential GraphRAG, Context Engineering, Domain-Specific Small Language Models and AI Agents and Applications.

What should I know before learning GraphRAG?

Manning books that teach GraphRAG usually introduce knowledge graph, similarity search, retrieval-augmented generation and embedding first.

What kinds of GraphRAG are there?

Kinds of GraphRAG include HippoRAG and LightRAG.

What is GraphRAG a kind of?

GraphRAG is a kind of retrieval-augmented generation. Retrieval-augmented generation is a technique that retrieves relevant information from external sources and supplies it as context to a generative model when producing an output.

What is GraphRAG also called?

GraphRAG is also called graph RAG.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.