Docs
Start a real local Docker evaluation in five minutes, then move to cloud sandboxes only when you need remote scale. Runtime docs live at /docs/benchflow; the SkillsBench guide lives at /docs/skillsbench. Published pages sync from each project’s versioned source docs.
Run AI agents on benchmark tasks in sandboxes, score every attempt with the task's own tests, and keep everything they did.
Install
Install `bench` and the Python package at a pinned version, check the machine, and move between versions.
Quick start
Score one task with its reference solution, with an agent that does nothing, and with Claude Code, then read the results.
How BenchFlow works
The rollout, BenchFlow's unit: what goes into one (task, environment, agent, model), what comes out (trajectory, reward, artifacts), and what reads them.
Why BenchFlow
See what each rollout records, what BenchFlow decides from that record, and where it stops, against Han-chung Lee's posts.
Find a benchmark
See which benchmarks you can run: the registry, any folder of tasks in a Git repository, and your own folders.
Agents and models
Pick an agent (Claude Code, Codex, OpenCode, Pi and more), log in or set a key, and choose the model and effort.
Before you run an eval
Settle the settings that change a score (harness, effort, sampling, tries, limits, controls, cost) and see the plan before anything runs.
Run a benchmark
Run an agent on many tasks at once, choose which tasks and how many tries, and know where the results go.
Read the results
Read a job's score, each trial's outcome and reward, what the agent did and what it cost, from the shell, the browser or Python.
When a trial fails
Find out why a trial failed or has no score, whose problem it is, and what to do next.
Skills
Give the agent skills, confirm it used them, and measure whether they help.
Run your own agent
Score an agent you wrote, over ACP or as a script, like any built-in agent.
Embodied tasks (Robo Use)
Run Robo Use's simulated robot tasks from several seeds, read the results seed by seed, and give the reference solution its token.
Bring what you have
Run tasks in the Terminal-Bench (task.toml) format, convert or export them, read old BenchFlow jobs, and hand trajectories to tools that read ATIF; see what doesn't carry over yet.
Check a benchmark
Before trusting a benchmark's scores, show that every task can be solved, none passes for free, the verifiers hold, and the tasks aren't flaky.
Compare runs
Pick the metric, count failures the right way, and tell with an interval whether two runs really differ.
Reproduce a published score
Take a published number, match its settings, rerun it, and say whether it holds.
Report a result
Publish a score with the settings, controls, intervals and files another researcher needs to check it.
Known pitfalls
Problems that quietly change a score or break a run, each with its symptom, cause, how to detect it, and the fix.
Write a task
Write a small research task (data in, a number out, a stated tolerance), check it, prove it with the controls, and run an agent on it.
Task format
The files of a task, what each is for, and the task.toml layout BenchFlow also reads; where both forms exist, they must match.
Multi-turn tasks
Give the agent several prompts in one sandbox: a scripted user that writes each next prompt, or several agents taking turns.
Multi-step tasks
Split a task into steps that are each checked before the next one starts.
Verifiers
Score a trial with a test script: pass or fail, partial credit, tolerances, and a separate verifier for long tasks.
Rubric review
Grade the work a test can't check, such as the method behind an answer, with a weighted rubric and a reviewer agent, and read its verdicts.
LLM judge
Grade what no script can check, a piece of writing or a web page, with a model and criteria you write, and know what the judge records.
Human preferences
Judge two outputs at a time, blind, live and with reasons, by a person or a model, then rank the agents with intervals.
Network and secrets
Control what the agent can reach, keep it off the web or away from given sites, and know which keys and files enter the sandbox.
Stop reward hacking
Make sure an agent can't score without doing the work, and prove it with probes.
Publish a benchmark
Share a folder of tasks through Git or the registry, version it, and declare the setup runs should match.
Sandboxes
Choose where trials run, and set up Docker, remote Docker or AgentCore.
Daytona
Run trials in Daytona cloud sandboxes: setup, limits, and cleanup.
Modal
Run trials in Modal sandboxes, including tasks that need GPUs.
Concurrency and budgets
Run many trials at once, cap what a job may spend, and watch a long run.
Usage and telemetry
What BenchFlow records for every model call (tokens, cost, timing, settings), where each number comes from, and what happens when an agent exports no OpenTelemetry.
Resume, retries and regrade
Continue a stopped job, know which failures are retried, and rescore saved work with a fixed verifier.
Configs and variables
Keep a whole run in a YAML file, and send each environment variable where it's needed.
Run in CI
Run a benchmark in CI and fail the build when the pass rate drops.
BenchFlow as an RL environment
Run groups of rollouts on a task, score them, and read rewards and advantages, with token capture on from the start.
Export training data
Turn finished trials into rows a trainer reads, check the rows, and know each file a trial writes for trainers and other tools, with its schema.
Connect a trainer
Stream rollouts to a trainer while a job runs, check token capture, launch a Prime-RL SFT job, and connect other trainers through files.
Upgrade from 0.7
Move an install and a project from 0.7.x to 0.9.2, and go back if you need to.
What's in 0.10.0rc3
The prerelease's features, how to install it, and what may still change.
Changelog
Every release's changes, from the repository's CHANGELOG.
Commands
Look up every `bench` command and flag, including the ones `--help` hides and the ones new in 0.10.
Python API
Look up every public name in the `benchflow` package.
CLI and Python
Find the Python argument that does what each `bench` flag does.
Files BenchFlow reads and writes
Look up every key of the task files you write and every field of the job and trial files BenchFlow writes.
Error messages
Look up a fixed message BenchFlow prints and what to do about it.
Environment variables
Every variable BenchFlow reads, and where it goes: your machine, the sandbox, the agent or the verifier.
Glossary
Every term in these docs, one line each, with the page that covers it.
BenchFlow
Know in one screen what BenchFlow is, what you can do with it, and which page is your job.
The first benchmark for whether agents can use procedural skills.