Agent Playground
Recipe: Eval harness
Scores three prompt variants against a fixed test set in parallel copies, and keeps the one that scores best. What it does, when to use it, how to make it yours, and what a run costs.
Scores three versions of a prompt against the same test questions, side by side, and keeps the one that scores best. Use it to choose between prompts by their results, not by feel.
| At a glance | Notes |
|---|---|
| Category | Evals |
| Shape | Parallel lanes, best score wins |
| Plan | Pay as you go (runs 4 sandboxes at once) |
| Needs a Claude key | No |
| Limits it comes with | 1 loop, 180 seconds, $0.05 |
When to use it
- You're writing prompts for an AI step and want to know which one really answers best.
- Checking that a prompt change didn't make answers worse.
- Any comparison by score: accuracy, quality ratings, percentage of right answers.
Run it
- Open Agent Playground in the dashboard and find Eval harness under Start from a recipe. In the builder, Recipes in the toolbar lists them too.
- Choose Use this recipe. It becomes a flow of your own, so changing it never changes the recipe.
- Choose Simulate to see the forecast, then Run.
What you'll see: "With examples" gets all six questions right and wins. The other two each miss at least one, and Report names the winning prompt.
Make it yours
- Put your own questions and known answers in Load test set.
- Replace each lane with an Ask AI step that answers the questions with one prompt, then a Run code step that scores the answers and prints
{"score": ...}. - Run it again after every prompt change, and use Compare to see which answers changed.
Note
This recipe runs four sandboxes at once (the main one and three lanes), so it needs Pay as you go. Free runs up to three. With AI steps in the lanes, each run also uses your Claude key three times over.
What a run costs
These are the builder's own forecast for the recipe as it comes, with its limits, rounded. Simulate shows the same numbers for your version, and they change as you change the flow.
| Notes | Typical | 1 in 10 runs | At most |
|---|---|---|---|
| Sandbox time | $0.0003 | $0.0004 | $0.0091 |
| How long it takes | 12 seconds | 13 seconds | 180 seconds |
A typical run uses $0.0003 of sandbox time, so about 3,000 runs cost $1, and every plan includes $5 of usage a month. That includes all 4 sandboxes: the main one and each lane. At most is the most a run could cost with these limits: it stops at $0.05 or 180 seconds, whichever comes first.