liveBook · Manning

Agentic RAG

Agentic RAG is a retrieval-augmented generation approach in which an agent dynamically decides how and when to retrieve information, often iterating or using tools before generating a response.

How 4 Manning books explain it

AI Agents in Action, Second Edition

How it is used
Uses agent-controlled retrieval to answer questions from external knowledge and support larger workflows.
How deep it goes
Develops vector and hybrid agents through indexing, tool instructions, grounding, guardrails, and evaluation; omits hybrid tool implementations.
Examples
Uses a movie-script search agent, benchmark questions, and a customer-support workflow.
What you can do after
Apply it via the OpenAI Agents SDK and Chroma DB, with retrieval tools, grounding instructions, and failure handling.

Read how AI Agents in Action, Second Edition explains agentic RAG →

Domain-Specific Small Language Models

A retrieval-augmented generation setup that uses an AI agent to plan, select, and combine retrieval actions across one or more sources before generation.

How it is used
Uses an agent to plan and adapt retrieval across sources before generating an answer.
How deep it goes
Works through PDF preparation and BM25, semantic, hybrid, and web-search tools, but does not detail agent planning internals.
Examples
Uses a chunked PDF and smart-home queries to demonstrate local retrieval, web search, and multiple-tool selection.
What you can do after
Apply it via smolagents CodeAgent with local and web-search tools, including a weighted hybrid retriever.

Read how Domain-Specific Small Language Models explains agentic RAG →

Essential GraphRAG

Agentic RAG is a retrieval-augmented generation pattern in which agents and routing mechanisms select and coordinate retrieval actions to answer a question.

How it is used
Routes questions across multiple data sources and validates retrieved answers when generic retrieval is insufficient.
How deep it goes
Defines routing, retrieval, and answer criticism, while stopping short of advanced multi-step task planning.
Examples
Uses generic vector retrieval, specialized text2cypher, and parameterized database queries as alternative retriever agents.
What you can do after
Build retrieval workflows that select suitable sources and assess answer quality before returning results.

Read how Essential GraphRAG explains agentic RAG →

Building Reliable AI Systems

A retrieval-augmented generation approach in which an AI agent controls the retrieval process, including deciding when multiple retrievals are needed.

How it is used
Combines document retrieval with agent-directed searches, external tools, and real-world tasks.
How deep it goes
Explains multi-source retrieval decisions and practical tool integration through a travel-assistant implementation.
Examples
Uses policy-and-review comparisons and travel planning with a weather service to illustrate retrieval needs.
What you can do after
Build a travel assistant that combines document retrieval with real-time services using LangChain.

Read how Building Reliable AI Systems explains agentic RAG →

Related concepts

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.