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.

Want to help this course open? Test it, or vet it →

Put your name in

A course is checked against its sources before it opens. If you want to read it early and send notes, or you know this subject well enough to check the claims, say so here. The instructor decides who reviews their own course, so this is a request, not a login.

How would you like to be involved?

How we reply, and how a review invitation would reach you.

Include your country code, for example +44 20 7123 4567 or +1 555 0100.

Anything you want the instructor to know.

Your phone number and your background are shown only to this course's instructor and this school's admins. They are never published, never sold, never added to a mailing list, and never sent to any other service. Both are optional: leave them blank and email is enough.

Your name, your email address, and which of the three you picked go to the WitUS team's inbox so a person actually reads this and replies.

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