Beginner level · Module 6: Introduction to Agent Workflows · Lesson 3 of 3
Review Loops and Parallel Steps
Learners add a checking step that reviews a draft against rules and sends it back once for correction, and see when independent steps can run in parallel.
In this lesson you will
- Add an evaluator review step
- Identify steps that can run in parallel
Key concepts
evaluator-optimizer loopreview criteriarevision limitparallel stepscombining results
The lesson
In an evaluator loop, one step drafts and another checks the draft against criteria (sources cited, no invented numbers, correct format). If the check fails, the draft goes back once with the reasons. Limit revisions to one or two.
Independent steps can run in parallel, for example searching the fees document and the timetable at the same time, and the results are combined afterwards. This saves time when steps are slow.
These are the building blocks of the multi-agent systems taught at the Advanced level.
Step by step
- Add a review step with three criteria.
- Allow one revision and log both versions.
- Run ten questions and count revisions and improvements.
- Identify two steps that could run in parallel.
Practice activity
Add a review loop to the project workflow and measure its effect.
Expected result: A workflow with a limited review loop and measured improvements.
Check your understanding
-
What does an evaluator step do?
Show answer
It checks a draft against criteria and sends it back for correction if needed.
-
When can steps run in parallel?
Show answer
When they do not depend on each other's outputs.
Further learning
Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.