# Agent tryouts

Run a ready-made agent task from a template, inspect its events and artifacts, rerun it under other models, compare results, and promote it to an eval with agentclash tryout.

Source: https://www.agentclash.dev/docs/guides/tryouts
Markdown export: https://www.agentclash.dev/md/docs/guides/tryouts

An **agent tryout** is a one-off run of a built-in task template. You pick a template, supply a JSON input, and AgentClash runs an agent against it with the template's tool policy, limits, and validators. A tryout is the fastest way to see an agent do a realistic job without writing a challenge pack first.

Use tryouts to:

- Get a first signal on a task (meeting minutes, structured extraction, a tiny bug fix) before you invest in an eval.
- Rerun the same input under different models and compare cost, latency, and status.
- Promote a tryout you like into an editable eval draft, so it becomes a repeatable test.

> Warning: `tryout create` and `tryout rerun` start paid model calls.

## Templates

List the available templates and their input shapes:

```bash
agentclash tryout templates
agentclash tryout templates --json
```

Built-in template slugs include `meeting-minutes`, `structured-data`, `slide-deck`, `spreadsheet-builder`, `status-report`, `inbox-triage`, `tiny-bugfix`, `support-ticket-resolution`, `document-extraction`, `contract-review`, and `sdr-outreach`. Each template declares an input schema, a tool policy, a duration and cost limit, and the artifacts it is expected to produce. Use `templates --json` as the source of truth for the current list and each template's input schema.

## 1. Start a tryout

Pass the input as inline JSON or from a file. Use exactly one of `--input` and `--input-file`, and the input must be a JSON object.

```bash
agentclash tryout create \
  --template meeting-minutes \
  --input '{"notes":"Review the release plan. Ana owns the rollback runbook by Friday."}' \
  --follow
```

With `--follow` the command waits for the tryout to finish. A failed or cancelled tryout exits with code 1. `--timeout` caps how long `--follow` waits (0 means no limit) and `--poll-interval` sets the status polling interval (default 2s).

```bash
agentclash tryout create --template structured-data --input-file input.json
```

> Warning: If `tryout create` exits with code 75, run `agentclash tryout list` before you retry. A blind retry can start a second tryout and a second set of paid calls.

A tryout has one of these statuses: `queued`, `running`, `completed`, `failed`, or `cancelled`.

## 2. Inspect it

```bash
agentclash tryout list --limit 20 --offset 0
agentclash tryout get <tryout-id> --follow --timeout 5m
agentclash tryout events <tryout-id> --after 0 --limit 50
agentclash tryout artifacts <tryout-id> --json
```

- `get` shows one tryout; add `--follow` to wait for completion.
- `events` returns one page of events. If more exist, pass the next cursor to `--after`, even when the page is empty. `--limit` is 1 to 200, and 0 uses the server default of 100.
- `artifacts` lists the files the tryout produced. Use `--json` to get signed download URLs when the server returns them. See [Artifacts](https://www.agentclash.dev/md/docs/concepts/artifacts).
- `list --limit` accepts 1 to 100, and 0 uses the server default of 50.

## 3. Rerun under other models

`rerun` starts a new tryout with the same template and input but a different model policy. The source tryout is not changed; the rerun is independent evidence linked back to it.

```bash
agentclash tryout rerun <tryout-id> --model openai/gpt-5 --follow
agentclash tryout rerun <tryout-id> --model openai/gpt-5 --model anthropic/claude-sonnet-4 --max-models 2
agentclash tryout rerun <tryout-id> --policy-file policy.json
```

Give either one or more `--model provider/model` flags, or a `--policy-file`. `--mode` and `--max-models` (1 to 8) only work together with `--model`. As with `create`, an exit code of 75 means you should check `agentclash tryout list` in the source workspace before retrying.

## 4. Compare

Compare two to four tryouts of the same task side by side. IDs must be distinct.

```bash
agentclash tryout compare <first-id> <second-id> --json
```

The table shows each participant's tryout ID, template, status, cost in USD, and latency in milliseconds.

## 5. Promote to an eval

When a tryout is worth keeping, turn it into an eval draft. The draft carries over the template, input, tool policy, expected artifacts, judges, and budget as an editable challenge-pack composition.

```bash
agentclash tryout promote <tryout-id> --title "Release notes eval"
```

The command prints the draft ID and a suggested next command, `agentclash challenge-pack draft compile <draft-id>`. From there, compile, publish, and run the pack through the normal pack flow in [Write a challenge pack](https://www.agentclash.dev/md/docs/guides/write-a-challenge-pack).

## See also

- [CLI reference](https://www.agentclash.dev/md/docs/reference/cli)
- [Write a challenge pack](https://www.agentclash.dev/md/docs/guides/write-a-challenge-pack)
- [Interpret results](https://www.agentclash.dev/md/docs/guides/interpret-results)
- [Artifacts](https://www.agentclash.dev/md/docs/concepts/artifacts)
- [Replay and scorecards](https://www.agentclash.dev/md/docs/concepts/replay-and-scorecards)