Skip to main content

Agent YAML Format

This page describes the agent process contract in the 0.6.0 release.
Agent Bench passes the command to bash -c with the task workspace as the working directory. The command should read INSTRUCTION.md, change the workspace, and exit. It runs as a local host process with the invoking user’s permissions.
The workspace directory is an organizational boundary, not a security boundary. Agent Bench does not provide container execution or isolation. Use your own disposable VM, CI runner, or other externally managed isolation for untrusted agents or benchmark definitions. Benchmark setup and post commands have the same host authority as the configured agent command.

Examples

Filesystem Contract

After provide, the workspace contains: The external agent may create or modify files in this directory. Agent Judge implementations inspect that result during grading.

Optional Agent Journal

If the agent writes journal.yaml, Agent Bench records efficiency metrics with the trial:
Agents without a journal are still graded; only the journal-derived efficiency fields are absent.

Optional Trajectory Reference

If the agent writes trajectory-ref.txt containing a path or URI, Agent Bench copies the reference into the trial result for later analysis. Agent Bench does not upload or manage the referenced trace.