🚀NEW LABGetting Started with Claude AgentsStart lab
← All papers  /  Oct 14, 2026
Agents

AutoEnvScaling: Automating the Data Flywheel with Terminal Agents

First page
AutoEnvScaling: Automating the Data Flywheel with Terminal Agents
The curator’s take

Simon Yu, Baolin Peng, Jianfeng Gao and colleagues (Microsoft, Northeastern, Stanford, UW, UNC) present AutoEnvScaling, in which a proposer agent builds new RL environments for terminal agents from the rollouts of the solver being trained.

Ask this paper

Key points
01

Environment design as a terminal task. The proposer works in a terminal to build and verify environments, which raises the valid-environment rate by up to 25x over prompt-only generation at up to 75% lower cost per valid environment.

02

Solver feedback. The solver's new rollouts guide the next round of environment design. Removing that feedback shrinks the gain.

03

Training with stronger proposers. Environments from GPT-5.6-sol and Claude Opus 5 lift Qwen3.5-35B-A3B to 38.9 and 39.3 on Terminal-Bench 2.1, 4.3 and 3.8 points above matched static Tmax pools.

04

Self-play. With Qwen3.6-35B-A3B as both proposer and solver, Terminal-Bench 2.1 rises from 41.1 to 53.3 and Terminal-Bench 4.0 from 1.6 to 3.2.

05

Beyond terminals. The pipeline also generates environments for software engineering, computer use, professional work and GPU kernel programming.

Abstract

Terminal agents solve tasks in software engineering and scientific research by executing commands in a terminal. Training them via reinforcement learning (RL) requires diverse and verifiable environments, but these environments are still mostly designed by human researchers, so their supply grows only as fast as researchers can work. We introduce AutoEnvScaling, which treats environment design as a terminal task and uses agents to automate the data flywheel. A proposer agent builds new RL environments from the rollouts of the solver being trained, and the solver's new rollouts guide the next round. By turning environment generation into a terminal task, AutoEnvScaling increases the valid-environment rate by up to 25 times compared to prompt-only generation, at up to 75% lower cost per valid environment. We show that training Qwen3.5-35B-A3B on AutoEnvScaling environments from GPT-5.6-sol improves its Terminal-Bench 2.1 score by 4.3 points over the matched Tmax baseline. The broader goal of AutoEnvScaling is to enable recursive self-improvement (RSI): by making both environment generation and solving terminal tasks, it lets one model co-evolve in both roles. We show that Qwen3.6-35B-A3B, acting in both roles, gains 12.2 points on Terminal-Bench 2.1 and raises its Terminal-Bench 4.0 score from 1.6 to 3.2. The pipeline also generalizes across agentic domains, generating environments for software engineering, computer use, professional work, and GPU kernel programming. Overall, these results show a path toward agents building their own training environments, reducing human reliance and taking a core step toward RSI.

Every Monday
Get next week’s papers.
Subscribe on Substack