Iterate on difficult problems
Run ZeroTwo as a scored refinement loop that works through tough problems.
Equip ZeroTwo with a way to score its own work, for example scripts and artifacts you can review, so it can keep refining on a tough task until the results are good enough.
Related links
Starter prompt
Introduction
Some problems can't be settled in one shot; they need many cycles of inspect, score, change, repeat. Give ZeroTwo the scripts that emit metrics and artifacts, and optionally a UI that lets you watch each iteration improve. Work or Code on the desktop app can run those scripts on your computer.
Start with evals
Define success before starting, mixing two kinds of checks:
- Deterministic: metrics and constraint violations computed in code.
- LLM-as-a-judge: rubric scores for subjective qualities, via a script that calls a model through an API you have access to.
Save machine-readable results after every run so they compare over time. ZeroTwo can write the eval script for you.
Give ZeroTwo a stopping rule
"Keep improving" drifts. Set targets for the overall score and the judge average, for example both above 90%, and continue until both clear. For a long loop you can also set the objective as a Goal with /goal, which keeps the run going until it is complete, paused, or out of budget.
Keep a running log of the loop
Have ZeroTwo note best scores, the last change, what improved or regressed, and the next idea. The log survives long runs and resumes.
Inspect the artifact, not just the logs
For visual output, let ZeroTwo view the actual image or render and compare it with the prior best. Scores show how much; the artifact shows what they missed.
Make every iteration explicit
- Run evals on the baseline.
- Find the biggest failure mode.
- Make one focused change.
- Re-run and log whether it helped.
- Repeat until thresholds are met.
Changing many things at once hides what worked, and skipping the log makes resuming hard.
Related use cases
Understand large codebases
Follow how requests move through the system, map modules you do not know, and quickly locate the relevant files.
Create browser-based games
Write a game plan and have ZeroTwo build it and try it out in a live browser.
Follow a goal
Hand ZeroTwo one lasting objective for long-running work.


