Planner-generator-evaluator
active / passedfailed criterion
- The planner expands a short prompt into a product spec.
- Generator and evaluator negotiate a sprint contract before any code.
- The generator builds; the evaluator drives the live app with Playwright.
- One failed criterion fails the sprint; bugs feed the next build.
Notes & references
Use when
Long builds where self-evaluation is too lenient to trust.
Avoid
Tasks inside the model’s solo capability: the overhead is large.
spec = planner(prompt)
for sprint in spec:
contract = negotiate(generator, evaluator, sprint)
while True:
generator.build(contract)
bugs = evaluator.run(contract, playwright)
if not bugs: break # every criterion clears its threshold
generator.receive(bugs)
- Harness design for long-running appsAnthropic
- Demystifying evals for AI agentsAnthropic
- Building effective agentsAnthropic