What You’ll Do
Run the hello-world benchmark with your own agent. You’ll write a 2-line agent config, run the benchmark, and see a graded result.Prerequisites
- Java 17+
- An AI coding agent with a CLI (Claude Code, Gemini CLI, or any executable)
Step 1: Clone and Build
Step 2: Configure Your Agent
Create a YAML file that tells the benchmark how to invoke your agent. The only requirements: acommand that runs in a directory, and a timeout.
- A workspace directory as its working directory
- An
INSTRUCTION.mdfile describing the task
claude -p (print mode) cannot write files --- it only outputs text.
Use claude --print --dangerously-skip-permissions for agents that need to create or modify files.Other agents
Any CLI tool works. Here are examples for different agents:Step 3: Run the Benchmark
Step 4: Review Results
The benchmark writes structured results toruns/<uuid>/:
Step 5: Try Code Coverage
The code-coverage benchmark is a real-world task: write JUnit tests for Spring Petclinic to maximize coverage. This requires the full judge stack, so use theagent-bench-agents module:
- T0 Build: Does
./mvnw testpass? - T1 Coverage Preservation: No regressions from baseline?
- T2 Coverage Improvement: Above 50% instruction coverage?
- T3 Test Quality: LLM judge scores practice adherence (test slices, assertions, patterns)
What’s Next
Agent Configuration
Advanced agent config: timeouts, environment, multiple agents
CLI Reference
All commands: run, resume, compare, list, grade
Jury System
How benchmarks are graded: tiers, policies, custom judges