
Reflection (LangGraph tutorial) LangGraph
blueprint · 3 agents
38403★ stars
What it does
LangGraph's minimal reflection tutorial: one node generates an essay, another critiques it in the persona of a teacher, and the graph cycles between them. The simplest complete example of the generate-critique-revise loop.
Agent flow
1 · Generator
Draft the essay
no tools · reasoning
2 · Reflector
Critique as a grader
no tools · reasoning
↻ Loop
Revise for N rounds
graph control
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.