Agentic RAG with LangGraph: query analysis, retrieval, and generation as nodes
For multi-hop questions, make retrieval a node in a LangGraph instead of a fixed pipeline step: analyze the query, retrieve, decide whether to retrieve again or generate. The docs' agentic RAG guide is the reference implementation. Not the full reference manual.