ECHO: Terminal Agents Learn World Models for Free
Summary
ECHO introduces a hybrid objective that combines policy-gradient loss with environment observation prediction to provide dense supervision from terminal feedback, doubling performance on TerminalBench-2.0 for Qwen3 models.
View Cached Full Text
Cached at: 05/26/26, 06:45 PM
Paper page - ECHO: Terminal Agents Learn World Models for Free
Source: https://huggingface.co/papers/2605.24517
Abstract
Environment cross-entropy hybrid objective combines policy-gradient loss with auxiliary environment observation prediction to provide dense supervision from terminal feedback, improving agent performance and self-improvement capabilities.
CLI agentsare the closest thinglanguage modelshave to an embodied setting: the model emits commands, the terminal executes them, and the returned stream -- stdout, errors, files, logs, and traces -- records the consequences. We argue that this stream is a supervision signal, but standard agent RL discards it:GRPO-style training updatesaction tokenswith sparse outcome-level rewards while ignoringenvironment responsesalready in the rollout. Failed rollouts provide little policy-gradient signal despite containing rich evidence about how the environment responds. We introduceECHO(Environment Cross-entropy Hybrid Objective), a hybrid objective that combines the standardpolicy-gradient lossonaction tokenswith an auxiliary loss that trains the policy to predictenvironment observation tokensresulting from its own actions.ECHOreuses the same forward pass asGRPO, requires no additional rollouts, and turnsterminal feedbackintodense supervisionfor all rollouts.ECHOdoublesGRPOpass@1 on TerminalBench-2.0: Qwen3-8B improves from 2.70% to 5.17%, and Qwen3-14B from 5.17% to 10.79%.ECHOalso produces policies that better predict terminal dynamics, even on trajectories they did not generate: across held-out rollouts, it sharply reduces environment-token cross-entropy whileGRPOalone barely changes it. From base Qwen3-8B,ECHOmatches expert-SFT-then-GRPOperformance on held-out terminal tasks without expert demonstrations, and recovers roughly half of the expert-SFT initialization benefit on TerminalBench-2.0. In some settings, theenvironment prediction lossalone enables verifier-freeself-improvement, allowing policies to improve on unseen OOD tasks by learning only from environment interactions. Together, these results suggest that environment observations are not merely context for future actions, but a dense,on-policy supervisionsignal already present in every rollout.
View arXiv pageView PDFAdd to collection
Get this paper in your agent:
hf papers read 2605\.24517
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2605.24517 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2605.24517 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2605.24517 in a Space README.md to link it from this page.
Collections including this paper1
Similar Articles
Echoverse: Deep, Evolving Environments for Training Computer-Use Agents at Scale
Echoverse presents a method for generating deep, evolving synthetic environments to train computer-use agents, demonstrating substantial accuracy gains and releasing a benchmark with grounded graders.
Terminal-World: Scaling Terminal-Agent Environments via Agent Skills
Terminal-World introduces a fully automated pipeline that uses agent skills to synthesize high-quality training data for terminal agents, enabling models to outperform baselines with only 1.2% of the training data. The method co-derives task instructions, environments, and teacher trajectories from skill primitives.
@MSFTResearch: Computer-use AI agents struggle with multi-step workflows like email and customer support. Echoverse trains agents in r…
Microsoft Research introduces Echoverse, a set of deep, evolving environments for training computer-use agents. A 9B model trained on these environments nearly doubles its baseline score, coming within 14 points of GPT-5.4, demonstrating that high-fidelity simulation and co-evolution of model, world, and verifier significantly improve agent performance on multi-step workflows.
@hamishivi: Trained some terminal agents with friends! Introducing Tmax, open RL terminal agent models. Under default settings and …
Introducing Tmax, open reinforcement learning terminal agent models that outperform prior open work on terminal use. All data, weights, and rollouts are being released publicly.
LiteCoder-Terminal: Scaling Long-Horizon Terminal Environments for Learning Language Agents
LiteCoder-Terminal-Gen introduces a zero-dependency synthetic pipeline that generates executable terminal training environments, producing SFT and RL datasets that enable language agents to achieve significant performance gains on Terminal Bench benchmarks.