English | 中文 | Français | 日本語 | 한국어
Back to README · How to start ABB · Agent registry · Add an Agent
Use this reference for command purposes, every public argument, default behavior, and examples. Install ABB and configure the target Agent before running execution commands.
Replace AGENT_ID, SUITE_ID, CASE_ID, RUN_ID, source paths, and file names with actual values. Agent menu numbers are local to the printed list; Case numbers start at 1. OPTIONS denotes the flags listed in that command’s table. Every command supports -h/--help. Running agentbench without arguments defaults to run.
agentbench --help
agentbench evaluate --help
agentbench agent add --helpagent is a command group with the required subcommand add. sdk requires list or show. Use agentbench agent --help or agentbench sdk --help for group help; groups accept only -h/--help before selecting a subcommand.
| Command | Purpose and default |
|---|---|
agentbench run |
Run all enabled Agents whose registry status is ready in one Suite. Use each entry’s case count and step budget. The CLI confirms the selected Agents before execution. |
agentbench evaluate |
Generate independent Cases for one enabled Agent, execute it, collect evidence, and obtain Judge results through the selected SDK. Unlike certify, it does not change registry status. |
agentbench agent add |
Import a GitHub repository or local directory. With no -b/-c, only import and list source files. -b generates integration configuration; -c runs certification. The two flags can be combined. |
agentbench agent delete |
Remove one Agent's registry entry and move its whole folder, including ground_truth/, to cache/agent-trash. Nothing is permanently erased. Preview with --dry-run; stop runs and viewers that use the Agent first. |
agentbench certify |
Execute the registered Case budget of one enabled adapting Agent and promote it to ready when all requested Cases complete without invocation errors. A Judge finding does not by itself prevent promotion; already-ready Agents are not rerun. |
agentbench observe |
Execute one native input and save outputs and traces without SDK Case generation or Judge. Currently requires Docker with oneshot execution. --list and --show provide read-only inspection. |
agentbench chat |
Converse with one enabled Agent in a single Agent session, without SDK Case generation or Judge. The Agent starts when you type /start; files added before that are in its container when it starts. Each line you type afterwards is one turn. /add file <absolute path> copies a file or folder into the Agent container. Ends on /exit, /quit or end of input, then prints the saved record paths. Requires Docker with oneshot execution. |
agentbench issues |
Reproduce a recorded issue of a registered Agent. Fetch the issue's package and frozen image when they are not local, start the historical Agent in the chat page, send the issue's scenario inputs in order, then end the chat and save the records. No Judge runs. |
agentbench view |
Serve saved results in the local web viewer. Build the web assets first. Open the printed full View URL and keep the command running; Ctrl+C stops it. |
agentbench sdk list |
List SDK plugin names found in the SDK directory. This checks discovery, not whether all runtime dependencies are installed. |
agentbench sdk show |
Load one SDK plugin and show its source, execution mode, and whether it allows implicit selection. |
agentbench resume |
Continue eligible unfinished work from a saved Suite using its saved Cases and configuration plus current credentials. Does not generate new Cases or deliberately rerun completed ones. |
agentbench retry |
Recover one unfinished Case in its original Suite using the original inputs. Depending on its saved state, recover the request or replay from the first input. Replay eligibility still applies. |
agentbench reuse |
Reuse saved Case inputs for fresh Agent execution, evidence collection, and judging in a linked reuse Suite. Keeps original results and does not generate new inputs. Use this to rerun a completed Case. |
agentbench clean |
Archive unreferenced top-level history from the project results directory into cache/history-trash. Preserve saved Suites and referenced artifacts. Preview first; stop runs and viewers before actual cleanup. |
Run all enabled Agents whose registry status is ready in one Suite. Use each entry’s case count and step budget. The CLI confirms the selected Agents before execution.
agentbench run [OPTIONS]
| Argument | Purpose and default | Example |
|---|---|---|
-h, --help |
Show help for this command and exit. | --help |
--sdk NAME |
Choose an SDK directory name from sdk list. Bundled default: kuma; local requires explicit selection. If several plugins permit implicit selection, specify a name. | --sdk kuma |
--sdk-options PATH |
Read a JSON object of options accepted by the selected SDK. Default: no explicit options; the SDK supplies defaults. | --sdk-options sdk-options.json |
--case-retries N |
Maximum extra automatic attempts for safely recoverable Case failures. Nonnegative integer; default 2. Zero disables automatic retries. | --case-retries 0 |
--retry-delay SECONDS |
Initial retry backoff, in seconds. Finite nonnegative number; default 5. Later delays increase within the retry policy. | --retry-delay 5 |
-y, --yes |
Skip the execution confirmation prompt. Default: ask for confirmation. | --yes |
--env-file PATH |
Load another environment file. Default: project .env. Exported shell variables take precedence. | --env-file .env.testing |
--results-dir DIR |
ABB result root, created if missing. Default when running from the checkout root: results/. Events are saved at DIR/suites/SUITE_ID/events.json. Mutually exclusive with the legacy result-location option. | --results-dir results/my-run |
--output PATH |
Deprecated ABB result location. A file path selects its parent; the named file is not created. Prefer --results-dir. Default result root: project results/ when running from the checkout root. | --output results/legacy.json |
--no-view |
Save results without starting the web viewer. Default: start or reuse the viewer; built web assets are needed. | --no-view |
--model MODEL |
Override ABB’s replacement target model. Default: the selected provider’s configuration. Native ACP models follow their Agent configuration. | --model openai/gpt-4.1-mini |
--llm-trace-max-bytes BYTES |
Legacy streaming memory-spool threshold, in bytes; default 262144 (256 KiB). It does not truncate stored payloads. | --llm-trace-max-bytes 262144 |
run has no --registry, --cases, or --max-steps options. Change per-Agent defaults in the registry; SDK JSON max_steps can override the step budget.
agentbench run --sdk kuma
agentbench run --sdk local --yes --no-view --results-dir results/smokeGenerate independent Cases for one enabled Agent, execute it, collect evidence, and obtain Judge results through the selected SDK. Unlike certify, it does not change registry status.
agentbench evaluate [AGENT] [OPTIONS]
| Argument | Purpose and default | Example |
|---|---|---|
-h, --help |
Show help for this command and exit. | --help |
-y, --yes |
Skip the execution confirmation prompt. Default: ask for confirmation. | --yes |
AGENT |
Optional enabled Agent ID or menu number. Omit for interactive selection; with --yes, specify an Agent. Does not require status ready. | react-agent |
--registry PATH |
Choose the Agent registry. Default: project resources/registry.toml. | --registry resources/registry.toml |
--env-file PATH |
Load another environment file. Default: project .env. Exported shell variables take precedence. | --env-file .env.testing |
--model MODEL |
Override ABB’s replacement target model. Default: the selected provider’s configuration. Native ACP models follow their Agent configuration. | --model openai/gpt-4.1-mini |
--sdk NAME |
Choose an SDK directory name from sdk list. Bundled default: kuma; local requires explicit selection. If several plugins permit implicit selection, specify a name. | --sdk kuma |
--sdk-options PATH |
Read a JSON object of options accepted by the selected SDK. Default: no explicit options; the SDK supplies defaults. | --sdk-options sdk-options.json |
--case-retries N |
Maximum extra automatic attempts for safely recoverable Case failures. Nonnegative integer; default 2. Zero disables automatic retries. | --case-retries 0 |
--retry-delay SECONDS |
Initial retry backoff, in seconds. Finite nonnegative number; default 5. Later delays increase within the retry policy. | --retry-delay 5 |
--no-view |
Save results without starting the web viewer. Default: start or reuse the viewer; built web assets are needed. | --no-view |
--llm-trace-max-bytes BYTES |
Legacy streaming memory-spool threshold, in bytes; default 262144 (256 KiB). It does not truncate stored payloads. | --llm-trace-max-bytes 262144 |
--results-dir DIR |
ABB result root, created if missing. Default when running from the checkout root: results/. Events are saved at DIR/suites/SUITE_ID/events.json. Mutually exclusive with the legacy result-location option. | --results-dir results/my-run |
--result-output PATH |
Deprecated ABB result location; a file path selects its parent without creating that file. Prefer --results-dir. Mutually exclusive with --results-dir; default: project results/. | --result-output results/legacy.json |
--output DIR |
SDK artifact directory, separate from ABB Suite results. Overrides SDK JSON output. KUMA/local default: results/observe. | --output results/sdk-artifacts |
--timeout SECONDS |
Positive finite SDK execution timeout, in seconds. Overrides SDK JSON timeout. KUMA/local default: 2400; other SDKs define their own. | --timeout 2400 |
--cases N |
Positive number of independent Cases. Default: this Agent’s registry case value. Overrides it for this run without editing the registry. | --cases 1 |
--max-steps N |
Positive SDK dialogue-step limit per Case. Overrides registry step and SDK JSON max_steps; otherwise use those defaults. Some Agents support one step only. | --max-steps 3 |
agentbench evaluate react-agent --sdk kuma --cases 1
agentbench evaluate react-agent --sdk local --cases 1 --yes --no-view --results-dir results/smoke
agentbench evaluate react-agent --sdk native --case-file cases.json --cases 1 --max-steps 2 --no-view
agentbench evaluate react-agent --sdk kuma --cases 2 --max-steps 3 --output results/sdk-artifacts --results-dir results/my-run --no-viewImport a GitHub repository or local directory. With no -b/-c, only import and list source files. -b generates integration configuration; -c runs certification. The two flags can be combined.
agentbench agent add SOURCE [OPTIONS]
| Argument | Purpose and default | Example |
|---|---|---|
-h, --help |
Show help for this command and exit. | --help |
SOURCE |
Required HTTPS GitHub repository URL or absolute local directory. Branch/file URLs are not accepted. Plain import creates a unit; -b/-c can reuse a matching imported source. | https://github.com/langchain-ai/react-agent |
--agents-dir DIR |
Parent directory for numbered Agent units. Default: resources/agents beside the selected project’s default registry. Generated units must be inside the root of --registry. | --agents-dir resources/agents |
-b, --build |
Generate, validate, and save integration configuration, then register adapting. Reuses valid completed files. Supports LangGraph and ACP; does not build Docker. Default: off. | -b |
-c, --certify |
Validate generated or manually prepared integration, register it, then run certification. Does not imply -b. Default: off. | -c |
--registry PATH |
Choose the Agent registry. Default: project resources/registry.toml. | --registry resources/registry.toml |
--build-settings PATH |
TOML file with a [build] table overriding generation budgets/model. Default: packaged settings. Used with -b. | --build-settings build-settings.toml |
--build-model MODEL |
OpenRouter model for -b configuration generation. Priority: this flag, [build].model, OPENROUTER_BUILD_MODEL, OPENROUTER_MODEL. Needs structured-output support. | --build-model openai/gpt-4.1-mini |
--answers PATH |
UTF-8 text answers to questions from a previous generation plan; repeat the -b command with this file. Default: no answers file. | --answers answers.txt |
--with-observe |
With -b, generate interactive observe input fields. Default: off. Rejected without -b. | --with-observe |
--agent-timeout SECONDS |
With -b, set the generated Agent runtime timeout. Positive finite seconds; default 300. Does not set the generation request timeout. | --agent-timeout 600 |
--adapter-context PATH |
With -b, load an explicit deployment-context JSON object, at most 64 KiB. Default: no context override. Contents must match the Agent’s integration. | --adapter-context adapter-context.json |
--env-file PATH |
Load another environment file. Default: project .env. Exported shell variables take precedence. | --env-file .env.testing |
--model MODEL |
Replacement target model for -c certification, independent of --build-model. Default: provider configuration; native ACP model selection follows the Agent. | --model openai/gpt-4.1-mini |
--output PATH |
Certification result location used with -c. For managed Suites, a file path selects its parent without creating the named file. Default: project results/. This command has no --results-dir flag. | --output results/add-certification.json |
--no-view |
With -c, save certification results without starting the viewer. Does not affect source import or configuration generation. Default: viewer enabled for certification. | --no-view |
-y, --yes |
Skip the -c certification confirmation. Default: prompt. Does not answer planning questions. | --yes |
--sdk NAME |
Choose an SDK directory name from sdk list. Bundled default: kuma; local requires explicit selection. If several plugins permit implicit selection, specify a name. | --sdk kuma |
--sdk-options PATH |
Read a JSON object of SDK options for -c certification only, not -b generation. Default: the SDK supplies defaults. | --sdk-options sdk-options.json |
Use an absolute local path. On Windows, SOURCE can be "C:\work\local-agent". -d is rejected. Configuration generation currently uses OpenRouter and requires an SDK with onboarding hooks; bundled local does not provide them.
agentbench agent add https://github.com/langchain-ai/react-agent
agentbench agent add /absolute/path/to/local-agent -b --sdk kuma --build-model openai/gpt-4.1-mini
agentbench agent add /absolute/path/to/local-agent -b -c --sdk kuma --no-viewRemove one Agent's registry entry and move its whole folder, including ground_truth/, to cache/agent-trash beside the registry's project root. Nothing is permanently erased. Only the matching [[agents]] block is removed; other entries keep their formatting. If the registry cannot be updated, the folder is moved back.
agentbench agent delete AGENT [OPTIONS]
| Argument | Purpose and default | Example |
|---|---|---|
-h, --help |
Show help for this command and exit. | --help |
AGENT |
Required registered agent_id, or a numbered folder name under --agents-dir. A folder name also removes a folder that was imported but never registered. Paths are rejected. | my-agent, 01-my-agent |
--agents-dir DIR |
Parent directory for numbered Agent units. The deleted folder must be directly inside it. Default: resources/agents beside the selected project's default registry. | --agents-dir resources/agents |
--registry PATH |
Choose the Agent registry. Default: project resources/registry.toml. | --registry resources/registry.toml |
--dry-run |
Show the Agent, folder, registry and archive location without changing files. Default: off. | --dry-run |
-y, --yes |
Skip the deletion confirmation prompt. Default: ask. | --yes |
To restore, move the archived folder back under --agents-dir and re-add its [[agents]] entry. After deleting a registered Agent, refresh docs/Agents.md with python scripts/update_agent_docs.py.
agentbench agent delete my-agent --dry-run
agentbench agent delete 01-my-agentExecute the registered Case budget of one enabled adapting Agent and promote it to ready when all requested Cases complete without invocation errors. A Judge finding does not by itself prevent promotion; already-ready Agents are not rerun.
agentbench certify AGENT_ID [OPTIONS]
| Argument | Purpose and default | Example |
|---|---|---|
-h, --help |
Show help for this command and exit. | --help |
-y, --yes |
Skip the execution confirmation prompt. Default: ask for confirmation. | --yes |
--registry PATH |
Choose the Agent registry. Default: project resources/registry.toml. | --registry resources/registry.toml |
--sdk NAME |
Choose an SDK directory name from sdk list. Bundled default: kuma; local requires explicit selection. If several plugins permit implicit selection, specify a name. | --sdk kuma |
--sdk-options PATH |
Read a JSON object of options accepted by the selected SDK. Default: no explicit options; the SDK supplies defaults. | --sdk-options sdk-options.json |
--case-retries N |
Maximum extra automatic attempts for safely recoverable Case failures. Nonnegative integer; default 2. Zero disables automatic retries. | --case-retries 0 |
--retry-delay SECONDS |
Initial retry backoff, in seconds. Finite nonnegative number; default 5. Later delays increase within the retry policy. | --retry-delay 5 |
--no-view |
Save results without starting the web viewer. Default: start or reuse the viewer; built web assets are needed. | --no-view |
AGENT_ID |
Required exact ID of an enabled registered Agent. Certifies adapting Agents; ready Agents return without a new run. | deer-flow |
--env-file PATH |
Load another environment file. Default: project .env. Exported shell variables take precedence. | --env-file .env.testing |
--results-dir DIR |
ABB result root, created if missing. Default when running from the checkout root: results/. Events are saved at DIR/suites/SUITE_ID/events.json. Mutually exclusive with the legacy result-location option. | --results-dir results/my-run |
--output PATH |
Deprecated ABB result location. A file path selects its parent; the named file is not created. Prefer --results-dir. Default result root: project results/ when running from the checkout root. | --output results/legacy.json |
--model MODEL |
Override ABB’s replacement target model. Default: the selected provider’s configuration. Native ACP models follow their Agent configuration. | --model openai/gpt-4.1-mini |
--llm-trace-max-bytes BYTES |
Legacy streaming memory-spool threshold, in bytes; default 262144 (256 KiB). It does not truncate stored payloads. | --llm-trace-max-bytes 262144 |
agentbench certify AGENT_ID --sdk kuma --no-view
agentbench certify AGENT_ID --sdk local --yes --no-view --results-dir results/certificationExecute one native input and save outputs and traces without SDK Case generation or Judge. Currently requires Docker with oneshot execution. --list and --show provide read-only inspection.
agentbench observe [AGENT] [OPTIONS]
| Argument | Purpose and default | Example |
|---|---|---|
-h, --help |
Show help for this command and exit. | --help |
AGENT |
Optional enabled Agent ID or menu number; omit for interactive selection. Mutually exclusive with --agent. | react-agent |
--agent AGENT |
Alternative to the positional Agent ID or menu number; do not specify both. | --agent react-agent |
--registry PATH |
Choose the Agent registry. Default: project resources/registry.toml. | --registry resources/registry.toml |
--list |
List enabled Agents and exit without executing one. Default: off. | --list |
--input PATH |
Read one native input from UTF-8 JSON. A text input is a JSON string, including quotes. Default: prompt using observe fields or raw JSON. | --input native-input.json |
--output DIR |
Observe artifact root; a new run-ID subdirectory is created. Default: results/observe. | --output results/observe |
--env-file PATH |
Load another environment file. Default: project .env. Exported shell variables take precedence. | --env-file .env.testing |
--model MODEL |
Override ABB’s replacement target model. Default: the selected provider’s configuration. Native ACP models follow their Agent configuration. | --model openai/gpt-4.1-mini |
--timeout SECONDS |
Override Agent execution timeout with positive finite seconds. Default: the Agent’s runtime configuration. | --timeout 300 |
--show DIR |
Review a saved observe run offline and exit. Does not execute the Agent or use the other execution options. | --show results/observe/RUN_ID |
agentbench observe --list
agentbench observe react-agent --input native-input.json --output results/observe --timeout 300
agentbench observe --show results/observe/RUN_IDConverse with one enabled Agent in a single Agent session, without SDK Case generation or Judge. The Agent's worker image starts once and keeps one Agent session open, so the Agent owns its conversation history. The Agent is not started at once: the chat first prints AGENT is ready, takes the preparation commands described below and starts the Agent on /start. After that each line you type is delivered unchanged as one turn; while the Agent answers, an animated Waiting for AGENT... line is shown. /exit, /quit, end of input or Ctrl+C at the prompt ends the chat; Ctrl+C while the Agent answers stops the container and records the run as interrupted. Requires Docker with oneshot execution.
agentbench chat AGENT [OPTIONS]
agentbench chat --list
| Argument | Purpose and default | Example |
|---|---|---|
-h, --help |
Show help for this command and exit. | --help |
AGENT |
Enabled Agent ID; required unless --list is given. |
openclaw |
--list |
Print a table of the enabled Agent IDs and their sources (- when none is recorded), then exit. |
--list |
--registry PATH |
Choose the Agent registry. Default: project resources/registry.toml. | --registry resources/registry.toml |
--output DIR |
Chat artifact root; each chat creates a subdirectory named by its 8-character run ID. Default: results/chat. | --output results/chat |
--env-file PATH |
Load another environment file. Default: project .env. Exported shell variables take precedence. | --env-file .env.testing |
--model MODEL |
Override ABB's replacement target model. Default: the selected provider's configuration. | --model deepseek-flash |
--timeout SECONDS |
Per-turn answer timeout in positive finite seconds. Default: the Agent's runtime configuration. | --timeout 300 |
--view |
Chat in a local web page instead of the terminal. The page opens before the Agent is started; Start Agent in the page starts it. Requires the built viewer (cd web && npm ci && npm run build). Default: off. |
--view |
--host HOST |
With --view: viewer host. Default: 127.0.0.1. | --host 127.0.0.1 |
--port PORT |
With --view: viewer port; a busy port falls back to a free one, 0 picks one. Default: 8765. | --port 0 |
--no-open |
With --view: print the page URL without opening a browser. Default: off. | --no-open |
Before the Agent starts, the terminal shows a ready> prompt and takes these commands: /add file <absolute path> and /add folder <absolute path> stage a file or folder, /add sample stages the Agent's sample project when its agent.toml declares one ([evaluation.workspace] initial_state = "fixture"), /list shows what is staged, /start starts the Agent and /exit leaves without running anything (exit code 0). Nothing is copied while staging. On /start the container is created, the staged paths are copied into it, and only then does it start, so an Agent that reads its workspace at startup finds them. They go to the workspace the Agent declares in [evaluation.workspace] path, or to /opt/agent/home when it declares none, owned by the container's own user; a staged file or folder keeps its name (with a -2, -3... suffix when taken), the sample project's entries are placed directly in the workspace, and nothing in the image is overwritten. run.json lists them under prepared. An Agent that declares a fixture workspace cannot be started with nothing staged; open-code-review is one, because it reviews the code in its workspace. Input that ends before /start (piped text without it) starts nothing and exits with code 1.
With --view the same happens in the page: it opens with the Agent not started and shows Add files, Add a folder, Use the sample project (when the Agent has one) and the Agent's named add entries, lists what was added with a remove button for each, and starts the Agent on Start Agent. The button is disabled, and the server refuses the start, while a required workspace is empty. End chat before the start leaves without running or saving anything. agentbench issues does not have this step: an issue's package fixes its environment, so its Agent starts at once.
After the container stops and host trace validation ran, the chat derives trajectory.atif.json and prints the paths it saved: run.json (status and per-turn results), the trajectory, request/turns/ (the delivered turns), steps/NNNN/ (each turn's request, result and framework/ACP events), otel/spans.jsonl (Agent-native spans), logs/network.jsonl (model and tool interception), diagnostics.json (container output) and the Docker build logs. A chat without turns derives no trajectory.
To give a running Agent files to work on, type /add file <absolute path> (or /add folder <absolute path>; quotes around a path with spaces are optional). The file or folder is copied into the running Agent container under /opt/agent/home/<name> (the folder is created when the image has none), owned by the container's own user so the Agent can read, change or delete it; a name already taken there gets a -2, -3... suffix, and nothing in the container is overwritten. The chat prints the result, for example Folder has been added: path: /opt/agent/home/data. Adding is a system action, not a turn: nothing is sent to the Agent, so mention the path in your next message, and it is not part of trajectory.atif.json. run.json lists every added path under attachments (host source, container path, file count, bytes, time). One addition may hold up to 1 GiB; symbolic links inside a folder are copied as links, not followed. An Agent whose own tools restrict file access may still refuse paths under /opt/agent/home; that is the Agent's policy, not a failed copy (DeerFlow's sandbox mounts this folder). With --view, the + button under the message box offers Add files and Add a folder; each chosen file, or the folder as a whole, is uploaded, copied the same way and shown as a notice in the conversation. Pasting an image into the message box (Ctrl+V) uploads it the same way under a name taken from the paste time, such as pasted-20261129-213000.png, and inserts I uploaded an image, its path is /opt/agent/home/pasted-20261129-213000.png at the cursor; the line is part of your message, so you can edit it before sending, and it is recorded in the trajectory like the rest of the turn. Whether the Agent then shows the image to its model depends on the Agent and its model.
When a turn ends with the Agent offering options (a single ask_clarification call with a question and text options, and no form fields), the terminal lists them numbered under the question. Type a number to send that option's text as the next turn, or type any other answer to send it unchanged. The options are read from the live trajectory preview after each answered turn, so the next prompt can take a second or two, shown as an animated Checking for options... line; for an Agent that exports OTel, the chat waits up to 20 seconds for the turn's trace to arrive. With --view the same options are buttons under the reply. To recognize another Agent's clarification tool, add its name to CLARIFICATION_TOOLS in agentbench/observe/choices.py and web/src/chat/chatModel.js.
With --view, an Agent can also have its own chat UI for richer requests. Each folder under web/src/chat/ui/ is one adapter, found automatically; its index.js names the registry Agent IDs it serves and, optionally, how to read and render the turn's clarification call which named entries to add to the page's add menu and what to explain before the Agent is started (see web/src/chat/ui/registry.js). The curie adapter adds "Add dataset": the picked files are copied into /opt/agent/home/dataset/, before the start or after it, and the entry is disabled once the first message has been sent, because Curie reads its dataset only when its workflow starts. The open-code-review adapter explains that the code to review has to be added before the start. The deerflow adapter serves deer-flow: when DeerFlow's ask_clarification carries fields, the page shows the question, then the context, then one control per field (text, textarea, number, date, select, multi_select, checkbox), with each field's placeholder inside its input and required fields marked *. Submit is enabled once the required fields are filled; it sends one turn written as DeerFlow's own client writes form answers, For your clarification "<question>", my answer is: <label>: <value>; ... [values: {...}], and the form stays on the page read-only. The terminal chat does not render forms. Adding an adapter means adding a folder; the viewer must be rebuilt (cd web && npm run build).
With --view, the page shows the conversation on the left and the trajectory on the right. The right pane has a second tab, Files, with the folders of the Agent container that the chat records: the Agent's working directory (the workspace it declares, else adapter.cwd) and /opt/agent/home, where files added after the start go. Each is a top-level folder of one tree; click a file to read its recorded content, and A, M and D mark what was added, modified or deleted since the Agent started. It is the file tree of the Case replay page, fed by the same workspace recorder, which runs in the chat worker and writes replay/ and replay-added/ in the run directory; these are local records for the page and are not part of the trajectory. The tree is empty until the Agent has started, shows /opt/agent/home once that folder exists, and stays readable after the chat ends. .git is not listed, and the content of files over 2 MiB, binary files and .env, .pem and .key files is not kept. While the chat runs the trajectory is a live preview derived from the evidence recorded so far; it is never saved. End chat (top right) stops the container, saves the trajectory and shows the paths of trajectory.atif.json and the run directory, which holds every other record; Record paths (top right) shows them again. Ctrl+C in the terminal does the same and prints every record path. Once the chat has ended and trajectory.atif.json is saved, each step shows which of the run's three records hold it (network, trace, acp; see the ATIF document), and a step no Agent could be shown to own is tagged Owner unknown. Right-click a trajectory step to mark it with a reason: the mark (reason and created_at) is added at once to that step's extra.abb.marks in trajectory.atif.json, and run.json records the file's new SHA-256. The trajectory file is the only record of its marks, so deriving it again drops them. The live preview during the chat cannot be marked. The page stays available after the chat ends until you press Ctrl+C.
agentbench chat --list
agentbench chat openclaw
agentbench chat openclaw --timeout 300 --output results/chat
agentbench chat openclaw --viewReproduce a recorded issue of a registered Agent. The issue is described by issues/NUMBER/case.json in the Agent's registered unit. For a rebuild issue the command fetches the issue package and the frozen image it builds on when they are not already local, starts the historical Agent in the same page chat --view uses, sends the scenario inputs one at a time (the next input goes out only after the previous one was answered), then ends the chat and saves the records. Sending stops at the first input that fails. No Case is generated and no Judge runs; whether the issue appeared is read from the trajectory. See Issue packages for the package format, the download rules and how to publish a package.
agentbench issues AGENT#NUMBER --run [OPTIONS]
agentbench issues AGENT#NUMBER --chat [OPTIONS]
| Argument | Purpose and default | Example |
|---|---|---|
-h, --help |
Show help for this command and exit. | --help |
AGENT#NUMBER |
Registered Agent ID and issue number. The Agent need not be enabled. | opencode#58775 |
--run |
Send the scenario inputs in order, then end the chat. One of --run and --chat is required. |
--run |
--chat |
Prepare the same environment, then let you chat with the Agent yourself. Nothing is sent for you and the chat ends when you end it. The scenario is printed for reference. | --chat |
--registry PATH |
Registry used to find the Agent's unit. Default: project resources/registry.toml. | --registry resources/registry.toml |
--experiments-dir DIR |
Where packages and image archives are downloaded and unpacked. Default: project experiments/. | --experiments-dir experiments |
--output DIR |
Record root; a run is saved to DIR/AGENT/NUMBER/RUN_ID. Default: results/issues. | --output results/issues |
--env-file PATH |
Load another environment file. Default: project .env. Exported shell variables take precedence. | --env-file .env.testing |
--model MODEL |
Override ABB's replacement target model. Default: the selected provider's configuration. The model in case.json is printed for comparison and never applied. |
--model deepseek-flash |
--timeout SECONDS |
Per-turn answer timeout in positive finite seconds. Default: the Agent's runtime configuration. | --timeout 300 |
--no-view |
Use the terminal instead of the web page: --run prints its progress, --chat reads your turns as agentbench chat does. Default: off. |
--no-view |
--host HOST |
Viewer host. Default: 127.0.0.1. | --host 127.0.0.1 |
--port PORT |
Viewer port; a busy port falls back to a free one, 0 picks one. Default: 8765. | --port 0 |
--no-open |
Print the page URL without opening a browser. Default: off. | --no-open |
The page requires the built viewer (cd web && npm ci && npm run build); --no-view does not. The run directory holds the same records as a chat, plus issue.json: the case.json that was used, the package address and digest, the image, the recorded and requested model, and the status of every input. With the page, the command keeps serving it after the chat ended so that trajectory steps can be reviewed and marked; press Ctrl+C to stop. With --run the exit code is 0 when the chat succeeded and every input was answered; with --chat, when the chat succeeded. issue.json records which of the two was used as mode.
agentbench issues opencode#58775 --run
agentbench issues opencode#59838 --run --no-view --timeout 300
agentbench issues opencode#58775 --chatServe saved results in the local web viewer. Build the web assets first. Open the printed full View URL and keep the command running; Ctrl+C stops it.
agentbench view RESULT_LOG [OPTIONS]
| Argument | Purpose and default | Example |
|---|---|---|
-h, --help |
Show help for this command and exit. | --help |
RESULT_LOG |
Required existing JSON result file, normally events.json from Result saved. Pass the file, not its directory. | results/suites/SUITE_ID/events.json |
--host ADDRESS |
Viewer listening address. Default: 127.0.0.1. | --host 127.0.0.1 |
--port N |
Listening port, 0–65535; default 8765. Zero requests an automatically assigned port. The default viewer can choose another port when occupied. | --port 0 |
agentbench view results/suites/SUITE_ID/events.json
agentbench view results/suites/SUITE_ID/events.json --host 127.0.0.1 --port 0List SDK plugin names found in the SDK directory. This checks discovery, not whether all runtime dependencies are installed.
agentbench sdk list [OPTIONS]
| Argument | Purpose and default | Example |
|---|---|---|
-h, --help |
Show help for this command and exit. | --help |
agentbench sdk listLoad one SDK plugin and show its source, execution mode, and whether it allows implicit selection.
agentbench sdk show NAME [OPTIONS]
| Argument | Purpose and default | Example |
|---|---|---|
-h, --help |
Show help for this command and exit. | --help |
NAME |
Required SDK directory name, matched case-insensitively; use a name from sdk list. | kuma |
agentbench sdk show kuma
agentbench sdk show localContinue eligible unfinished work from a saved Suite using its saved Cases and configuration plus current credentials. Does not generate new Cases or deliberately rerun completed ones.
agentbench resume SUITE [OPTIONS]
| Argument | Purpose and default | Example |
|---|---|---|
-h, --help |
Show help for this command and exit. | --help |
SUITE |
Required saved Suite ID, directory, or events.json path. An ID is resolved under --suite-root. | results/suites/SUITE_ID |
--suite-root DIR |
Directory containing Suite-ID directories. Default: results/suites under the current working directory. | --suite-root results/my-run/suites |
--env-file PATH |
Load another environment file. Default: project .env. Exported shell variables take precedence. | --env-file .env.testing |
agentbench resume results/suites/SUITE_ID
agentbench resume SUITE_ID --suite-root results/my-run/suites --env-file .env.testingRecover one unfinished Case in its original Suite using the original inputs. Depending on its saved state, recover the request or replay from the first input. Replay eligibility still applies.
agentbench retry SUITE --agent ID --case N [OPTIONS]
| Argument | Purpose and default | Example |
|---|---|---|
-h, --help |
Show help for this command and exit. | --help |
SUITE |
Required saved Suite ID, directory, or events.json path. An ID is resolved under --suite-root. | results/suites/SUITE_ID |
--suite-root DIR |
Directory containing Suite-ID directories. Default: results/suites under the current working directory. | --suite-root results/my-run/suites |
--env-file PATH |
Load another environment file. Default: project .env. Exported shell variables take precedence. | --env-file .env.testing |
--agent ID |
Required exact Agent ID from the original Suite; not a menu number. | --agent react-agent |
--case N |
Required one-based Case number, a positive integer. Targets that Case of --agent. | --case 1 |
agentbench retry results/suites/SUITE_ID --agent react-agent --case 1Reuse saved Case inputs for fresh Agent execution, evidence collection, and judging in a linked reuse Suite. Keeps original results and does not generate new inputs. Use this to rerun a completed Case.
agentbench reuse SOURCE [OPTIONS]
| Argument | Purpose and default | Example |
|---|---|---|
-h, --help |
Show help for this command and exit. | --help |
SOURCE |
Required saved Suite ID/path, Case ID, artifact run ID, case.json or attempt path. A Suite selects all Cases unless --agent and --case are supplied. Ambiguous IDs require an explicit source. | CASE_ID |
--suite-root DIR |
Restrict saved-Suite lookup to this directory. Default: project results plus indexed external Suites. | --suite-root results/my-run/suites |
--agent ID |
With a Suite source, select an exact Agent ID. Must be paired with --case. Omit both to reuse all Cases. | --agent react-agent |
--case N |
Positive one-based Case number in a Suite; must be paired with --agent. Not used with a direct Case ID. | --case 2 |
--output-root DIR |
Parent directory for reuse Suites. New Suites are saved at DIR/SUITE_ID; default: source Suite’s parent. Only join compatible active reuse Suites directly under this directory. | --output-root results/reruns |
--env-file PATH |
Load another environment file. Default: project .env. Exported shell variables take precedence. | --env-file .env.testing |
--model MODEL |
Replacement target model for the new evaluation. Default: saved model settings; native ACP model selection follows the Agent configuration. | --model openai/gpt-4.1-mini |
--max-steps N |
Positive SDK dialogue-step budget for the new evaluation; default: saved runner settings. Does not generate additional inputs in the saved Case. | --max-steps 3 |
Compatible requests may join an active reuse Suite. Each intentional request adds a fresh execution. This command has no --no-view, --yes, --sdk, or --cases flags; it prints a saved-result/viewer link.
agentbench reuse CASE_ID
agentbench reuse results/suites/SUITE_ID --agent react-agent --case 2
agentbench reuse results/suites/SUITE_ID --output-root results/reruns --max-steps 3Suite registration and history cleanup share a project-wide file lock. Concurrent commands wait up to 30 seconds for this short critical section, even when their result directories differ. A timeout reports the lock path. Agent execution continues concurrently after registration; attempting to run or resume the same Suite while another coordinator owns it still fails immediately.
Archive unreferenced top-level history from the project results directory into cache/history-trash. Preserve saved Suites and referenced artifacts. Preview first; stop runs and viewers before actual cleanup.
agentbench clean [OPTIONS]
| Argument | Purpose and default | Example |
|---|---|---|
-h, --help |
Show help for this command and exit. | --help |
--dry-run |
List archival candidates without moving files. Default: off. | --dry-run |
-y, --yes |
Skip the archival confirmation prompt. Default: ask. Stop active runs and viewers before actual cleanup. | --yes |
--docker |
Remove containers, networks and interceptor configuration left by runs whose process has ended, and image tags superseded by newer builds, instead of archiving history. Resources of running ABB processes are kept. Combine with --dry-run to list only. Default: off. |
--docker |
--all |
With --docker: also remove resources whose owning process cannot be identified, such as those created before ownership labels existed. This cannot tell a running chat or Suite from an abandoned one; it asks for confirmation. Default: off. |
--docker --all |
agentbench clean --dry-run
agentbench clean
agentbench clean --docker --dry-run
agentbench clean --dockerCreate these files before using the corresponding arguments. JSON files must contain valid JSON; sdk-options.json must be an object. The shown SDK options are supported by kuma/local; another plugin may accept different keys.
sdk-options.json:
{
"timeout": 2400,
"max_steps": 3
}build-settings.toml:
[build]
model = "openai/gpt-4.1-mini"
timeout_seconds = 120native-input.json:
"Describe your capabilities and limitations."native-input.json must match the Agent’s native input schema. answers.txt contains factual answers to the planner’s questions. adapter-context.json is a deployment-context object supplied with -b; its fields depend on the Agent, so there is no universal object to copy.