Dev & Engineering langgraphragretrieval-augmented-generationqdrantgradioollamahybrid-searchdocument-indexing

Agentic RAG for Dummies

Build a modular, memory-aware, human-in-the-loop Agentic RAG with LangGraph in minutes.

FollowAgents review · FARS-2.1
Not recommended
51/ 100 5-point scale 2.6 / 5
1 2 3 4 5 6
1Trust10 / 29 · 1.7/5

Evidence shows: README describes human-in-the-loop query clarification, but no concrete user confirmation mechanism; data flow transparency is limited, only mentioning Langfuse observability; sensitive data handling is not specified; dependencies are pinned but no security audit; external effects include local file writes and vector DB operations, but permissions are not clarified; no rollback mechanism; source attribution only via metadata 'source' field, lacking full provenance. Deductions: lack of least privilege principle, user confirmation only as feature description, insufficient data flow transparency, sensitive data handling not addressed, dependency security not audited, external effects permissions unclear, no rollback, incomplete source attribution.

2Reliability8 / 14 · 2.9/5

Evidence shows: internal logic is consistent, e.g., parent/child chunk size validation; dependencies are pinned but availability not verified; error handling provides partial return messages (e.g., RETRIEVAL_ERROR). Deductions: dependency availability not verified, failure messages coverage incomplete.

3Adaptability12 / 18 · 3.3/5

Evidence shows: README clearly targets learners and developers, offering two usage paths; capability boundaries are described via feature table; trigger precision is reflected in query rewriting and clarification mechanisms; environment fit supports multiple LLM providers and local/cloud deployment. Deductions: capability boundaries not detailed enough, environment fit not covering all possible scenarios.

4Convention9 / 18 · 2.5/5

Evidence shows: README structure is clear, including installation and usage; naming is stable, e.g., CHILD_COLLECTION; examples and troubleshooting provided; MIT license explicit; but version history and changelog missing, maintenance responsibility not stated. Deductions: no versioning info, maintenance responsibility not stated.

5Effectiveness9 / 13 · 3.5/5

Evidence shows: output usability demonstrated via examples and demo; marginal value in modular architecture and multiple features; cost-benefit via local Ollama option lowers barrier. Deductions: no performance benchmarks or cost analysis.

6Verifiability3 / 8 · 1.9/5

Evidence shows: README claims partially supported by code, but no independent verification; cross-source corroboration limited, relying on single repo; facts and inferences not clearly separated. Deductions: lack of independent verification and fact/inference separation.

Evidence confidence: Low Reviewed Aug 11, 2026 Reviewed revision f4db3ddef0e2
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
Safety controls not found in source: rollback or recovery path
Before you use it
  • Dependencies are pinned but no security audit; consider vulnerability scanning before use.
  • Sensitive data handling is not specified; additional assessment needed if processing personal data.
  • No rollback mechanism; indexing operations may overwrite existing data; recommend backups.
  • External effects (file writes, vector DB operations) permissions are not clarified; restrict in deployment environment.
Review evidence [1][2][3]
See the full review method →

What does this agent do, and when should you use it?

This repository demonstrates how to build a fully-featured Agentic RAG (Retrieval-Augmented Generation) system using LangGraph. It includes hierarchical indexing (parent-child chunking), conversation memory, query rewriting and clarification, multi-agent parallel retrieval, context compression, and self-correction. The system uses hybrid search with Qdrant and supports multiple LLM providers, defaulting to local Ollama but with examples for OpenAI, Anthropic, and Google. The project offers both an interactive Jupyter notebook for learning and a modular Python project with a Gradio chat interface. It also includes RAGAS-based evaluation and Langfuse observability.

The repository provides a complete Agentic RAG pipeline. It processes user queries, summarizes conversation history, rewrites ambiguous queries, and asks for clarification when needed. Complex queries are decomposed into sub-questions that are executed in parallel by multiple agent subgraphs. Each agent uses 'search_child_chunks' and 'retrieve_parent_chunks' tools to retrieve relevant documents, compresses context to stay within token limits, and retries if results are insufficient. Finally, all answers are aggregated into a coherent response. The entire workflow is orchestrated via LangGraph state graphs and exposed through a Gradio UI.

  1. A developer wanting to quickly grasp Agentic RAG concepts through a step-by-step Jupyter notebook.
  2. A team building a production RAG system that needs a modular, customizable architecture.
  3. An organization with many PDF documents needing accurate answers with context preservation and hybrid search.
  4. A cost-conscious user preferring local LLMs (Ollama) but wanting flexibility to switch to cloud providers.
  5. A researcher evaluating retrieval quality using RAGAS metrics built into the repository.

What are this agent's strengths and limitations?

Pros
  • Offers two pathways: a learning notebook and a modular production-ready project.
  • Highly modular: LLM provider, embeddings, chunking, and workflow are independently configurable.
  • Advanced features: multi-agent parallelism, query clarification, context compression, and self-correction.
  • Hybrid retrieval (dense+sparse) with local-first Ollama support for privacy and cost savings.
Limitations
  • Requires Python 3.11+ and several dependencies (Qdrant, LangGraph), which may be overkill for simple use.
  • Default local model performance depends on hardware; docs recommend 8B+ models for reliable tool calling.
  • No fully documented Docker deployment in this README; must refer to project README for details.
  • Evaluation and observability require additional setup and may add complexity.

How do you install or deploy this agent?

  1. Clone the repo: git clone https://github.com/GiovanniPasq/agentic-rag-for-dummies
  2. Install dependencies: pip install -r requirements.txt (or uv pip install -r requirements.txt)
  3. Optionally install Ollama and pull a model: ollama pull granite4.1:8b
  4. Place PDF files in the 'docs/' directory (sample PDFs are linked).

How do you use this agent?

Option 1 (Quickstart): Open notebooks/agentic_rag.ipynb in Google Colab or Jupyter, run all cells, and add PDFs to docs/.
Option 2 (Full Project): Run python project/app.py to launch the Gradio interface, then open the local URL (e.g., http://127.0.0.1:7860) in your browser.
Note: The default LLM is Ollama; for cloud providers, replace the LLM initialization code with the provided examples.

FAQ

Do I need a GPU to run this?
Not strictly, but local Ollama models can be slow on CPU, especially larger ones. A GPU is recommended for better performance, or use cloud LLMs.
How do I change the LLM provider?
You modify the LLM initialization code. The repo includes examples for OpenAI, Anthropic, and Google—simply replace the ChatOllama instantiation with the desired one.
How can I improve retrieval quality?
Adjust parameters like top-k, similarity thresholds, and parent/child chunk sizes. The troubleshooting section in the README provides guidance.
What document formats are supported?
Currently PDF, converted to Markdown via pymupdf4llm. Other formats would require additional conversion tools.

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related agents