Anthropic's Applied AI team pairs long agent builds with a critic that uses the app
Ash Prabaker (Anthropic) describes a planner, builder and evaluator harness for multi-hour app builds. The evaluator has its own context, agrees a definition of done with the builder before coding, and tests by clicking through the running app.
Watch from 18:11Recording by AI Engineer.
The idea
The speaker’s argument, in our words.Prabaker's starting point is that an agent asked to review its own work tends to approve it. His team splits the job: a planner turns a one-line prompt into high-level sprints, a generator builds, and an evaluator with a separate context and system prompt opens the live app with Playwright and sends a critique back. A standalone critic is still an LLM with LLM tastes, but he says tuning it to be harsh is tractable, while making a builder self-critical is not.
In the Q&A the speakers add that the evaluator gets a structured handoff rather than the builder's traces: they tried sharing traces, and the builder's habit of convincing itself that something works fed into the critic.
What they found
From the talk. Figures are self-reported unless stated.Generator and evaluator get separate context windows, system prompts and jobs; the evaluator uses Playwright on live pages instead of reading diffs.
The speaker's account of internal experiments behind their demo apps; he says they are also experimenting with these patterns in post-training (RL).
Technical recommendation
19:01Before building, the two agents exchange markdown files until they agree on scope and tests; the evaluator grades against that contract, not the planner's original spec.
For the game-maker run the contract had 27 criteria (31:50); he says vague criteria produce vague critiques.
Technical recommendation
25:33Same prompt and model: a solo loop produced a retro game maker whose play mode ignored the arrow and space keys; the full harness took about six hours and about $200 and produced a game that could be played.
Single runs of each, shown as an expensive experiment, not an efficient default. Model not named for this comparison.
Case study
28:42The evaluator caught a FastAPI route-ordering bug that passed every unit test and a Boolean logic bug on the delete key, because it used the app.
Same run. He adds that out of the box Claude was a poor QA agent that deferred bugs, and the critic needed much prompt tuning from reading traces (32:41).
Case study
31:09
Why it matters
Our reading. Not said in the talk.Keeping the builder's reasoning away from the critic recurs in other talks. Eugene Yan (Anthropic) gives his vulnerability verifier only the finding, and Brian Kennedy (ZoomInfo) found an LLM judge believing the agent's own report over its tool results.
What one could try
- Give your QA step its own sub-agent with a harsh prompt and a written rubric, and let it drive the app through a browser tool rather than read the diff.
- Have the builder and the reviewer agree testable acceptance criteria in a file before coding starts.
- Pass the reviewer the output and the contract, not the builder's reasoning.
Limitations
- Demonstrations on greenfield web apps with single runs; the speakers say the full pattern suits greenfield work unless heavily customised (1:10:47).
- Cost and duration (about $200, six hours) are for one run; no comparison of cost per working feature.
- Anthropic speakers describing work with their own models.
Original sources
AI Engineer Europe 2026 · May 18, 2026
How to Build Agents That Run for Hours (Without Losing the Plot)
Ash Prabaker, Andrew Wilson · Anthropic · 76 min
This is our synthesis of the talk, checked against the transcript at the linked moments.
