#7474th of 101 in RAG, knowledge and search
controllable-rag-agent
LangGraph RAG agent that plans, retrieves and verifies answers over PDFs
Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 1.6k
- License
- Apache-2.0
- Last commit
- Oct 2026
- Language
- Jupyter Notebook
1,571 on 6 May 20261,636 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
A reference implementation of a deterministic LangGraph agent for multi-step question answering over PDF documents. It anonymizes the question, builds a plan, runs retrieve or answer tasks against FAISS stores of chunks, chapter summaries and quotes, then checks answers for grounding and re-plans. The demo uses the first Harry Potter book and evaluates with Ragas metrics; a Streamlit app visualizes the run.
Who it is for: Engineers studying multi-step, verifiable RAG agent design with LangGraph
Strengths
- Verification step checks answers against retrieved context and re-plans remaining tasks
- Question anonymization reduces reliance on the LLM's pre-trained knowledge
- Ragas evaluation covers correctness, faithfulness, relevancy, context recall and similarity
- Streamlit app shows agent steps live; Docker Compose setup included
Weaknesses
- Demo is built around one book; custom PDFs need pipeline adjustments
- Primarily a notebook and demo, not a packaged service or library
- Requires a paid LLM API key (OpenAI or Groq) by default
- Many multi-step LLM calls per question add latency and cost
What it needs
- no GPU
- Docker + Compose
- Needs Python 3.11+, LangChain, LangGraph, FAISS, Streamlit, Ragas, OpenAI or Groq API key
- Models: OpenAI, Groq, LangChain-compatible chat models
- port 8501
Also in RAG, knowledge and search
See all 101| Rank | Project | Score |
|---|---|---|
| #72 | bertopicPython topic modeling library using transformer embeddings and c-TF-IDF | 50 out of 100 |
| #73 | llm-graph-builderTurns PDFs, web pages and videos into a Neo4j knowledge graph | 49 out of 100 |
| #75 | aix-dbText2SQL chat interface that answers data questions and renders charts | 48 out of 100 |
| #76 | daily-arxiv-ai-enhancedDaily arXiv crawler that adds LLM-written summaries, hosted on GitHub Pages | 46 out of 100 |
| #77 | dzhng/deep-researchIterative deep-research agent that searches, reads and writes a markdown report | 45 out of 100 |