Harbor

Running Terminal-Bench

Running Terminal-Bench on Harbor

Terminal-Bench is a benchmark for evaluating the performance of agents on terminal-based tasks. Harbor is the official harness for running Terminal-Bench 2.0.

To run Terminal-Bench you will first need to install Harbor. You'll know that it's installed correctly if you're able to run the oracle solutions for Terminal-Bench 2.0. Note that you will first need to install Docker and have it running on your machine:

harbor run -d terminal-bench@2.0 -a oracle

You should then be able to try any of the more advanced features offered by Harbor, such as running Terminal-Bench with Claude Code on Daytona:

export DAYTONA_API_KEY="<your-daytona-api-key>"
export ANTHROPIC_API_KEY="<your-anthropic-api-key>"
harbor run \
  -d terminal-bench@2.0 \
  -m anthropic/claude-haiku-4-5 \
  -a claude-code \
  --env daytona \
  -n 32

Testing your own agent

See our docs on agents for more information on how to test your own agent on Terminal-Bench.

Submitting to the Terminal-Bench leaderboard

To submit to the Terminal-Bench leaderboard, you can use the following command:

harbor run \
  -d terminal-bench@2.0 \
  -m "<model>" \
  -a "<agent>" \
  --n-attempts 5 \
  --jobs-dir "<path/to/output>" \
  [any-other-flags]

This will run 5 attempts of the agent on the benchmark. Please share the jobs directory with us by emailing mchlmerrill@gmail.com and alex@laude.org.

Viewing the Terminal-Bench leaderboard

You can view the leaderboard here.