Crimson AI NewsA CrimsonLingua Network service
EN ع
← Back to news
Research paper Hugging Face

Terminal-Universe: Turning Agent Trajectories into Scalable Training Environments

AI By Crimson AI Hugging Face Papers 4 September 2026 · 00:00 24 views
Share: X Telegram

Hugging Face researchers introduce Terminal-Universe, a framework that reconstructs executable workspaces from agent trajectories, enabling the synthesis of diverse training tasks and improving post-training performance via supervised fine-tuning.

Terminal-Universe: Turning Agent Trajectories into Scalable Training Environments

Key points

As terminal-based code agents become more prevalent, the accumulation of agent trajectories has grown rapidly, yet realistic, executable environments remain scarce. However, environments are what agent post-training truly 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, the researchers observed 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. This insight led to the development of Terminal-Universe, a framework that 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, the system reconstructs the original intent task and synthesizes entirely new ones.

The framework also scales tasks along two complementary axes: breadth and depth. For breadth, it mines directional dependency relations between related environments and synthesizes cross-workspace queries spanning multiple codebases, as developers routinely do in real-world development. For depth, it extends 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.

BenchmarkImprovement (points)
Terminal-Bench 2.1 (single-round)+11.9
EvoCode-Bench v2 MT@4 (multi-round)+13.8
Source
Hugging Face · Hugging Face Papers
Related news
Research paper
Hugging Face 15 Oct 2026

New Survey Maps How Multimodal AI Agents Remember and Evolve

A Hugging Face survey proposes a two-axis framework for multimodal agent memory, separating how information is formed and represen...

8
Research paper
Hugging Face 15 Oct 2026

CriticOPD Fixes On-Policy Distillation by Letting Teachers Critique Student Errors

Hugging Face researchers introduce CriticOPD, a method that restores the teacher's ability to recover from student mistakes during...

8
Research paper
Hugging Face 15 Oct 2026

ActionOPD: Distilling Agent Decisions, Not Tokens

A new Hugging Face paper proposes ActionOPD, an action-level on-policy distillation method that aligns a student agent's decisions...

9