AutoEnvScaling: Automating the Data Flywheel with Terminal Agents
Summary
Terminal-agent RL is bottlenecked on human-designed environments: the supply of useful training envs grows only as fast as researchers can work. AutoEnvScaling turns environment design into a terminal task — a proposer agent reads the solver's rollouts, decides what to build, then writes and tests complete Harbor tasks (instructions + execution environment + reference solution + tests) inside a sandbox with web access, a coding harness, and child containers. Two admission gates: validation (reference solution scores 1, empty solution <0.5, no 13-gram overlap with held-out tasks, Terminal-Bench rubric review) and calibration (current solver keeps the task only if mean reward ∈ [0.25, 0.75] with variance; up to 2 revisions). The proposer co-evolves via harness optimization (editing its own harness/skills/memory between rounds) or weight training. Across eight frontier proposer models, terminal-based generation raises the valid-environment rate up to 25× over prompt-only generation (DeepSeek-V4-Flash 3.5% → 89.0%) at up to 75% lower cost per valid environment for six of eight models (cost rises for the two strongest proposers since AutoEnvScaling spends more turns). RL on generated environments beats matched static Tmax pools on Terminal-Bench 2.1 (+6.3/+7.4 for Qwen3.5-9B, +4.3/+3.8 for Qwen3.5-35B-A3B), and removing solver feedback costs −3.6/−6.7 points. Recursive self-improvement: Qwen3.6-35B-A3B as both proposer and solver (self-play, one shared policy) improves Terminal-Bench 2.1 from 41.1 to 53.3 (+12.2) and Terminal-Bench 4.0 from 1.6 to 3.2, with 3.1× higher usable-group rate and 42% less rollout-collection time; removing proposer training collapses the loop. On HiL-Bench, tasks generated by Claude Opus 5 let Qwen3.6-35B-A3B reach 33.9% task success / 55.3% Ask-F1 at asking for help — beating Opus 5 itself (7.5%/14.4%). Code (Apache-2.0, private preview), launchers for every experiment, figure data, and generated environments are public; sandboxes run on Modal.
- Venue
- arXiv:2610.14163 (cs.SE); repo https://github.com/MSR-Orchard/AutoEnvScaling; project page https://auto-env-scaling.github.io/
- Source
- arxiv
- Access
- free
- Language
- en
- Added
- Oct 14, 2026
- Verified
- Oct 14, 2026
- Found via
- #simon_ycl
Research notes
- Discovery: @simon_ycl 7-post X thread, 2026-10-14 ~9:03 AM ET (~4K views on lead post); thread figures verified against the paper's tables (25×/75% = DeepSeek-V4-Flash row of Table 2; 41.1→53.3 = Figure 6). Relevance: (1) RL/agentic-RL post-training — environment generation is the data bottleneck for RL; this is the solver-guided, terminal-task recipe with explicit validation + calibration gates. (2) Gottlieb's "How to make a good RL task" (queued #25) — AutoEnvScaling is the automated realization of that essay's task-factory idea: solver failures → proposer assignments → revision loops → validation gates; cite this connection explicitly. (3) RSI thread — pairs with queued #1 (LobeHub RSI, harness-level recursion) and #19 (nanoswe's speedrun as autoresearch testbed); this is the training-data version of recursion. (4) Launch Helm — proposer episodes, validation/calibration gates, and rollout-collection metrics are observable telemetry; the harness co-evolution loop is exactly the kind of run-level state a control plane should capture. (5) Catalog map: related work SPADE (authors' own), Tmax (baseline), Open Env Arena (ID 1614 — env arena vs this terminal-task data flywheel); built on slime, Miles, and Harbor frameworks. Caveats: paper license CC BY-NC-ND 4.0; all results authors' own, no independent reproduction; HiL-Bench result used 75 Opus-5 trajectories for cold start, so not pure self-play; the "beats Opus-5" framing applies to the ask-for-help setting (Opus 5 still leads on complete-information tasks 52.5% vs the trained model's evaluated ask_human regime). Cluster: RL environment generation, RSI/self-play, agentic-RL post-training, verifier/task design.
- License: CC BY-NC-ND 4.0 (paper — non-permissive); code Apache-2.0 (private-preview release)
Similar entries
- Tool K2 Horizon data release — DATA_NAVIGATOR index and the post-training data-generation pipelines
- Code Agent Memory Repo (Cognition) — open spec for persistent agent memory
- Dataset SmolDataEnvs (FineEnvs): 5K+ verifiable data-science RL tasks
- Paper Scaling Verifiable Environments for Long-horizon Work Agents
- Paper Invent a Dataset: Measuring Dataset Generation Abilities With Zero Seed Data
- Model OpenThinker-Agent-v1 (open-thoughts)