terminus2 harness.
How it works
- Load tasks. With the default dataset address, AgentCompass downloads Terminal-Bench 2.1 through the Harbor CLI. An explicitly configured regular Git source is shallow-cloned instead.
- Run the agent. The environment recipe selects the image declared by each task and starts the agent in its prepared terminal workspace.
- Verify the result. The task’s
tests/test.shis run through the Harbor verifier. A reward of1marks the taskcorrect.
Parameters
Configure Terminal-Bench-specific options with--benchmark-params '{...}'.
Run examples
Run configuration is split into two JSON blocks:--benchmark-params carries Terminal-Bench configuration (the timeout multipliers above and optional task selection), and --harness-params carries the selected harness’s own configuration. The examples below use terminus2, whose relevant settings include max_turns and timeout. Both blocks can instead be written to benchmark.params and harness.params in --config; command-line values take precedence on shared keys.
Recommended harness
The recommended terminal agent isterminus2.
- Smoke test (single task end-to-end)
- Custom parameters
- AgentCompass recommended config
Verify the end-to-end flow works —
sample_ids selects which case to run, with all other parameters using their defaults.Other optional harnesses
codex and claude_code are two other harness options. Pass --recipe terminalbench2_1_docker_ac to use the AgentCompass prebuilt image. It includes download dependencies such as Node.js, npm, curl, and wget for Codex, Claude Code, and similar harnesses.
- Run with the official image
- AgentCompass recommended config
Omit
--recipe to use the official task image. Because it does not include the Node bootstrap dependencies, provide the matching installation command explicitly.Output
A run produces two kinds of results underresults/terminal_bench_2_1/<model>/<run>/: aggregate metrics in summary.md and one JSON record per task in details/.
Aggregate metrics (summary.md)
summary.md contains the run overview (Model, Total, Evaluated, and Error) and its headline metric, accuracy. accuracy is the share of evaluated tasks for which the Harbor verifier returns the full reward (1), so it is the task pass rate for Terminal-Bench.
Per-task details (details/)
Each task JSON recordscorrect, execution status, attempts, the agent trajectory and harness metrics, plus the raw verifier output used to determine the result. See Results.