
Corrective RAG LangGraph
blueprint · 3 agents
20000★ stars
What it does
The CRAG paper as a LangGraph tutorial: a retrieval grader scores each document, weak retrievals trigger query rewriting and a web-search fallback, and generation only runs on context that passed. The defensive-retrieval companion to Adaptive RAG.
Agent flow
1 · Retriever
Pull from the index
vectorstore
2 · Grader
Score relevance
no tools · reasoning
3 · Fallback
Rewrite & web-search
tavily search
get the code
View the source on GitHub ↗
This blueprint lives in its authors' repository. SocketCat indexes it and links you to the real thing.
More in Core patterns
Browse all →Supervisor Team
com.socketcat/supervisor-team
LangGraph
A supervisor decides who works next — a researcher who searches or a coder who edits the repo — and assembles the result when the work is done.
★ 21402 servers
⑂ 312