Terminal-Universe: Turning Agent Trajectories into Scalable Terminal Environments
- URL: http://arxiv.org/abs/2609.04148v1
- Date: Thu, 03 Sep 2026 17:41:05 GMT
- Title: Terminal-Universe: Turning Agent Trajectories into Scalable Terminal Environments
- Abstract summary: We introduce Terminal-Universe, a framework which turns each trajectory into a reusable environment.<n>Terminal-Universe replays the file operations recorded in a trajectory to restore each file before the agent modified it, yielding a partial workspace.<n>We also scale the tasks along two axes: breadth and depth.
- Score: 89.86581796261123
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: As terminal-based code agents become prevalent, agent trajectories have accumulated at scale, while realistic, executable environments remain scarce. However, environments are what agent post-training actually requires: each can be re-queried into many verifiable tasks and provides execution feedback, whereas a trajectory is a single frozen demonstration. Rather than generating environments from scratch, we observe that the tool-execution history in existing trajectories exposes the structure and contents of the environments in which they ran, making it possible to reconstruct those environments from the trajectories themselves. Thus, we introduce Terminal-Universe, a framework which turns each trajectory into a reusable environment and explores it for synthesizing new tasks and continued interactions. Specifically, Terminal-Universe replays the file operations recorded in a trajectory to restore each file before the agent modified it, yielding a partial workspace; a completion agent then supplies the missing files and dependencies. On this recovered workspace, we both reconstruct the original intent task and synthesize entirely new ones. Besides, we also scale the tasks along two complementary axes: breadth and depth. For breadth, we mine directional dependency relations between related environments and synthesize cross-workspace queries spanning multiple codebases, as developers routinely do in real-world development. For depth, we extend the initial single-turn query into a multi-round session that captures iterative user feedback and requirement refinement via a user agent. Applied to public terminal agent trajectories, Terminal-Universe produces 37.3k task-sufficient environments. Supervised fine-tuning of Qwen3.5-27B on this corpus improves single-round performance on Terminal-Bench 2.1 by 11.9 points and multi-round performance on EvoCode-Bench v2 MT@4 by 13.8 points.
Related papers
- SPADE: Self-Play in Adaptive Synthetic Executable Environments [110.80471334001574]
We introduce SPADE, a self-play RL framework in which a single LLM plays two roles.<n>The Environment Designer writes complete, long-horizon training environments as executable code with an OpenAI Gym-style reset()/step() interface.<n>We find several components critical to success: grounding the Environment Designer on documents sampled from a large pretraining corpus, and giving it an accumulated environment memory.
arXiv Detail & Related papers (2026-08-19T17:58:56Z) - Meta-Task: Turning Terminal Task Synthesis into a Terminal Task for Scalable Agent Training [13.580418686043815]
Training terminal agents at scale requires diverse, verifiable terminal tasks and high-quality interaction trajectories.<n>Existing methods face two key limitations: weak reliability caused by the disconnect between task generation and real execution.<n>We propose Meta-Task, a framework that redefines terminal task synthesis as a Terminal-Bench-format task itself.
arXiv Detail & Related papers (2026-07-30T09:41:08Z) - LiteCoder-Terminal: Scaling Long-Horizon Terminal Environments for Learning Language Agents [74.07551833809536]
We introduce LiteCoder-Terminal-Gen, a zero-dependency pipeline that generates terminal training environments directly from domain specifications.<n>Using this framework, we construct two large-scale resources: LiteCoder-Terminal-SFT, comprising 11,255 expert trajectories across 10 domains, and LiteCoder-Terminal-RL, featuring 602 verifiable environments for trajectory-level preference optimization.
arXiv Detail & Related papers (2026-05-28T08:11:57Z) - Terminal-World: Scaling Terminal-Agent Environments via Agent Skills [52.39713754337834]
We introduce Terminal-World, a fully automated pipeline that uses agent skills as the central synthesis primitive.<n>We construct 5,723 training environments and train Terminal-World-8B/14B/32B, evaluated across 6 benchmarks.<n>Terminal-World-32B surpasses Nemotron-Terminal-32B on Terminal-Bench 2.0 by +4.5 Pass@1 (31.5) and achieves 43.8 Pass@3.
arXiv Detail & Related papers (2026-05-20T08:14:51Z) - CLI-Gym: Scalable CLI Task Generation via Agentic Environment Inversion [26.52253286270211]
Agentic coding requires agents to interact with runtime environments, e.g., command line interfaces (CLI)<n>We propose to employ agents to simulate and explore environment histories, guided by execution feedback.<n>With our method, named CLI-Gym, a total of 1,655 environment-intensive tasks are derived, being the largest collection of its kind.
arXiv Detail & Related papers (2026-02-11T16:22:18Z) - TermiGen: High-Fidelity Environment and Robust Trajectory Synthesis for Terminal Agents [70.68963723787424]
TermiGen is an end-to-end pipeline for synthesizing verifiable environments and resilient expert trajectories.<n>Our TermiGen-Qwen2.5-Coder-32B achieves a 31.3% pass rate on TerminalBench.
arXiv Detail & Related papers (2026-02-06T23:56:50Z) - ANCHOR: Branch-Point Data Generation for GUI Agents [52.22377425487]
End-to-end GUI agents for real desktop environments require large amounts of high-quality interaction data.<n>We present a trajectory expansion framework Anchor that bootstraps scalable desktop supervision from a small set of verified seed demonstrations.<n>Experiments on standard desktop benchmarks, OSWorld and WindowsAgentArena, show that models fine-tuned on our expanded corpus achieve consistent improvements.
arXiv Detail & Related papers (2026-02-06T19:55:26Z) - Large-Scale Terminal Agentic Trajectory Generation from Dockerized Environments [36.81059045059001]
Training agentic models for terminal-based tasks depend on high-quality terminal trajectories that capture realistic long-horizon interactions.<n>We propose textbfTerminalTraj, a scalable pipeline that generates Docker-aligned task instances and synthesizes agent trajectories with executable validation code.<n>Using TerminalTraj, we curate 32K Docker images and generate 50,733 verified terminal trajectories across eight domains.
arXiv Detail & Related papers (2026-02-01T14:09:23Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.