The generator-evaluator pattern splits an agent into two roles: one that produces work and one that judges it. The generator creates an output; the evaluator grades it against explicit criteria and hands back a critique; the generator revises. Looping this way pushes quality far past what a single pass produces. The idea borrows from Generative Adversarial Networks, where two networks improve by pushing against each other.
Agents are bad at grading their own work. Ask one to evaluate what it just produced and it will confidently praise mediocre output. Separating the judge from the doer is the whole trick, but it only works if you tune the evaluator to be skeptical. A lenient evaluator is just self-evaluation with extra steps.
Key Ideas