Skip to content
← Back to catalog

Reflection Loops in LangGraph: Write, Critique, Revise

by bam

You can build a LangGraph graph and call a model, but you haven't yet built an agent that judges its own output, revises it, and knows when to stop. This course builds that write, critique, revise loop one piece at a time on a running support-reply example, then hardens it: bounded termination so it always exits, a data rubric an LLM can actually score, LangSmith tracing that makes bugs legible, and an eval that reuses the very same rubric. Module 5 treats reflection as a budget on a cost and quality curve, and the capstone redeploys the whole stack on a brand-new domain (rewriting dense legal clauses into plain language) to prove the pattern transfers. It's TypeScript first with a Python translation track, grounded in the open-source wanderlearn-field-reporter repo, and every example runs offline with no API key. Follow along in the wanderlearn-field-reporter repo, and see the loop running in the deployed app.

Coming soon

This course is being reviewed

Every course on Learn.WitUS is checked against its sources before it opens, so the lessons are not available yet. What the course covers is above, and any academic standards it meets are listed with it. Enrollment opens when the review is finished.

One email when it opens. Nothing else.

Already studying this course? Sign in and it will open as usual.