翻篇收录说明
翻篇网页快照

Documentation — BenchFlow

https://www.benchflow.ai/docs

最近抓取:2026-12-05 07:36:33(北京时间)

最近内容变化:2026-12-02 19:04:07(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

Documentation for the BenchFlow runtime and the SkillsBench benchmark.

正文摘录

DocsBenchFlow documentationStart 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.BenchFlowsourceRun AI agents on benchmark tasks in sandboxes, score every attempt with the task's own tests, and keep everything they did.InstallInstall `bench` and the Python package at a pinned version, check the machine, and move between versions.Quick startScore one task with its reference solution, with an agent that does nothing, and with Claude Code, then read the results.How BenchFlow worksThe rollout, BenchFlow's unit: what goes into one (task, environment, agent, model), what comes out (trajectory, reward, artifacts), and what reads them.Why BenchFlowSee what each rollout records, what BenchFlow decides from that record, and where it stops, against Han-chung Lee's posts.Find a benchmarkSee which benchmarks you can run: the registry, any folder of tasks in a Git repository, and your own folders.Agents and modelsPick 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 evalSettle the settings that change a score (harness, effort, sampling, tries, limits, controls, cost) and see the plan before anything runs.Run a benchmarkRun an agent on many tasks at once, choose which tasks and how many tries, and know where the results go.Read the resultsRead 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 failsFind out why a trial failed or has no score, whose problem it is, and what to do next.SkillsGive the agent skills, confirm it used them, and measure whether they help.Run your own agentScore 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 haveRun 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 benchmarkBefore 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 runsPick the metric, count failures the right way, and tell with an interval whether two runs really differ.Reproduce a published scoreTake a published number, match its settings, rerun it, and say whether it holds.Report a resultPublish a score with the settings, controls, intervals and files another researcher needs to check it.Known pitfallsProblems that quietly change a score or break a run, each with its symptom, cause, how to detect it, and the fix.Write a taskWrite 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 formatThe 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 tasksGive the agent several prompts in one sandbox: a scripted user that writes each next prompt, or several agents taking turns.Multi-step tasksSplit a task into steps that are each checked before the next one starts.VerifiersScore a trial with a test script: pass or fail, partial credit, tolerances, and a separate verifier for long tasks.Rubric reviewGrade 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 judgeGrade 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 preferencesJudge two outputs at a time, blind, live and with reasons, by a person or a model, then rank the agents with intervals.Network and secretsControl 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 hackingMake sure an agent can't score without doing the work, and prove it with probes.Publish a benchmarkShare a folder of tasks through Git or the registry, version it, and declare the setup runs should match.SandboxesChoose where trials run, and set up Docker, remote Docker or AgentCore.DaytonaRun trials in Daytona cloud sandboxes: setup, limits, and cleanup.ModalRun trials in Modal sandboxes, including tasks that need GPUs.Concurrency and budgetsRun many trials at once, cap what a job may spend, and watch a long run.Usage and telemetryWhat 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 regradeContinue a stopped job, know which failures are retried, and rescore saved work with a fixed verifier.Configs and variablesKeep a whole run in a YAML file, and send each environment variable where it's needed.Run in CIRun a benchmark in CI and fail the build when the pass rate drops.BenchFlow as an RL environmentRun groups of rollouts on a task, score them, and read rewards and advantages, with token capture on from the start.Export training dataTurn 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 trainerStream 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.7Move 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.0rc3The prerelease's features, how to install it, and what may still change.ChangelogEvery release's changes, from the repository's CHANGELOG.CommandsLook up every `bench` command and flag, including the ones `--help` hides and the ones new in 0.10.Python APILook up every public name in the `benchflow` package.CLI and PythonFind the Python argument that does what each `bench` flag does.Files BenchFlow reads and writesLook up every key of the task files you write and every field of the job and trial files BenchFlow writes.Error messagesLook up a fixed message BenchFlow prints and what to do about it.Environment variablesEvery variable BenchFlow reads, and where it goes: your machine, the sandbox, the agent or the verifier.GlossaryEvery term in these docs, one line each, with the page that covers it.BenchFlowKnow in one screen what BenchFlow is, what you can do with it, and which page is your job.SkillsBenchsourceThe first benchmark for whether agents can use procedural skills.Getting StartedHow to run SkillsBench — evaluate your coding agent's ability to use domain-specific skills.ContributingHow to contribute tasks to SkillsBench — the first benchmark that tests whether agent skills can improve agent performance.