Playground
Try one case against several prompts and models side by side, score the outputs, and save the winner as a prompt version. Decision tasks try a Jev or Hartley decision model the same way.
The Playground is where you work on one case by hand. Put tasks side by side, each with its own messages and model, run them, and compare what comes back. When a wording wins, save it as a prompt version. It is the quick loop between finding a bad answer in your traces and shipping the fix; to check a change across many rows, use a dataset.
Open Assess → Playground. The list shows your saved playgrounds; New playground starts a blank one.

The bench
A playground is a row of tasks, side by side. The first is Base task. Add task adds another: Manual, From span, From prompt or Decision. The ⋮ menu on a task switches its source between Manual, From span and From prompt, and has Duplicate and Remove.

Each task has:
| Part | What it is |
|---|---|
| Model | A provider key from Settings → Models, a model, and Params (temperature, max tokens and the rest). |
| Messages | The conversation sent to the model, each message with its role: System, User or Assistant. Message adds one. |
| Variables | Shown when a message has {{variables}}: the values to fill them with for this run. |
| Tools | Tool definitions as JSON, for testing tool calls. |
| Output format | Text, JSON (any valid JSON) or Structured (exactly the JSON schema you give). |
Run all runs every task; ▶ runs one. Each task calls its model once, and its output appears under Results with its latency, tokens and cost.
Save keeps the playground: its tasks, models, settings and last results. A new playground asks for a name the first time you save or run it.
Where a task starts
| Source | Use it when |
|---|---|
| Manual | You write the messages yourself. |
| From span | You want to replay a real model call. Paste an LLM span's ID and its whole input comes in as editable messages, with its model picked when you have a key for that provider. If the call used a managed prompt, the task opens as that prompt version with the values it was filled with. |
| From prompt | You want to test a managed prompt exactly as your app runs it. Pick the prompt and a version, then set its variables. An Edited tag shows once you change it. |
To start from a span you're looking at in Traces, use its Evaluate menu → Open in playground.
AI Score
Turn on AI Score before you run to score each output. Under each output, AI Score opens the checks, each against its own threshold, and counts those failing:
| Check | Measures |
|---|---|
| Contextual grounding | How well the output is supported by its context, or by tool results and earlier turns when there is no context. Higher is better. |
| Rule adherence | The share of mechanical rules in the system message the output follows: format, length, required phrases. Higher is better. |
| Contradiction | How likely the output contradicts its context or reverses a key fact. Lower is better. |
| Factual faithfulness | The share of hard facts in the output (IDs, numbers, dates, URLs) that its context or the question supports. Higher is better. |
| Semantic echo | How close the output is to repeating its input. Lower is better. |
| Refusal score | How strongly the model refused or deflected when it should have answered. Lower is better. |
A check that doesn't apply to an output (no context to ground against, say) is left out. AI Score is a quick read on one output, not an eval: to score production traffic, use Evals.
Decision tasks
A Decision task tries a decision model. A decision model (Jev or Hartley) reads a state and answers typed questions with a probability for each answer, without writing text. It is the same model an eval's Decision model step uses, so this is where you check a state and its questions before putting them in an eval.

- Paste the State: the text or JSON the model reads, such as a ticket or an agent's trace. Examples loads a ready one: judging an agent trace, routing a support ticket, choosing a tool, scoring with a rubric.
- Add Questions. Each has a key, instructions, and a type: Yes / no, Choice (one of the options you list) or Score (one of the levels you list).
- Pick the decision model and its model at the bottom. It needs a Jev or Hartley key in Settings → Models.
- Leave Allow can't tell on to let the model abstain when the state doesn't say, then Run.
The answers appear under Results: each question's answer, how sure the model is, and the probability of every possible answer.
Save as a prompt
At the bottom of a task, Save as prompt saves its messages, model, tools and output format as a new prompt in the prompt registry. On a task from a prompt, the button is Save new version and adds a version to that prompt. Either way you see what changed, write a message, and can set labels such as production.
Across a dataset
The Playground runs one case at a time. To compare models over every row of a dataset, make a Compare models agent from the dataset's Label menu: each model answers every row that has an Expected, and the run reports how often each matched. See Label.
What it costs
Runs call your own provider keys and are billed by your provider; Decision tasks run on your Jev or Hartley key. Playground runs don't use Executions.
FAQ
Common questions about Trodo prompts: shipping without a deploy, labels and versions, compile errors, braces, history, caching, tools, and who can edit.
Overview
An agent is a trigger and a chain of steps that Trodo runs for you: when an alert fires, on a schedule, from a webhook or a Slack event. Where agents live, and how alerts, Track issues and self-improving evals use them.