Skip to Content
Agentic GraphRAG
book

Agentic GraphRAG

by Anthony Alcaraz, Sam Julien
August 2026
Intermediate to advanced
388 pages
11h 41m
English
O'Reilly Media, Inc.
Content preview from Agentic GraphRAG

Part I. Foundations of Graph-Based Agentic Systems

Part I establishes the foundational theory of the book and introduces the end-to-end example you will build for the rest of it. Before we can construct an agentic system, we have to be honest about why the current generation of agents keeps stalling out in production: stateless retrieval, flat embeddings, no temporal model, monolithic prompts, and ad hoc tool integration. Those five flaws are not separate bugs. They are symptoms of a single representational gap, and closing that gap is what this book is about.

From there, we introduce the structural answer: the move from strings to things, the dual-graph architecture of a vertical knowledge graph (what the agent knows) and a horizontal workflow graph (how the agent acts), and the eight pillars that turn that structure into a working system. By the end of Part I, you will have a complete mental model of where we are going and why, along with the autonomous DevOps agent as a concrete system to anchor every later chapter.

  • Chapter 1 defines agentic AI along three dimensions of agency, places systems on the workflow-agent spectrum, diagnoses the five flaws of vector retrieval-augmented generation (RAG) for agents, and motivates GraphRAG as the evolution of contextual retrieval.

  • Chapter 2 introduces the dual-graph architecture, lays out the eight pillars and how they map to the rest of the book, and introduces the autonomous DevOps agent in its initial reactive state.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Building Agentic AI Systems

Building Agentic AI Systems

Anjanava Biswas, Wrick Talukdar
Observability Engineering

Observability Engineering

Charity Majors, Liz Fong-Jones, George Miranda
Prompt Engineering for LLMs

Prompt Engineering for LLMs

John Berryman, Albert Ziegler

Publisher Resources

ISBN: 9798341623163Errata Page