What is Terminal-Bench?
Terminal-Bench 2.0 is a comprehensive benchmark that evaluates AI agents’ ability to:- Complete real-world coding tasks
- Navigate complex software environments
- Use command-line tools effectively
- Debug and fix issues autonomously
Quick Start
1
Set up your API key
Export your Anthropic API key (or other provider):
2
Run the evaluation
Execute Terminal-Bench with Claude Code:This runs the benchmark locally using Docker with 4 parallel tasks.
3
Monitor progress
Harbor displays real-time progress:
4
View results
When complete, results are saved to
jobs/<job-id>/:Cloud Execution
For faster evaluation at scale, run on cloud providers like Daytona:Cloud execution allows you to run 100+ tasks in parallel, dramatically reducing evaluation time.
Configuration Options
Agent Selection
Evaluate different agents on Terminal-Bench:Task Filtering
Run a subset of tasks:Timeout Configuration
Multiple Attempts
Run multiple attempts per task for statistical significance:Understanding Results
After evaluation completes, Harbor generates comprehensive results:Job Summary
Per-Task Results
Each task generates atrial_result.json:
Viewing Traces
View agent trajectories in the web UI:Performance Benchmarks
Typical execution times for Terminal-Bench 2.0 (250 tasks):Troubleshooting
Docker build timeouts
Docker build timeouts
Increase build timeout:
Rate limit errors
Rate limit errors
Reduce concurrency or add delays:
Out of disk space
Out of disk space
Clean up Docker resources:
Next Steps
SWE-Bench
Run software engineering benchmarks
Custom Benchmark
Create your own benchmark
RL Optimization
Generate rollouts for RL training
Parameter Sweeps
Optimize agent parameters