Building an Agentic RAG System with LangGraph

you own this product
prerequisites
intermediate Python • basics of state machines • completion of Projects 1–3 (or equivalent reusable `retrieve(query, k)` and grounded-answer prompt) • basic familiarity with LangChain/LangGraph installation
skills learned
LangGraph state machines and conditional edges • query analysis and routing • tool-calling agents • self-evaluation and iterative refinement loops • retry/fallback patterns • FastAPI deployment of an agentic workflow
1 week · 4-6 hours per week · INTERMEDIATE

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside

In this liveProject, you'll step into the shoes of an AI engineer turning a retrieval-and-generation pipeline into an autonomous agent. Building on the retrieval, hybrid search, and grounded-answer components from the earlier projects, you'll design a LangGraph state machine that analyzes each incoming question, routes it, and decides when to retrieve. You'll wrap your hybrid retriever as a tool the agent can call, add a self-evaluation node that scores its own answers, and build an iterative refinement loop with retry and fallback strategies for when the first attempt falls short. Finally, you'll deploy the whole agentic workflow behind a FastAPI endpoint with basic logging and monitoring. By the end, you'll have a modular, agentic RAG system you can adapt to any large document corpus.

This project is a part of the series Building an Agentic RAG Application.
This project is designed for learning purposes and is not a complete, production-ready application or solution.

project author

Matteus Tanha
Dr. Matteus Tanha is an AI engineer and architect with over a decade of experience building production machine learning and agentic AI systems. He is co-founder of Alpha Quants, a boutique AI consultancy serving finance and enterprise clients, and has led AI initiatives at organizations including the Financial Times and Zurich Insurance. At the Financial Times, he architected AskFT, a retrieval-augmented research assistant combining semantic search and LLM orchestration to serve over a million monthly users. His work spans hybrid retrieval systems, knowledge graphs, and multi-agent orchestration, with deep expertise in RAG architectures and vector and graph databases. Matteus holds a Ph.D. in Computational Chemistry from Carnegie Mellon University, where his research applied machine learning methods to quantum chemical computation.

prerequisites

This liveProject is for developers who want to build an agentic RAG system. This project builds on Projects 1-3; you'll need their reusable retrieve(query, k) and grounded-answer components (or equivalents).


TOOLS
  • Intermediate Python
  • Basics of Jupyter Notebooks
  • Basics of the command line
  • LangGraph
TECHNIQUES
  • Basics of state machines
  • LLMs and prompting
  • RAG at a high level

features

Self-paced
You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from fellow participants and even more help with paid sessions with our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Building an Agentic RAG System with LangGraph project for free