Reference
CLI reference
Use probeagent --help for command groups and probeagent COMMAND --help for
one command's options. The full reference below is generated from the command definitions.
Campaign workflow#
probeagent init
probeagent config validate
probeagent doctor
probeagent seeds -d gaia --per-dataset 2 --out seeds.yaml
# Add the selected seed paths and set synthesis.synthesizer: agentic.
probeagent search --builds 12 --rollouts 30
probeagent induce
probeagent analyze modes
probeagent analyze siblings
probeagent analyze cost
Comparing several agents#
Give each target its own configuration and storage.root, for example
probeagent-data-agent-a and probeagent-data-agent-b. Combine their records for
induction with repeatable --records options:
probeagent induce \
--records "agent-a=probeagent-data-agent-a/modes" \
--records "agent-b=probeagent-data-agent-b/modes"
For comparisons on shared tasks, freeze a replay pool:
probeagent replay pool --size 30 --out replay-pool.txt
probeagent replay run -c agent-a.yaml --pool replay-pool.txt -k 6 --out replay-a.json
probeagent replay run -c agent-b.yaml --pool replay-pool.txt -k 6 --out replay-b.json
probeagent analyze replay replay-a.json replay-b.json
Human pair judgments#
probeagent label export --out pairs.csv
probeagent label score --sheet pairs.csv
Long runs#
Keep console logs in a local run directory:
mkdir -p runs
nohup probeagent search --builds 30 --rollouts 60 > runs/campaign.log 2>&1 &
tail -f runs/campaign.log
Full command reference#
probeagent analyze#
Read a finished campaign: what it found, whether it reproduced, what it cost.
probeagent analyze cost
What the target agent's rollouts consumed, and what a finding cost.
| flag | type | default | what |
|---|---|---|---|
--config, -c |
path | — | Config file (default: ./probeagent.yaml). |
--root |
path | — | Data root (default: storage.root). |
--prices |
path | — | JSON of {"model": {"input": $/Mtok, "output": $/Mtok}}. Prices are yours: gateways rebate and renegotiate, so a table baked in here would be quietly wrong within a month. |
--json |
boolean | false |
probeagent analyze modes
The table a campaign is run to produce: shared modes, per-agent signatures. Agent labels are canonicalised first. One agent reached this panel under two names because two campaigns routed the same model differently, which splits every per-agent row and can make one agent's habit look shared.
| argument | type | default | what |
|---|---|---|---|
REPORT |
path | required | An induction report written by probeagent induce. |
| flag | type | default | what |
|---|---|---|---|
--min-records |
int | 2 |
Below this a mode is a hypothesis, not evidence. |
--json |
boolean | false |
probeagent analyze replay
Failure rates that are finally comparable, because the tasks were the same. A campaign's rates are not: agents that drew a 300-second budget failed 82% of rollouts and one that drew 1200 seconds failed 43%, which is a fact about the budgets.
| argument | type | default | what |
|---|---|---|---|
RESULTS |
path | required | Replay result JSONs, one per agent. |
| flag | type | default | what |
|---|---|---|---|
--json |
boolean | false |
probeagent analyze siblings
Did the failures reproduce? The verdict the search exists to reach. A campaign that found two hundred failures has found nothing until each has faced siblings holding its trigger and changing all else. Reproduction is counted per sibling environment, never per rollout.
| flag | type | default | what |
|---|---|---|---|
--config, -c |
path | — | Config file (default: ./probeagent.yaml). |
--root |
path | — | Data root (default: storage.root). |
--json |
boolean | false |
probeagent bench#
Run an external benchmark dataset (e.g. tau-bench, SWE-bench) via Harbor. Uses the configured target agent unless --nop. Results are summarized as per-trial rewards; the full job output lands under storage.jobs_dir.
| flag | type | default | what |
|---|---|---|---|
--dataset, -d |
str | required | Harbor registry dataset (name@version). |
--n-tasks, -l |
int | — | Max tasks to run from the dataset. |
--nop |
boolean | false |
Use the nop agent — plumbing check, zero model cost. |
--job-name |
str | — | Harbor job name (default: derived). |
--config, -c |
path | — | Config file (default: ./probeagent.yaml). |
probeagent campaign#
Outer-loop campaign: build roots, then measure them until settled. Rollouts go wherever the policy says measurement is still missing — a node with too few rollouts, or one whose outcomes disagree. The budget is a hard cap and the tree persists, so consecutive campaigns continue it.
| flag | type | default | what |
|---|---|---|---|
--config, -c |
path | — | Config file (default: ./probeagent.yaml). |
--roots |
int | 2 |
Root scenarios to synthesize. |
--budget |
int | — | Hard rollout cap (default: expansion.rollout_budget). |
probeagent config#
Inspect and validate configuration.
probeagent config show
Print the fully resolved configuration as JSON (secrets never appear: config stores only environment-variable names).
| flag | type | default | what |
|---|---|---|---|
--config, -c |
path | — | Config file (default: ./probeagent.yaml). |
probeagent config validate
Load, merge env overrides, validate; exit non-zero on any problem.
| flag | type | default | what |
|---|---|---|---|
--config, -c |
path | — | Config file (default: ./probeagent.yaml). |
probeagent doctor#
Check everything a campaign needs before it costs anything. Every check here stands for a failure this project paid for: a model id the gateway did not serve (two campaigns of reward=None), a full disk part-way through a build, harbor missing from a nohup PATH, a key exported in the wrong shell.
| flag | type | default | what |
|---|---|---|---|
--config, -c |
path | — | Config file (default: ./probeagent.yaml). |
probeagent explain#
Explain a failed run: where it went wrong, why, and what kind of failure. This reads a trajectory that was already recorded — it explains, it does not prove. Each record carries the model's own confidence, and a run whose trajectory does not localise the failure yields no records rather than a guess.
| argument | type | default | what |
|---|---|---|---|
JOB_DIR |
path | required | A Harbor job or trial directory. |
| flag | type | default | what |
|---|---|---|---|
--config, -c |
path | — | Config file (default: ./probeagent.yaml). |
--task-dir |
path | — | Task the run was made against, for the instruction and reference solution. Inferred from the trial's own config when omitted. |
--json |
boolean | false |
Emit the records as JSON. |
probeagent induce#
Consolidate recorded failures into modes: a claim, its evidence, its edge. Offline — reads what campaigns left behind and runs no containers. Grouping what has been found is a separate question from deciding where to look next, so this can be re-run over an old corpus without re-running its search. Passing --records more than once merges corpora, which is how agents get compared: a mode whose members span every store is a shared weakness or an artifact of the environments; a mode confined to one store is that agent's.
| flag | type | default | what |
|---|---|---|---|
--config, -c |
path | — | Config file (default: ./probeagent.yaml). |
--records |
str | [] |
Record directory, repeatable for a merged corpus (default: |
--out |
path | — | Write the report as JSON. |
probeagent init#
Write a starter configuration with all defaults spelled out.
| argument | type | default | what |
|---|---|---|---|
PATH |
path | probeagent.yaml |
Where to write the starter config. |
| flag | type | default | what |
|---|---|---|---|
--force |
boolean | false |
Overwrite an existing file. |
probeagent label#
Measure induction against a human reference instead of against itself.
probeagent label export
Write a blinded sheet of pairs: is this the same failure mode, yes or no? The question is verbatim the one the judge answers during induction, on verbatim the text it sees. Nothing in the sheet says which stratum a pair came from, what the geometry scored it, or what the model concluded — that goes to a key file beside it, and probeagent label score reads both back. Half the rows come from the overlap band, where the model rather than the distance decides. The rest check that the two thresholds sit where they are claimed to sit.
| flag | type | default | what |
|---|---|---|---|
--config, -c |
path | — | Config file (default: ./probeagent.yaml). |
--records |
path | — | Record directory (default: |
--out |
path | pairs.csv |
Sheet to fill in. |
--n |
int range | 60 |
How many pairs to ask about. |
probeagent label score
Score the machine against the answered rows. Two numbers, and they mean different things. Against distance says whether the two thresholds are set where they are claimed to be — a disagreement there is a calibration problem with a one-line fix. Against the judge says whether the model deciding the band decides it the way a person would, and that is the number induction currently has no honest version of: its own hold-out check confirms the judge with the judge.
| flag | type | default | what |
|---|---|---|---|
--config, -c |
path | — | Config file (default: ./probeagent.yaml). |
--records |
path | — | Record directory (default: |
--sheet |
path | pairs.csv |
The filled-in sheet. |
--key |
path | — | Key file (default: |
probeagent records#
Maintain the failure-record corpus itself — the files, not what is induced from them.
probeagent records backfill
Write each record's outcome into the record file, once. Records written before outcome existed carry its default, and the loader falls back to re-classifying the job directory they name. That fallback needs the trials to still be on disk and still be intact — so it does not hold for the published corpus, which ships modes/ with no jobs/ tree, and it does not hold for a job directory whose exception.txt has been cleaned. Both re-admit rollouts that never ran. This makes the classification a property of the record, which is the only form of it that travels. Offline, idempotent, and it never invents a verdict: a record whose job directory cannot be found is left untouched and counted, because "nothing contradicted it" is not a classification.
| argument | type | default | what |
|---|---|---|---|
STORES |
path | required | Record directories to stamp. |
| flag | type | default | what |
|---|---|---|---|
--jobs-root |
path | [] |
Extra root to resolve trajectory_ref against, repeatable. Refs are relative paths like 'probeagent-data-target/jobs/search-x-0', so this is how a corpus copied away from its jobs/ tree gets stamped: point it at the checkout that still has the trials. |
--from-logs |
boolean | false |
Rebuild each store's sibling tests from the campaign logs beside it ( |
--logs-root |
path | — | Where the logs are when the store was copied away from them: |
--dry-run |
boolean | false |
Report what would be written, write nothing. |
probeagent replay#
Compare agents on one fixed set of environments — which a campaign cannot do, since each builds its own and picks its own budgets.
probeagent replay pool
Choose the fixed set of environments every agent will meet. Exploration environments only, spread evenly across campaigns. A sibling is built to reproduce one agent's failure, so a pool containing them hands that agent's weaknesses to everybody and calls it a comparison; and environments from one campaign are enriched for what that agent was failing at the time. Written to a file and reused. Resampling between agents would quietly undo the control this command exists to provide.
| flag | type | default | what |
|---|---|---|---|
--config, -c |
path | — | Config file (default: ./probeagent.yaml). |
--out |
path | replay-pool.txt |
Where to write the pool. |
--size |
int range | 30 |
How many environments to compare on. |
--root |
path | [] |
Data roots to draw from (default: every sibling of storage.root). |
probeagent replay run
Run the configured agent over the pool, keeping each environment as built. Timeouts are not normalised: an environment was certified under its own settings, and rewriting them would invalidate the oracle result that admitted it. What matters for a fair comparison is that every agent meets the same environments under the same settings — not that all environments are alike.
| flag | type | default | what |
|---|---|---|---|
--config, -c |
path | — | Config file (default: ./probeagent.yaml). |
--pool |
path | replay-pool.txt |
The fixed pool. |
-k, --k |
int range | 2 |
Rollouts per environment. |
--out |
path | — | Write results as JSON. |
probeagent run#
Run the configured target agent on a task and report the outcome.
| argument | type | default | what |
|---|---|---|---|
TASK_DIR |
path | required | A scanned Harbor task directory. |
| flag | type | default | what |
|---|---|---|---|
--config, -c |
path | — | Config file (default: ./probeagent.yaml). |
--job-name |
str | — | Harbor job name (default: derived). |
probeagent scan#
Run scanner checks (oracle certificate + null check) on one task.
| argument | type | default | what |
|---|---|---|---|
TASK_DIR |
path | required | Emitted Harbor task directory. |
| flag | type | default | what |
|---|---|---|---|
--config, -c |
path | — | Config file (default: ./probeagent.yaml). |
probeagent search#
Explore for new failures, and verify each one that turns up. Builds into the least-covered gap by default. The moment a failure carries a label not seen before, siblings are queued that hold its trigger fixed and change everything else — that is what separates a property of the agent from a property of one task. See docs/src/search.md.
| flag | type | default | what |
|---|---|---|---|
--config, -c |
path | — | Config file (default: ./probeagent.yaml). |
--builds |
int | — | Environment build cap. |
--rollouts |
int | — | Target-agent rollout cap. |
probeagent seeds#
Pick real tasks fit to amplify: reviewable, sound, and failed by the target. Three independent properties, and the third is the one that gets assumed: a real benchmark task is not automatically a hard one for a given agent.
| flag | type | default | what |
|---|---|---|---|
--dataset, -d |
str | required | Downloaded dataset directory under --root (repeatable). |
--config, -c |
path | — | Config file (default: ./probeagent.yaml). |
--root |
path | seeds |
Where harbor datasets download put them. |
--per-dataset |
int | 2 |
Usable seeds wanted from each dataset. |
--limit |
int | 6 |
Candidates to try per dataset before giving up. |
--out |
path | — | Write the usable seeds as a YAML fragment. |
probeagent status#
Summarize the data directory: emitted tasks, jobs, tree size.
| flag | type | default | what |
|---|---|---|---|
--config, -c |
path | — | Config file (default: ./probeagent.yaml). |
probeagent sweep#
Sweep the configured external benchmarks (see the benchmarks config section). Each dataset is run nop-first (free plumbing check, and a nop trial scoring above zero is recorded as a vacuous-verifier finding), then with the target agent. The ledger is written after every run, so the sweep is resumable.
| flag | type | default | what |
|---|---|---|---|
--config, -c |
path | — | Config file (default: ./probeagent.yaml). |
--only |
str | — | Substring filter on dataset names (repeatable). |
--nop-only |
boolean | false |
Plumbing checks only — no paid agent runs. |
--resume |
boolean | false |
Skip datasets already present in the ledger. |
--verify |
boolean | false |
Don't run anything: cross-check the ledger against the job dirs on disk and report discrepancies. |
probeagent synth#
Build environments, verify them, and have an audit agent review them. Each environment gets up to synthesis.max_quality_rounds attempts. A round runs the executable checks (oracle + null), then — only if those pass — an independent read-only reviewer. Findings from either go back to the builder. An environment is admitted only when both agree; running out of rounds discards it.
| flag | type | default | what |
|---|---|---|---|
--config, -c |
path | — | Config file (default: ./probeagent.yaml). |
--n |
int | 1 |
How many scenarios (seeds 0..n-1). |
--seed |
int | 0 |
Base RNG seed. |
--emit-only |
boolean | false |
Write the task without verifying or reviewing it (debugging only). |