Reading preferences
Concept

Advanced, Graph, and Agentic RAG

Compare retrieval strategies and their evidence, cost, and security boundaries.

generative ai, rag, graphrag, agentic rag

Add retrieval only when it helps

Advanced retrieval may rewrite queries, decompose questions, search multiple sources or rerank candidates. GraphRAG can use an extracted entity graph and community summaries to help with relationships or broad themes. The published GraphRAG approach is one design, not a promise that graphs always beat passage search.

A multi-part question

  1. A user asks how two projects relate. A controller identifies two subquestions and retrieves permitted passages for each.
  2. A graph index suggests a connection; verify it against the original sources rather than treating an extracted edge as fact.
  3. Combine supported evidence or report missing information. Limit steps, latency and tool permissions; do not obey instructions in retrieved text.

See the reasoning

Follow the example one step at a time

Trace a bounded multi-source retrieval. This is a prepared teaching demonstration, not live code execution.

Decompose

question → subquestion A + subquestion B

The controller identifies two information needs.

Evaluate end to end

An agentic workflow chooses additional searches based on observations. It can improve coverage but may loop, magnify retrieval mistakes or expose unauthorized data. Measure retrieval recall, grounded answers, source coverage, access enforcement, cost and latency against a simpler baseline. Graph extraction and summaries can be stale or wrong; preserve provenance and support updates and deletions.

Reflect on the concept

Four fixed questions to reinforce the reasoning. Answers are not saved or scored.

1. Why might a pipeline rewrite a query or retrieve multiple times?
2. What can GraphRAG use?
3. What distinguishes an agentic retrieval workflow?
4. Why keep source provenance?

References and further reading