ORC-RFL-01Tier IOrchestration Topology

Evaluator–Optimiser Loop

Separate the generator from the evaluator: one agent produces, another critiques against criteria, and the loop iterates until quality is met.

Runtime: Reflect / LearnAgentOps: Build & IntegrateSee on the matrix →
EVALUATOR ↔ OPTIMISER Generatorproduces candidate Candidatev1 Evaluatorcriteria-based Critiquespecific gaps Revisetargeted fixproduceevaluatecritiquereviseSeparate evaluator (different prompt/model) catches what self-critique misses.
In Plain English

This page is the complete instruction page for one pattern called "Evaluator–Optimiser Loop." It explains the problem this pattern solves, the idea behind the solution, when you should (and should not) use it, and what happens afterward, both the good effects and the costs.

This matters because building AI agents is not just about making them clever. It is also about making them safe and predictable. Following a well-tested pattern like this one helps avoid common mistakes, and shows you exactly which safety rules and regulations it connects to, listed under "Standards Mesh" on this page.

Context

Reflection inside one agent conflates generation and critique: the same context, the same biases. A separate evaluator, with different prompt and sometimes different model, catches more.

Problem

Self-critique by the same model shares the same blind spots.

Forces

  • Diversity of perspective vs cost
  • Exit criterion strictness

Solution

Generator produces a candidate. Evaluator (ideally a different model, or the same with an evaluation-specific prompt) scores against explicit criteria. If below threshold, send back to generator with the evaluator's specific critique. Cap iterations.

Placement

Where this pattern acts in the two lifecycles

Runtime Cognitive
01Perceive
02Reason / Plan
03Decide
04Act
05Observe
06Reflect / Learn
07Terminate

06 Reflect / Learn. Critique, self-correct, memory write. 8 of 61 catalogue patterns act at this stage.

AgentOps Lifecycle
01Design & Scope
02Build & Integrate
03Evaluate & Red-Team
04Deploy
05Operate & Monitor
06Iterate & Adapt
07Decommission

02 Build & Integrate. Model selection, tool wiring, memory design. 17 of 61 catalogue patterns act at this stage.

Stages and counts from the catalogue data. The Runtime lens is the loop the agent runs each turn; the AgentOps lens is the lifecycle the team runs the agent through. See the Matrix for every pattern at each stage.

Applicability

  • Code generation
  • Copywriting under brand guidelines
  • Translation
  • Any output with programmatic quality criteria

Anti-Patterns

  • Evaluator and generator with identical context/prompt
  • Loops without exit cap

Consequences

  • +Meaningful quality lift
  • +Separable improvement of gen vs eval
  • −Doubled cost minimum
  • −Evaluator quality is the new bottleneck