#workflows
- 19 May 2026 · Study
LangChain · LangGraph
LangGraph models an application as a state machine: typed state, nodes that update it, and conditional edges, used here to build a small corrective-retrieval loop that rewrites the query when retrieval looks weak.