Argo-Bench measures whether an agent can do real operations work on an enterprise data warehouse: investigate, compute, and then act. The warehouse is a simulated New York City food-delivery company, exported in Oracle E-Business Suite form. The 209 questions range from fraud rings and promotion economics to the month-end close, courier pay, dashboards and forecasting. An agent is graded on what it files (bans, journal entries, balances, forecasts, dashboard data sources), not on what it writes in its answer.
This repository is the minimum needed to reproduce the paper's runs: the questions, the
reference agent on Inspect AI, its two tool servers, the
sandboxes run_python executes in, and the model configurations. The warehouse is released
separately (see Data). The answer keys are held out (see Scoring).
This is version 1.5: 209 questions on a rebuilt release of the warehouse, graded by the
grading service against that release's answer keys (see Versions). The code and questions
as first published, 210 questions on the warehouse as first released, are kept on the v1.1
branch and release.
Each question is one Inspect sample. The agent gets a system prompt
(argo_bench/system_prompt.md), the question, and the tools of two MCP servers:
| server | tools | |
|---|---|---|
| warehouse | run_sql, list_tables, describe_table |
read-only; one statement per call; every result also saved as Parquet |
| python | run_python |
a persistent interpreter with pandas, polars, scipy, statsmodels, scikit-learn, OR-Tools |
The agent files its findings from Python through the Mission Control console
(argo_bench/console/mission_control.py, copied into each run's working directory):
from mission_control import MissionControl, Reason
mission_control = MissionControl()
mission_control.ban_customers([101, 102], reason=Reason.PROMO_FARMING)
mission_control.summary()Every filing is appended to the run's journal, which is stored in the Inspect log (sample
store, key filings). The agent loop (argo_bench/agent.py) is a plain tool loop: it calls
tools until it answers without one, with no planner, memory or retries.
A question with a data cutoff before December reads a warehouse that stops at the end of
that month: food_delivery_9 is a schema of views over food_delivery that ends on 30
September 2024, and the system prompt says so. Queries that name any other schema are
refused.
python3 -m venv .venv
.venv/bin/pip install -e '.[analysis,dev]' # add ,bigquery for BigQuery
cp .env.example .env # add your model provider keys
.venv/bin/pytest # offline checks, no keys or data neededCheck the whole path with the smoke question. It needs no data and no domain knowledge: the
prompt says exactly what to file, and the conformance score must be 1.
.venv/bin/inspect eval argo_bench/task.py -T questions=smoke --model anthropic/claude-haiku-4-5The warehouse is released separately as Parquet (about 73 GiB); the paper says where. These
questions are asked of its v1.5 build: download that revision to data/argo-bench and load it
into a local DuckDB file with the as-of month views:
.venv/bin/python scripts/load_duckdb.py --kit data/argo-bench --out data/argo.duckdbThe paper's runs queried a sibling build of the warehouse (another random seed, same configuration), which is held out. The released build was regenerated for v1.5 from the same seed as the one first released, by the simulator with the fixes a review of the released data called for: simulator artifacts an agent could key on instead of the business facts are gone (for example contiguous organization-id blocks and delivery legs timed at a fixed speed); the courier trip clock counts every leg of a chained run, which moves courier hours and the minimum-pay top-ups; a free trial membership converts or closes instead of rolling on at $0; a storefront that takes over another's premises no longer inherits its menu; and closures over Thanksgiving are logged as holiday closures. Its figures differ from the first release's, so v1.5 scores are not comparable with scores on v1.1.
Questions that name specific entities or figures (courier, storefront or promo-code ids,
counts and amounts drawn from the data) are drawn from the released build by each question's
own selection rule; their cards say so in prompt_edit. version identifies the question as
v1.5 asks it, and is what the grading service checks. The four refund-collusion searches
(col-22-*) were corrected after the paper's final run to state how their grader weighs the
review; their cards say so in prompt_revision. A card with paper_data_cutoff is asked at a
later month end on the released build than in the paper's runs: on this build the paper's
month holds too little laundering to grade, so data_cutoff is the released build's month and
paper_data_cutoff the paper's.
Or load it into BigQuery with the dataset's setup/bigquery/load.sh and
setup/bigquery/month_views.sh (the paper's runs used BigQuery; the release's README has
the commands, and loaders for Snowflake, Databricks, Trino and Iceberg), then set
ARGO_WAREHOUSE_* in .env. Give the agent a read-only credential that can see only the benchmark's datasets.
# one model rung, all 209 questions
.venv/bin/python scripts/run.py --rung opus-5.5-high
# the same thing with plain Inspect
.venv/bin/inspect eval argo_bench/task.py --model anthropic/claude-opus-5-5 --reasoning-effort high
# a few questions, run_python in Docker
.venv/bin/python scripts/run.py --rung gpt-6-luna-low -T sandbox=docker \
-T questions=fraud-04-stolen-orders-brooklyn,fc-08-margin
.venv/bin/python scripts/run.py --list # the paper's 39 rungs
.venv/bin/inspect view --log-dir logsTask options (-T): questions (final, smoke, reference, a JSONL path, or
comma-separated ids), solver (agent or reference), engine, database, schema,
credentials, sandbox, image, python, keep_workdirs, grading. See
argo_bench/task.py.
| setting | value |
|---|---|
| harness | Inspect AI 0.3.263, reference agent, one sample per question, one epoch |
| limits | 3,600 s wall clock and 500 model turns per question |
run_python |
900 s per cell, 30,000 characters of output per cell |
run_sql |
300 s per query, 50-row preview, up to 1,000,000 rows saved; BigQuery scans capped at 20 GiB per query |
| models | rungs.json: 12 models, each at every reasoning-effort rung it supports except max and the no-thinking floors |
| sandbox | the Docker image's pinned libraries, in a gVisor pod with no network (k8s/) |
run_python's interpreter never shares the warehouse or model credentials. -T sandbox=:
local(default): a child process with a scrubbed environment, sharing the run's working directory. On macOS it runs under Seatbelt (argo_bench/sandbox/local.sb) and can read only its working directory, its venv and the kernel. On Linux it is not confined; use Docker.docker:docker build -t argo-sandbox argo_bench/sandbox, then-T sandbox=docker. One container per run,--network none, 1 CPU and 8 GiB.k8s: one pod per run, reached withkubectl exec. Applyk8s/once (kubectl apply -f k8s/) for the namespace, the gVisor RuntimeClass, a deny-all NetworkPolicy, a quota and the runner's RBAC. Then push the image somewhere the cluster can pull it from and pass-T sandbox=k8s -T image=<registry>/argo-sandbox. The pod (k8s/templates/sandbox-pod.yaml) runs as non-root with no service-account token, no DNS and no network.inspect evalitself stays outside the cluster, with the credentials.
Neither container shares a filesystem with the host. The console, the run_sql Parquet
results and the Mission Control journal travel inside the kernel's own stdin/stdout protocol
(SyncedKernel in argo_bench/servers/python.py).
reference/ holds reference solutions for 16 of the questions: the four that the paper and
its website walk through (col-10-refund-partnerships, ds-22-margin-monthly-per-order,
fc-12-true-ups-may, mer-71-silent-takeovers) and twelve more. Each one is the sequence of
tool calls an agent would make, with a docstring that says what the question leaves out and
the rule the solution files. -T solver=reference replays a question's reference through the
same two servers a model gets, with no model, and keeps what it files like any run:
.venv/bin/inspect eval argo_bench/task.py -T solver=reference \
-T questions=ds-22-margin-monthly-per-order --model mockllm/model
.venv/bin/inspect eval argo_bench/task.py -T solver=reference -T questions=reference \
--model mockllm/model # every question that has oneEvery statement is written for both engines. reference/README.md lists the solutions and
their scores on the paper's warehouse and on the released one.
The answer keys are held out, so the benchmark cannot be trained on. Runs are scored by the
Argo-Bench grading service (https://grade.argo-bench.com), which holds the keys and runs the
benchmark's grader: send it a run's filings with an API key (from the Argo-Bench team) and it
returns the question's reward. The service grades every version of the benchmark. Each card
names its grading_key, the answer key and grader of v1.5's version of the question, and
argo_bench/remote.py sends it with the filings, so a run of these cards is graded against
the v1.5 warehouse's keys.
export ARGO_GRADER_KEY=argo_...
# scored as each question ends (-T grading=auto, the default, uses the service when the key is set)
.venv/bin/inspect eval argo_bench/task.py --model anthropic/claude-opus-5-5 --reasoning-effort high
# a finished log (run without a key): add the scores to it
.venv/bin/inspect score logs/<log>.eval --scorer argo_bench/remote.py@remote_grade \
--action append --overwrite
# many logs at once: one row per run in grades.csv, and the mean per model
.venv/bin/python scripts/grade_remote.py --log-dir logs --out grades.csvOnly the reward comes back; the per-metric detail would name answer-key entities. Busy or
rate-limited answers are retried; a refusal (a missing, revoked or invalid key, a question
version the service does not grade) shows as a scoring error rather than a score of 0.
Without a key the only score computed here is filed, the share of runs that filed
anything; the smoke question also reports conformance.
To have runs scored by the maintainers instead, package them and send the file (and, optionally, the Inspect logs):
.venv/bin/python scripts/export_submission.py --log-dir logs --out submissions/my-run.jsonl.gzEach line is one question run: the question and its version, the model and its settings,
every filing, token usage, time, and how the run ended. scripts/grade_remote.py --submission <file> grades such a file with your own key.
argo_bench/task.py the Inspect task: questions, limits, scorers
argo_bench/agent.py the reference agent (tool loop, per-run working directory)
argo_bench/servers/ the warehouse and python MCP servers
argo_bench/warehouse.py read-only DuckDB / BigQuery access and month confinement
argo_bench/sandbox/ the kernel, the Docker image, the macOS Seatbelt profile
argo_bench/console/ Mission Control, the API the agent files through
argo_bench/reference.py the reference solver: replays a reference/ solution, no model
argo_bench/remote.py scoring with the grading service (the remote_grade scorer)
argo_bench/system_prompt.md
tasks/final.jsonl the 209 questions; tasks/smoke.jsonl, the conformance check
reference/ reference solutions for 16 questions (and the smoke check)
rungs.json the model rungs of the paper
k8s/ the sandbox namespace, RuntimeClass, NetworkPolicy, quota, RBAC;
k8s/templates/, the per-run pod
scripts/ run.py, load_duckdb.py, export_submission.py, grade_remote.py
analysis/spider2/ the appendix's Spider 2.0 measurements (spider2_shape.py and its
output); analysis/spider2/README.md says how to rerun it
analysis/reward_hacking/ three development runs that read the grader, as scrubbed traces
| version | questions | warehouse | where |
|---|---|---|---|
| v1.5 | 209 | rebuilt release (same seed, simulator fixes) | main |
| v1.1 | 210 | first release | branch and release v1.1 |
Since v1.1, six questions most settings solved were retired and replaced by six harder ones in
the same business areas (v1.4); several answer keys and graders were corrected; and v1.5 moved
the questions to the rebuilt warehouse, re-drawing the entities and figures they name from it.
vd-f2-quotes-priced-off-another-storefront is not in v1.5: on the rebuilt warehouse no
storefront's quotes are priced off another's, so the question has nothing to find.
Code: Apache-2.0 (LICENSE). Data (question cards, the warehouse release): CC BY 4.0
(DATA_LICENSE.md).