In one line: An agent harness for environments: wrap frozen training environments with composable Stage/Contract/Chain components at the reset/step interface (keeping the original verifier) while EnvRigger customizes them against the target policy's diagnosed weaknesses; skills learned this way scored above skills from the original environments on all five benchmarks (+1.0 to +9.0 points, mostly within three-run noise) and above generated environments on the three that have a generator, GRPO RL won 3 of 4 metrics with one run per arm, and in the scaling figure the original environments gained as many tasks as EnvHarness after the first 100 environments (only the generated ones flatten).
How far to trust it: Believe the design: wrapping a frozen environment at its reset/step interface keeps the original verifier, ports across five very different benchmarks, and the released code does what the paper says. Treat the sizes of the gains as provisional: most single margins sit within three-run noise, the RL comparison is one run per arm, and the paper's own Figure 5 shows the original environments gaining as many tasks as EnvHarness after the first 100 environments. The evidence, judged.
The idea in one sentence: instead of generating new environments for an agent, wrap an existing one at its reset()/step() interface with plug-in components (Stage changes the start state, Contract changes what actions do and what the agent sees, Chain joins two tasks), chosen by an LLM designer that watches one policy fail, so the environment is reshaped for that policy while the original verifier still scores every episode.
You need: what an agent harness is (Topic: agentic-harnesses) and what an RL environment for an LLM agent contains, task, sandbox and verifier (Harnesses for training and evaluation). New terms: component (a wrapper over the environment's interface); Stage, Contract, Chain (the three kinds: start state, interaction rules, joined tasks); EnvRigger (the LLM designer that observes, diagnoses, writes and validates components); Bridge (the per-benchmark adapter to the runtime); Original Envs (the baseline: skills from the unmodified environments).
The first summary of this paper was written days after it appeared, when no third-party explainer existed and the repository README was the practical entry point. This page is built from the full paper, its appendices, its vector figures and the released code, and it corrects that summary where the details change the reading (see How much to believe).

LLM agents learn by acting in environments: software repositories, web interfaces, text or embodied simulators. Each environment presents tasks, keeps state, answers actions and judges success (§1; the parts of an RL environment in general: Harnesses for training). They are expensive to build, because people hard-code the interaction logic and the verifiers, and once built they are static: they behave the same whichever agent trains in them and however good it has become. That limits learning in two ways. A static environment cannot aim at one agent's particular weaknesses, and once the agent solves its tasks it has nothing left to teach (§1).
The usual fix is to generate environments automatically, and it has two structural flaws (§1):
Generated environments are also static once made: they do not move as the agent improves (abstract).
An agent harness turns a frozen model into an agent without changing its weights: Agent = Model + Harness (§2.1; harnesses themselves: Topic: agentic-harnesses). EnvHarness applies the same trick to the other side of the loop: Customized Env = Static Env + EnvHarness. Plug-in components wrap a frozen environment and change what flows through its standard interface, while its code stays untouched (Table 1).
| Agent harness | EnvHarness | |
|---|---|---|
| Base system | Frozen LLM | Static environment |
| Designed to solve | Lack of action, memory or loops | Hard-coded interaction logic |
| Harness layer | Capabilities (tools, memory) | Customization (states, rules, observations) |
| Unified output | Autonomous agent | Customized environment |
Table 1, verbatim: "Both scale capabilities through external layers rather than changing the core system."
Formally (Eq. 1), an environment is a tuple E = (𝒮, 𝒜, 𝒪, T, R, s0): states, actions, observations, the transition function T: 𝒮 × 𝒜 → 𝒮, the reward R induced by the verifier, and the initial state. A component is an environment-agnostic transformation E′ = w(E) that works strictly at the interface: it can change the initial state, filter the exposed action and observation spaces and update the transition mechanics, but never the simulator backend. Because every intervention stays outside, the ground-truth evaluation logic is preserved and the original verifier still scores the episode. That is the paper's answer to the reliability problem: no generated verifier anywhere.
The paper introduces three component types, "chosen to cover three fundamental modes of environment customization", and expects more to follow (§2.2). Each overrides a standard interface method. The running example is one ALFWorld task, "put a clean mug on the desk", whose default instance leaves the mug in the open and ends as soon as it is placed.
reset(): a list of actions δ = (a1, ..., ak) applied to the initial state, s0′ = T(...T(s0, a1)..., ak), nothing else changed (Eq. 2). Harder: take mug 1, open drawer 1, put mug 1 in drawer 1, close drawer 1, so the agent must search. Easier: clean the mug in advance. The code replays δ through the ordinary inner.step(), so the start state is always reachable and the saved form is just the action list (Appendix C.3).step(): a triplet r = (fA, fT, fO), each the identity by default, rewriting the action space, the transition dynamics and the observation space (Eq. 3). It enforces preconditions, masks or augments observations and attaches structured feedback. On the mug task: fO truncates the room description after two sentences, so the agent builds its picture of the room step by step; fT blocks "clean mug" unless the agent holds it; fA removes teleport navigation. A blocked action leaves the world untouched and returns the current, filtered observation with the reason, and Contract never touches s0 or R (Appendix C.3).Because all three share the interface they compose freely, for example E′ = wchain(wcontract(wstage(E))) (Eq. 5): hide the mug, truncate the observation, then append a follow-up task. The transformations do not commute (w1 ∘ w2 ≠ w2 ∘ w1); the nesting order decides which constraints apply during set-up and which during play. The 3D stage runs one episode of this page's toy household through all three, using the port of the released classes from the Wrap a world yourself tab (seed 3, every component on; the house and the policy are illustrative, not ALFWorld):
reset() and step() on the outermost layer and cannot tell how many layers sit beneath it (Appendix C.3); each layer holds the next as inner and delegates every method it does not override.reset() replays δ. The base reset, then 7 actions through the ordinary inner.step() (green): take the mug, put it in drawer 1, close the drawer, walk back to the countertop. The step counter is rewound to 0, so the episode starts there.step(a) goes down and back up. Actions (blue) go down through Chain, Contract and Stage to house A; responses (teal) come back up. With teleport removed the policy walks to the desk and back, opening only the empty microwave and passing the closed drawer 1 twice.evaluate(): the original verifiers decide. Stage and Contract pass evaluate() straight through (the code's Contract has no reward hook); the Chain only combines the two original verdicts, R′ = RA ∧ RB: pass.In the code the three are the classes Setups (Setup in the source), Rules and Link, because the release predates the paper's names (Table 6); a designer's candidate carries in_env_actions (a Stage) and rules_code (a Contract, as Python source). The base interface, ActionableEnv, is Gymnasium-style (reset, step, evaluate, observe) plus get_env_state, a data-only view with no Docker handles, browser pages or sockets, the only state hooks may read; that is what lets one hook run against an in-memory puzzle and a containerised repository alike (Appendix C.1). A per-benchmark Bridge is the only layer that knows the runtime: an in-memory 24 game (Toy24), ALFWorld via TextWorld, per-instance Docker containers (SWE-bench, OfficeQA, SpreadsheetBench) and a Playwright browser (WebArena, WebShop) (Appendix C.2). Generated code runs in a per-episode subprocess, so faulty code crashes an episode, not the framework.
A component is policy-agnostic, but which components to use, and with what parameters, must depend on the target policy π and the task t. The paper writes this as a task-policy-conditioned map E′ = ℋ(E, t; π) = (wk ∘ ... ∘ w1)(E) (Eq. 6), with the policy treated as a black box: only its outputs are read, never its weights. EnvRigger, an LLM designer agent, realises ℋ in four stages (§3.2):
The 3D stage runs the loop on the toy household, with a scripted designer standing in for the LLM: it walks a fixed ladder of the paper's own example Stages and judges each candidate by the released SWE-bench prompt's band rule, accept when K = 5 rollouts land in [0.4, 0.6] (the same run as the first press of the loop button in Wrap a world yourself; rollout seeds from 1000):
Write and Validate loop at most 5 times per task, with 5 fresh rollouts per candidate, after which the task yields no component; a candidate is accepted or rejected as a whole, and the designer uses the policy's backbone (Table 8). Validation assumes deterministic resets, so a Stage reproduces the same start state.
The system prompt (Appendix A) adds two rules: "do not make the task unsolvable ... SR=0 from impossibility is exactly as useless as SR=1 from triviality", so on those signals the next proposal must loosen; and when a mutation moved the success rate the right way, keep its hooks and change only the magnitude. The reward axis is not exposed: "success is the benchmark's own verdict".
The released configs define "acceptance" differently per benchmark, which Table 8 does not mention (see How much to believe).
Two ways to use the environments (§1, §4.1): skill-based learning, where EnvRigger runs on the training tasks, skills are extracted from trajectories in the customized environments following ReasoningBank, and the frozen policy equipped with them is evaluated on held-out tasks; and online RL, where GRPO trains a policy directly in the reshaped environments.
Five benchmarks in four domains (§4.1): ALFWorld (text-based embodied tasks), WebArena (web interaction), SWE-bench Verified (software engineering), and OfficeQA with SpreadsheetBench (office automation). Each reports its native metric; SWE-bench also tracks average steps as a measure of efficiency. Training and evaluation episodes are disjoint (Table 7):
| Benchmark | Training (reshaped) | Evaluation (original tasks only) |
|---|
ALFWorld's In-Dist and OOD are the benchmark's own seen and unseen splits (140 and 134 tasks, ALFWorld Table 1). SpreadsheetBench's Pass@1 aggregates over base tasks and its Mean Score averages over all instances. The SWE-bench test set is the 407 Verified issues that are not in SWE-bench Lite, not the full 500.
Same model everywhere. EnvRigger, the policy and skill extraction share one backbone: Gemini 3.1 Flash-Lite on ALFWorld and WebArena, Gemini 3.5 Flash elsewhere, "ensuring that performance gains do not stem from distilling a stronger external model" (§4.1). Skills are extracted ReasoningBank-style and the skill-equipped policy is evaluated on held-out instances. Chain is left out of this pipeline (EnvRigger cannot easily observe joined environments' internal states) and tested separately.
Baselines (§4.1, Appendix E.2): No Skills (the frozen policy), Original Envs (skills from the unmodified environments, isolating the effect of reshaping), and a generator where one exists: GenEnv on ALFWorld (an LLM simulates the environment at the edge of the agent's ability), VeriEnv on WebArena (cloned websites with programmatic rewards), SWE-smith on SWE-bench (synthesized repository tasks); none for the office benchmarks. All share seed instances, environment count, extraction pipeline and policy model; EnvRigger sees only training episodes, and each evaluation instance is attempted once.
Skills learned in EnvHarness environments beat skills from the original environments on every benchmark and every metric (Table 2, Table 3; all rows in the tables tab):
Static environments can hurt: original-environment skills score below no skills on SpreadsheetBench (45.88 against 46.44) and lengthen SWE-bench episodes (55.0 steps against 53.6). The paper's explanation: a static environment only lets the agent practise what it already does, while the write-and-validate loop commits only components that fresh rollouts confirm (§4.2).
Against the generators, wherever one applies: EnvHarness skills beat GenEnv by 5.7 points on the ALFWorld average and 8.5 out of distribution, VeriEnv by 2.0 on the WebArena average, and SWE-smith by 2.46 points of success with 5.11 fewer steps per episode. The interface, the EnvRigger loop and the extraction pipeline are the same on all five benchmarks; only domain-specific prompt templates change (§4.2).
Efficiency. On SWE-bench, EnvHarness skills cut the average episode from 53.6 steps (no skills) to 49.6, a 9.8% saving against the 55.0 of original-environment skills ((55.01 − 49.61) / 55.01; against no skills it is 7.4%). The paper ties this to the diagnoses: Contracts and Stages written to break repetitive loops and filter verbose observations (§4.2).
The standard error of a difference of two 3-run means is √(2.72²/3 + 2.59²/3) = 2.17 points, so +2.70 is 1.25 standard errors (Welch test p ≈ 0.28). The chart puts every gain in Tables 2 and 3 beside its own noise: the bar is the gain, the whisker ±2 standard errors. A gain whose whisker crosses zero is not distinguishable from run-to-run variation with three runs (the standard error of a difference in general: Eval statistics).
To test whether reshaped environments are a training signal in their own right, not just a source of skills, the authors train Qwen3-8B-base with GRPO (RL for LLMs) twice on ALFWorld and WebShop: once only in the original environments, once only in EnvHarness environments, both evaluated on the same held-out instances (§5). EnvHarness wins three of four metrics (Table 4):
| Trained in | ALFWorld In-Dist | ALFWorld OOD | ALFWorld Avg. | WebShop score | WebShop SR |
|---|
The paper calls the OOD drop (89.6 to 88.8) "a slight, negligible trade-off" and concludes the reshaped environments "provide a highly effective, independent optimization signal". In whole tasks the ALFWorld differences are small: in-distribution 123 against 114 of 140 (+9 tasks, Fisher exact p = 0.18), out of distribution 119 against 120 of 134, one task. Each arm is one training run (seed 0), so neither number carries training variance. The intro's "up to 6.5 points of improvement" is the in-distribution difference.
The training recipe (Appendix F.1) is in the tables tab.
Under an identical budget on SWE-bench Verified, the paper compares three sources of environments: EnvHarness, the unmodified benchmark environments (SWE-bench Lite, labelled "real envs" in Figure 1) and SWE-smith's generated ones. Each batch of 50 environments yields one skill bank (2 and 3 skills alternately, 15 skills at 300 environments). The two baselines draw batches independently of the learner; EnvHarness writes each batch against the policy already equipped with the earlier skills, so environment and policy co-evolve. EnvHarness climbs from 47.67 to 54.79 (+7.12) "and maintains an upward trajectory at 300 environments", while the same budget yields 52.13 on original environments and 50.37 on generated ones; the paper concludes that "targeting the learner's current capability boundary is fundamentally more effective than unconditioned environment scaling" (§5).
Figure 5 is a vector graphic, so its points can be read exactly. Every point lands on a whole number of the 407 test issues (to 0.0002 of a task). In tasks, EnvHarness goes 194, 200, 214, 217, 219, 220, 223 and the original environments 194, 197, 203, 202, 205, 207, 212. From 100 to 300 environments both gain 9 tasks; in the last step the originals gain 5 and EnvHarness 3. The 11-task gap between them was made entirely in the first 100 environments. Only SWE-smith flattens (204 to 205).
What each round taught (Appendix F.2). Every listed skill traces to an accepted component, and the components work by faking the environment's behaviour (timeouts, missing commands, out-of-memory kills); gains shrink round over round as the remaining flaws grow more local.
pytest to pytest -x (skill: fail fast); block inline python -c edits, conda run and custom scripts (skill: edit with patch -p1); fake a 60-second timeout on whole-suite runs (skill: target the exact test file).pytest.main); fake an out-of-memory kill on whole-file runs (skill: filter with -k); time out runs that name no file (skill: pass a nonexistent file to test option parsing).sed -i with a fake error (skill: navigate with grep -rn before editing). About a third of the training tasks are now solved on every baseline rollout; hardening candidates leave the rate unchanged or drive it to zero, exhaust the budget and add nothing. Gains shrink round over round as the remaining flaws grow more local.Chain (Table 5). Two randomly paired SWE-bench environments are joined into one episode, outside the EnvRigger loop, and the extracted skills are evaluated on ordinary single tasks. Chain-only skills cut average steps from 53.58 to 41.96 at a success rate of 49.63, marginally below the 49.88 of original-environment skills; the paper attributes this to the strict training condition (success needs both halves), which favours keeping a goal over maximising a short task. Combining Stage/Contract skills with Chain skills gives the best success rate, 54.30, at 43.12 steps.
Representative Chain skills (Appendix F.3): manage one shared step budget across joined tasks (be "good enough" on the first so the second has steps left), and re-orient after a handoff (check conda env list and which python, since a django repository needs runtests.py where matplotlib used pytest).
Other policies (Figure 6, Table 9). On SWE-bench Verified, with the same backbone as policy and designer each time, EnvHarness skills beat original-environment skills for Gemini 3.1 Flash-Lite, Qwen3.6 27B, Gemini 3.5 Flash and Claude Sonnet 4.6 by 2.7 to 3.7 points, while the no-skill success rates span 30.7 to 67.2. The loop "neither breaks down on the weakest model nor saturates on the strongest"; what changes with capability is the content of the diagnoses. Skills of either kind help the two weakest most (+9.3 and +11.1 for EnvHarness, +6.1 and +7.4 for original environments, under 5.5 for the two strongest).
Average steps tell three stories (Appendix F.4): skills nearly halve Qwen3.6 27B's flailing (69.8 to 37.1 steps), make Gemini 3.1 Flash-Lite persist instead of giving up early (36.7 to about 50) while solving more, and barely move Claude Sonnet 4.6 (29.3 to about 25). Gemini 3.5 Flash is the one model where EnvHarness skills improve success and steps against both baselines. The extra successes do not come from running longer: EnvHarness episodes are within a step of the original-skill ones on Flash-Lite and Sonnet, five shorter on Flash, and longer only on Qwen (3.7 steps for 3.7 points). Steps alone are no quality signal: a short episode can be an efficient solution or an early surrender.
Transfer (Table 10). In leave-one-out on ALFWorld (skills from every task type but one, evaluated on the held-out type), EnvHarness skills win on four of six types and by 3.1 points on average (63.7 against 60.6): +16.4 on clean, −8.7 on heat. The paper reads this as reshaping pushing the policy off memorised routines.
Cost (Table 11). EnvHarness spends 38 times GenEnv's design tokens on ALFWorld (1.46M against 38K), since it feeds whole trajectories to the designer, but rollouts dominate either budget. Against VeriEnv, which also runs the real environment, totals match (137.3M against 137.8M); GenEnv is 3.5 times cheaper (64.2M against 228.0M) because its rollouts are simulated, which the paper calls "the cost of grounding". There is no row for Original Envs or for SWE-bench.
The same machinery takes explicit targets instead of its own diagnoses (§5).
A quantitative target (Table 12). On 100 ALFWorld tasks, each measured with K = 10 rollouts, EnvRigger reshapes each task toward a band in whichever direction its baseline needs. For success rate in [0.4, 0.6], the share of tasks inside the band rises from 6.0% to 80.0% and the mean success rate moves from 0.74 to 0.48; the original tasks are strongly bimodal, mostly always or never solved. For average steps on successful episodes in [25, 35], a tighter target, it rises from 18.0% to 53.0%.
Inside the band means 4, 5 or 6 successes out of 10. At a true rate of 0.5 that happens (210 + 252 + 210) / 1,024 = 65.6% of the time, and no true rate does better. So no reshaping, however perfect, can show more than about 66% of tasks in band on a fresh 10-rollout measurement. The paper reports 80.0%, which is only possible if the measurement reuses the rollouts that decided acceptance: a task kept because its 10 rollouts landed in the band is then counted as in band. Part of the 80% is selection, by construction. The curves show the in-band chance for K = 5 (the paper's validation setting) and 10 (Table 12's). With K = 3 (WebArena's setting in the release) the measured rate is 0, 1/3, 2/3 or 1 and can never fall inside the band at all.
Probability that K rollouts of a task with true success rate p give a measured rate in [0.4, 0.6] (binomial). The Wrap a world yourself tab runs real rollouts of a toy environment through the same accept rule.
A weakness named in one sentence (Table 13). Handed a one-sentence weakness, the designer writes components that make it fatal inside an ordinary task, and one skill is distilled from the trajectories. It chose the axes itself: Stages to stage start states, action filters to block shortcuts, transition hooks to fake consequences. There are nine cases, three per benchmark (all in the tables tab), for example a target starting inside a closed drawer, retrieval blocked until a scroll, files silently corrupted when sed is used.
Specified weakness: "The policy submits a patch without running the failing test, so the fix stays unverified."
Distilled skill: Verification-Driven Development Loop. When: whenever a code change fixes a bug or implements a feature, especially where the test suite needs setup or configuration. What: before finalizing any change, run the relevant test suite to confirm the failure exists, then run it again after the patch to verify the fix, initializing the environment first when needed.
The paper says the skill combines a general principle with actionable steps rather than overfitting to one task (§5).
The paper's own evidence, judged. Every number below is recomputed from the printed tables, the decoded vector figures and the released configs (77 checks, listed in the tables tab).
Rules has no reward hook and evaluate() passes straight through, so a reshaped environment really is scored by the original verifier (Appendix C.3). The appendices print the actual components.sed errors, and one case in Table 13 silently corrupts files. Some resulting skills work around failures the real environment never produces ("call pytest.main when the CLI is broken"). Every reshaped environment keeps its verifier, as claimed; but the transitions the agent learns from are partly invented, which is a milder form of the reliability problem the paper sets out to avoid.Figure 1's bars start at 43, so SWE-bench's 47.7, 49.9 and 52.6 stand 4.7, 6.9 and 9.6 above the axis. The paper counts seven Bridges including WebShop; the repository has six, with WebShop only inside an optional verl-agent patch. Chain is evaluated once, outside the loop, without error bars.
reproduce.py) and an rl/ folder that patches verl-agent at a pinned commit for GRPO on ALFWorld. Configs default to gpt-4.1-mini; the paper's tables used Gemini, selected with one MODEL variable that also picks the embedding model for skill retrieval.Planned (Appendix I): new components (stochasticity, partial observability, auxiliary feedback channels, several agents), visual and GUI environments whose states are not text, and semantic composition for Chain, which needs a compatibility measure and a verifier for the combined objective.
Environment supply is emerging as the bottleneck for training agents, the way data curation was for pretraining, and this paper reframes how to meet it: environment construction becomes a wrapping problem rather than an authoring problem. Wrapping keeps the one thing generation pipelines cannot reliably produce, a trusted verifier, and working at the interface makes one implementation domain-agnostic. The authoring route is alive too: Terminal-Universe built 37,300 runnable terminal environments from recorded agent runs, and nothing stops a wrapper from reshaping those.
The task-policy-conditioned angle matters most for RL practitioners. EnvRigger is automated curriculum design driven by black-box behavioural diagnosis, the idea of unsupervised environment design (PAIRED, Prioritized Level Replay) carried over to LLM agents with an LLM writing the curriculum as code. The paper's scaling result suggests that co-evolving policy and environment is the axis to scale rather than raw environment count; this page's reading of Figure 5 says the evidence for that is the first 100 environments, not the slope after them.
The agent-harness analogy is also a memorable design lens: freeze the expensive artifact, customize through plug-ins at the interface. HarnessDev measures the agent side of that lens and finds that models evolving their own harness make unstable, executor-specific gains; the same caution applies to a designer evolving environments.
This tab runs the paper's three components in your browser. The wrapper classes are a line-for-line port of the released EnvHarness, Setup (Stage), Rules (Contract) and Link (Chain) (repository): every layer delegates what it does not override, a Stage replays its actions through the inner step() and then rewinds the step counter, a blocked action leaves the world untouched and returns the current observation with the reason, and a Chain runs the first task until it ends, then the second, under one 50-step budget, succeeding only if both original verifiers pass. The household, its policy and its numbers are a toy built from the paper's running example ("put a clean mug on the desk", §2.2), not ALFWorld: seven places on a corridor, a mug on the countertop, a potato on the shelf.
The policy is a scripted black box that reads only the observation text. It has habits like the ones the paper's designer diagnoses: it explores places in the order it first saw them named, opens a closed drawer only 40% of the time on its first sweep and the microwave only 15% (it does not expect a mug there), gives up after one fruitless sweep 60% of the time, and tries once to clean the mug before picking it up. A Stage ends by walking back to the countertop, so the policy does not simply start beside the hidden mug. Change its slip rate to make it do something aimless now and then.
Try: play the default: the Stage has hidden the mug in drawer 1 and the Contract has removed teleport navigation, so the wrapped policy walks and searches for 24 steps while the static one wins in 7. Then swap the order of the two layers and watch the Stage silently fail: its own replayed "go to" actions are blocked by the Contract underneath it, so the mug never moves. Then try other seeds: on some the policy gives up.
The episode plays by itself once in view, in the stretches below (one step of the policy is too fast to follow, so it is replayed between events: a layer acting, a find, a pick-up, a clean, a hand-off, an ending). Each item is written from the two traces, so it changes with the controls; click one to replay it.
Each box is a place on the corridor; the outlined one is where the agent stands. The stack under the wrapped world is drawn outermost first; a layer lights up when it changed something on this step (blocked or rewrote an action, rewrote a response or an observation, replayed a Stage, handed off a Chain). Repeated identical steps (the policy idling after it gives up) are shown once with a count. Under the drawing, what each policy saw at the current step.
EnvRigger judges a candidate from a handful of fresh rollouts: 5 in the paper (Table 8), 3 on WebArena in the release (with 3, a measured rate is never inside [0.4, 0.6]). The released SWE-bench designer prompt accepts a candidate whose measured success rate lands in [0.4, 0.6], refines one that is too easy or too hard, and must loosen one that looks unsolvable. Run K rollouts of the current configuration with fresh seeds, several times, and watch the verdict change on noise alone. The 400-rollout estimate is this toy's true success rate to within about ±5 points.
The scripted designer is a stand-in for the LLM: it starts from the static world (Observe), reads the success rate (Diagnose: a perfect score means "make it harder"), and walks a fixed ladder of the paper's own example components (Write: hide the mug in a drawer; if that is still too easy, hide it in the microwave instead; if a candidate is too hard, step back), validating each candidate with K fresh rollouts under the release prompt's band rule and stepping back if a candidate looks unsolvable, for at most 5 rounds. Its success rates are measured live; its choices are scripted.
Every table that carries the argument, transcribed with the printed precision by mk_tables.py (250 printed cells checked against the arXiv HTML), and the three charts decoded from their vector SVGs by decode_figs.py. Derived columns are computed in the page from those numbers; every check is listed at the end.
Bar heights decoded from Figure 1's vector paths; they equal Table 3 to two decimals. The printed panels start their axis at 43.0 (decoded), which makes a 2.7-point gain look like a doubling of the bar above the axis.
Decoded from Figure 5 (gridline fit residual 0). The right panel of Figure 1 plots the same series rounded to two decimals, except the original environments at 300: 52.13 in Figure 1 and the text, 52.09 (212 of 407) in Figure 5.
Table 4: one GRPO run per arm; whole tasks of ALFWorld's 140 seen and 134 unseen games in brackets. Table 5: SWE-bench Verified, success rate and average steps; whole tasks of 407 in brackets.
The RL recipe (Appendix F.1): Qwen3-8B-base trained with GRPO on one node of 8 H100s; vLLM rollouts (tensor parallel 1, GPU memory utilisation 0.5, eager mode); FSDP with parameter and optimizer offloading and gradient checkpointing; global batch 16, PPO mini-batch 256, PPO and log-probability micro-batches of 4 per GPU; prompts up to 4,096 tokens, responses up to 512; history length 50 and at most 50 steps per episode; seed 0; an invalid-action penalty with coefficient 0.1; rollout temperature 0.4; 150 epochs, which is 150 steps. The released rl/scripts/run_grpo.sh adds what the paper omits, a GRPO group of 8 rollouts per prompt, and uses micro-batches of 8 rather than 4.
Table 10: ALFWorld leave-one-out, original against EnvHarness skills. Table 11: estimated tokens; the design share is design over total. Table 12: share of 100 ALFWorld tasks inside the band, measured with 10 rollouts; a fresh 10-rollout measurement cannot exceed 65.6% for the success-rate band.
Table 8 says the same EnvRigger settings are used on every benchmark: 5 baseline rollouts, 5 fresh rollouts per candidate, 5 write-and-validate rounds, designer backbone same as policy. The columns are read from experiments/<benchmark>/corpus.yaml in the repository (fetched 3 October 2026): k_per_candidate, max_k (the cap on rounds), target_band, and the acceptance rule in the designer prompt. The release may postdate the runs.
Every link opens in a new tab. Reading time of the resources below: 6h 10m.
Preprint, the paper itself; the HTML version has the anchors this page links to. abstract page, PDF.
(45 min)
Released with the paper (repository created 7 August 2026, last push 21 August 2026): the ActionableEnv interface, the three components (named Setup, Rules and Link in the code), six Bridges (Toy24, ALFWorld, SWE-bench, OfficeQA, SpreadsheetBench, WebArena; the paper counts seven with WebShop, which appears only as an adaptation inside the optional verl-agent patch), the designer agent, per-benchmark corpus configs with their designer prompts, reproduce scripts, and the GRPO integration with verl-agent for ALFWorld. The configs default to gpt-4.1-mini; the paper's tables used Gemini. The README and the entry path take about 20 minutes.
(20 min)
the authors, envharness.com, August 2026: the paper's idea in short sections, plus an in-browser Python playground on the 24 game where you edit a Stage, Contract or Chain and apply it to a live Toy24Env: the release's own reference environment, complementary to the household toy on this page.
(15 min)
GitHub, Apache-2.0: the practical entry point: provider setup, the per-benchmark reproduce scripts, how to add a Bridge or a new harness layer, and the results tables. The corpus.yaml files hold each benchmark's designer prompt and acceptance rule.
(20 min)
Ouyang et al., arXiv 2509.25140, 2025 (same group): the skill extraction and retrieval pipeline every skill-learning result here runs through; EnvHarness changes only where the trajectories come from.
(40 min)
Guo et al., arXiv 2512.19682, 2025: the ALFWorld baseline: an LLM simulates the environment at the edge of the agent's ability. EnvHarness's main argument against it is that simulated transitions and verdicts can drift.
(35 min)
Chae, Park and Ritter, arXiv 2603.10505, 2026: the WebArena baseline: clones websites into executable synthetic environments with programmatic rewards.
(30 min)
Yang et al., arXiv 2504.21798 (NeurIPS 2025): the SWE-bench baseline: synthesizes new repository task instances by breaking working code. Figure 5 compares it with EnvHarness at equal environment counts.
(40 min)
Dennis et al., arXiv 2012.02096, NeurIPS 2020: the classic statement of the problem EnvHarness inherits: environments should be designed against the current policy, at the edge of what it can do.
(35 min)
Jiang, Grefenstette and Rocktäschel, arXiv 2010.03934, ICML 2021: the curriculum view: replay the levels with the most learning signal. EnvRigger's band of target success rates is a hand-written version of the same idea.
(30 min)
Lu et al., arXiv 2510.10197, 2025: the closest earlier work on reshaping what the environment says back to the learner (corrective feedback, reward shaping), which the paper cites as hand-designed.
(30 min)
Anthropic engineering blog, 2025: the agent-harness side of the paper's central analogy, one of the three harness write-ups it cites.
(15 min)
GitHub, langfengQ: the RL framework the release patches, at a pinned commit, to run GRPO inside EnvHarness environments: ALFWorld by default, with WebShop only in the optional full patch.
(15 min)
the authoring route EnvHarness argues against: build 37,300 new terminal environments from recorded agent runs. EnvHarness instead wraps the environments that already exist and keeps their verifiers; the two could combine (wrap the generated worlds).
the agent-harness side of the analogy, measured: models building and evolving the wrapper around a frozen model. Its warning that evolution gains are unstable and executor-specific applies to EnvRigger's write-and-validate loop as well.
another way to close the loop between a harness and training data: the serving router orders a curriculum. EnvHarness closes it on the environment side, with diagnosed weaknesses choosing the next environment.
where GRPO comes from, the algorithm of the RL experiment (Table 4).
the RL with verifiable rewards lineage; EnvHarness keeps rewards verifiable by never touching the original verifier.
the skill abstraction EnvHarness feeds through ReasoningBank-style extraction; its finding that skills act as procedural anchors fits the skills shown in Appendix F, which are procedures forced by the components.
the think-then-act interaction loop the policies here run (the ALFWorld policy is prompted to reason in think tags, then act); ReAct also introduced ALFWorld as an LLM-agent benchmark.
RL for LLM agents and curricula: GRPO in reshaped environments, and policy-conditioned environment design (PAIRED, Prioritized Level Replay, POET).
agent post-training and RL with verifiable rewards, where environment supply is becoming the bottleneck.
the agent harness the paper's analogy starts from: tools, memory and skills around a frozen model.
ALFWorld, WebArena, SWE-bench Verified, OfficeQA, SpreadsheetBench and WebShop, the benchmarks wrapped here.
This page is one row of the Papers database; its properties (Paper, Takeaway, Topics, Year) live there.