Eval Commands
Use camber eval commands to test a Camber agent against a set of examples from your terminal.
An evaluation has three parts:
- Evaluation: a named test suite tied to one agent under test.
- Examples: inputs sent to the agent, each paired with an evaluator that decides whether the agent’s output passes.
- Experiments: runs of every example in the evaluation. A
scoringexperiment reports a score; atuningexperiment also tunes the agent toward a target score.
Before you begin, install the Camber CLI and log in.
Quick start
# 1. Create an evaluation for an agent
camber eval create --name "Math eval" --agent my-agent
# 2. Add examples (use the evaluation ID from step 1)
camber eval example add <EVALUATION_ID> --input "What is 2+2?" --evaluator exact --reference 4
# 3. Start an experiment
camber eval experiment start <EVALUATION_ID> --mode scoring --repetitions 3
# 4. Check progress and results
camber eval experiment get <EVALUATION_ID> <EXPERIMENT_ID>
camber eval experiment results <EVALUATION_ID> <EXPERIMENT_ID>Command summary
| Command | Description |
|---|---|
camber eval list | List evaluations in a workspace |
camber eval create | Create an evaluation |
camber eval get EVALUATION_ID | Show an evaluation |
camber eval rename EVALUATION_ID | Rename an evaluation |
camber eval delete EVALUATION_ID | Delete an evaluation |
camber eval example list EVALUATION_ID | List the examples of an evaluation |
camber eval example add EVALUATION_ID | Add an example |
camber eval example update EVALUATION_ID EXAMPLE_ID | Replace an example |
camber eval example delete EVALUATION_ID EXAMPLE_ID | Delete an example |
camber eval experiment start EVALUATION_ID | Start a scoring or tuning experiment |
camber eval experiment list EVALUATION_ID | List the experiments of an evaluation |
camber eval experiment get EVALUATION_ID EXPERIMENT_ID | Show an experiment’s status and score |
camber eval experiment results EVALUATION_ID EXPERIMENT_ID | Show per-example results |
camber eval experiment stop EVALUATION_ID EXPERIMENT_ID | Stop a running experiment |
Evaluation, example, and experiment IDs are UUIDs. The CLI rejects a malformed ID before sending any request:
$ camber eval get not-a-uuid
Error: invalid evaluation ID: "not-a-uuid" is not a valid UUIDManage evaluations
Create an evaluation
camber eval create --name "Math eval" --agent my-agentEvaluation created successfully.
ID: 3a6d424f-3b83-45ab-972f-55546d6b368e
Name: Math eval
Agent: @research-team.my-agent| Flag | Required | Description |
|---|---|---|
--name | Yes | Evaluation name |
--agent | Yes | Agent under test, as alias or @owner.alias |
--team | No | Workspace unique name. Defaults to the selected workspace |
--output json | No | Print the response as JSON |
The agent is given by alias:
- A bare alias, such as
my-agent, refers to an agent owned by the workspace. - Use
@owner.alias, such as@research-team.my-agent, for an agent of another owner.
# Agent owned by the selected workspace
camber eval create --name "Alias eval" --agent my-agent
# Agent referenced by owner and alias, in a specific workspace
camber eval create --name "Tagged eval" --agent @research-team.my-agent --team research-teamList evaluations
camber eval listID Name Agent Created
-- ---- ----- -------
85aad99e-8e42-4679-a780-1b32e6789d9a Math eval @research-team.my-agent 2026-11-25T06:32:55Z
c56a1263-6088-42e4-98b4-e98359a3db4a Tagged eval @research-team.my-agent 2026-11-25T06:32:55Z
Page 1 of 1 | Total Evaluations: 2| Flag | Default | Description |
|---|---|---|
--team | Selected workspace | Workspace unique name |
--search | Case-insensitive match on evaluation name | |
--page | 1 | Page number, must be greater than 0 |
--size | 10 | Evaluations per page, must be greater than 0 |
--output json | Print the response as JSON |
Filter by name:
camber eval list --team research-team --search mathGet an evaluation
camber eval get <EVALUATION_ID>ID: 419f49b6-fb5e-4b0a-ba0d-6aa45a3157f4
Name: Math eval
Agent: @research-team.my-agentRename an evaluation
camber eval rename <EVALUATION_ID> --name "Arithmetic eval"Evaluation renamed successfully.
ID: ebf1795d-9235-4a8e-b1fc-24a4c12e020c
Name: Arithmetic eval
Agent: @research-team.my-agentDelete an evaluation
camber eval delete <EVALUATION_ID>The command asks for confirmation. Pass --force (or -f) to skip the prompt:
camber eval delete <EVALUATION_ID> --forceManage examples
Each example has an --input sent to the agent and an --evaluator that scores the agent’s output. Each evaluator takes its own flags.
Evaluators
| Evaluator | Flags | Passes when |
|---|---|---|
exact | --reference | The output matches the reference exactly |
number | --reference, --tolerance (both numeric) | The output is within the tolerance of the reference |
contains | --value (repeatable), --ordered | The output contains every value, in order if --ordered is set |
python | --stash-uri | A Python script stored in Stash scores the output |
judge | --rubric | A model judges the output against the rubric |
Flag rules are checked locally before the request is sent:
- Flags that do not belong to the chosen evaluator are rejected.
--referenceand--tolerancemust be numbers for thenumberevaluator.--valuemust be given at least once forcontains, and cannot be empty.--stash-urimust start withstash://, point to a.pyfile, and cannot contain...
Add an example
camber eval example add <EVALUATION_ID> \
--input "What is 2+2?" --evaluator exact --reference 4Example added successfully.
ID: 98acaa79-1977-4681-95de-f6c17ad192f9
Evaluator: exact
Input: What is 2+2?
Config: {"reference":"4"}One example per evaluator:
# exact: output must equal the reference
camber eval example add <EVALUATION_ID> --input "Capital of France?" --evaluator exact --reference Paris
# number: output must be within tolerance of the reference
camber eval example add <EVALUATION_ID> --input "What is pi to 2 decimals?" \
--evaluator number --reference 3.14 --tolerance 0.01
# contains: output must contain every value; add --ordered to require them in order
camber eval example add <EVALUATION_ID> --input "Name the colors of the French flag" \
--evaluator contains --value blue --value white --value red --ordered
# python: a scoring script stored in Stash
camber eval example add <EVALUATION_ID> --input "Summarize the report" \
--evaluator python --stash-uri stash://research-team/evals/score_summary.py
# judge: a model scores the output against a rubric
camber eval example add <EVALUATION_ID> --input "Reply to an angry customer" \
--evaluator judge --rubric "Must be polite and offer a concrete next step"List examples
camber eval example list <EVALUATION_ID>ID Evaluator Input Config
-- --------- ----- ------
148e18ed-6a55-4c32-86be-cd2730f8bd95 exact Exact? {"reference":"4.61"}
eaf6c6f5-74d8-4120-8823-ea6dd5096db1 number Number? {"reference":"4","tolerance":"0.01"}
cc3c1f22-8542-4249-9365-7379312840d2 contains Colors? {"values":["red","blue"],"ordered":false}
1973fbb4-ad45-4632-88f6-fc0c086a482a judge Judged? {"rubric":"Must be polite"}
Page 1 of 1 | Total Examples: 4Supports --page, --size, and --output json.
Update an example
update replaces the whole example, so --input and --evaluator are both required, along with the evaluator’s flags:
camber eval example update <EVALUATION_ID> <EXAMPLE_ID> \
--input "What is 3+3?" --evaluator exact --reference 6Example updated successfully.
ID: 16f549b6-5319-47bb-9bec-4b1ac640d9c8
Evaluator: exact
Input: What is 3+3?
Config: {"reference":"6"}Once an experiment has started with an example, the original is kept so past results stay intact. The edit is saved as a new example with a new ID, and the CLI tells you so:
Example updated successfully.
An experiment already started with the original example, so it was kept
and this edit was saved as a new example.
ID: <NEW_EXAMPLE_ID>Delete an example
camber eval example delete <EVALUATION_ID> <EXAMPLE_ID>The command asks for confirmation. Pass --force (or -f) to skip the prompt.
Run experiments
Experiment modes
| Mode | What it does | Required flags |
|---|---|---|
scoring | Runs every example and reports a score | --mode scoring |
tuning | Runs the examples and tunes the agent across iterations until it reaches the target score or the iteration limit | --mode tuning, --target-score, --max-iterations |
Only one experiment per evaluation runs at a time.
Start an experiment
camber eval experiment start <EVALUATION_ID> --mode scoring --repetitions 3camber eval experiment start <EVALUATION_ID> --mode tuning --target-score 0.9 --max-iterations 4Experiment started successfully.
ID: 7d3b23d5-2148-444a-83b1-4ed69e18dc55
Pod: c31248a3-18eb-45e0-993c-deafe12d4e48
Check progress with:
camber eval experiment get <EVALUATION_ID> 7d3b23d5-2148-444a-83b1-4ed69e18dc55| Flag | Default | Description |
|---|---|---|
--mode | Required. scoring or tuning | |
--repetitions | 1 | Times to run each example, from 1 to 10 |
--target-score | Score to tune toward, from 0 to 1. Required for tuning | |
--max-iterations | Maximum tuning iterations, from 1 to 10. Required for tuning | |
--output json | Print the response as JSON |
The command returns as soon as the experiment starts. There is no streaming output, so poll with camber eval experiment get.
List experiments
camber eval experiment list <EVALUATION_ID>ID Status Mode Repetitions Created
-- ------ ---- ----------- -------
7d3b23d5-2148-444a-83b1-4ed69e18dc55 running tuning 1 2026-11-25T08:16:10Z
Page 1 of 1 | Total Experiments: 1Supports --page, --size, and --output json.
Check an experiment
camber eval experiment get <EVALUATION_ID> <EXPERIMENT_ID>ID: 7d3b23d5-2148-444a-83b1-4ed69e18dc55
Status: running
Mode: tuning
Repetitions: 1
Iteration: 1
Score: -
Target score: 0.9
Pod: c31248a3-18eb-45e0-993c-deafe12d4e48Score shows - until a score is available. Target score appears only for tuning experiments.
View results
camber eval experiment results <EVALUATION_ID> <EXPERIMENT_ID>Results show one row per example, with a column per repetition:
# Example Evaluator Input Rep 1 Rep 2 Rep 3
- ------- --------- ----- ----- ----- -----
1 98acaa79-1977-4681-95de-f6c17ad192f9 exact What is 2+2? pass pass -
2 eaf6c6f5-74d8-4120-8823-ea6dd5096db1 number Number? pass fail -
Page 1 of 1 | Total Examples: 2Each cell is pass, fail, or - when that repetition has not reported yet, so you can run results while the experiment is still running.
| Flag | Default | Description |
|---|---|---|
--iteration | Latest iteration with a run | Tuning iteration to show, must be greater than 0 |
--page | 1 | Page number |
--size | 10 | Examples per page |
--output json | Print the response as JSON |
For a tuning experiment, compare iterations:
camber eval experiment results <EVALUATION_ID> <EXPERIMENT_ID> --iteration 1
camber eval experiment results <EVALUATION_ID> <EXPERIMENT_ID> --iteration 2Stop an experiment
camber eval experiment stop <EVALUATION_ID> <EXPERIMENT_ID>Experiment 7d3b23d5-2148-444a-83b1-4ed69e18dc55 stopped successfully.JSON output
All commands except delete and stop accept --output json for scripting:
camber eval list --output json
camber eval experiment get <EVALUATION_ID> <EXPERIMENT_ID> --output jsonTroubleshooting
| Error | Cause |
|---|---|
API error: code=404, message=Workspace not found | The --team value is not a workspace you can access. Check camber team list. |
API error: code=404, message=Agent not found | No agent with that alias exists for the owner. |
API error: code=400, message=agent must be "alias" or "@owner.alias" | The --agent value is malformed, for example @owner without an alias. |
--rubric does not apply to the exact evaluator (it takes --reference) | A flag was passed that the chosen evaluator does not use. |
invalid evaluator "...": must be one of exact, number, contains, python, judge | Unknown --evaluator value. |
--target-score is required for a tuning experiment | Tuning experiments need both --target-score and --max-iterations. |
invalid repetitions value: 99. Must be between 1 and 10 | --repetitions and --max-iterations accept 1 to 10; --target-score accepts 0 to 1. |
code=404, message=user not found | The API key is invalid. Log in again or check CAMBER_API_KEY. |