ECHO: Terminal Agents Learn World Models for Free
On the map: World models → World models for language agents
also in 2 more
Abstract (arXiv)
CLI agents are the closest thing language models have 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 updates action tokens with sparse outcome-level rewards while ignoring environment responses already in the rollout. Failed rollouts provide little policy-gradient signal despite containing rich evidence about how the environment responds. We introduce ECHO (Environment Cross-entropy Hybrid Objective), a hybrid objective that combines the standard policy-gradient loss on action tokens with an auxiliary loss that trains the policy to predict environment observation tokens resulting from its own actions. ECHO reuses the same forward pass as GRPO, requires no additional rollouts, and turns terminal feedback into dense supervision for all rollouts. ECHO doubles GRPO pass@1 on TerminalBench-2.0: Qwen3-8B improves from 2.70% to 5.17%, and Qwen3-14B from 5.17% to 10.79%. ECHO also 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 while GRPO alone barely changes it. From base Qwen3-8B, ECHO matches expert-SFT-then-GRPO performance 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, the environment prediction loss alone enables verifier-free self-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 supervision signal already present in every rollout.
Key facts. Cited by 19 papers in the map (data through 14 Oct 2026). Placed in World models for language agents, one of 11 directions in World models. Builds on 18 of its 32 references that are in the map. First posted on arXiv 23 May 2026.
Builds on
18 of 32 references.
References · 18
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2025Qwen3 Technical Reportcited by 8,820
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
- 2019Mastering Atari, Go, Chess and Shogi by Planning with a Learned Modelcited by 1,353
- 2017Curiosity-driven Exploration by Self-supervised Predictioncited by 1,194
- 2020Mastering Atari with Discrete World Modelscited by 1,007
- 2018Recurrent World Models Facilitate Policy Evolutioncited by 785
- 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 585
- 2016Reinforcement Learning with Unsupervised Auxiliary Taskscited by 404
- 2020Data-Efficient Reinforcement Learning with Self-Predictive Representationscited by 318
- 2025SimpleTIR: End-to-End Reinforcement Learning for Multi-Turn Tool-Integrated Reasoningcited by 146
6 more
- 2026OpenClaw-RL: Train Any Agent Simply by Talkingcited by 90
- 2026Endless Terminals: Scaling RL Environments for Terminal Agentscited by 54
- 2026Expanding the Capabilities of Reinforcement Learning via Text Feedbackcited by 53
- 2025SkyRL-Agent: Efficient RL Training for Multi-turn LLM Agentcited by 48
- 2025World Modeling Makes a Better Planner: Dual Preference Optimization for Embodied Task Planningcited by 26
- 2024An Empirical Study on the Power of Future Prediction in Partially Observable Environmentscited by 4
Built on by
Citing papers per year: 2026: 19.
19 papers.
Sort:
By area:
- 2026Qwen-AgentWorld: Language World Models for General Agentscited by 28
- 2026The Dark Room in the Reward Channel: Dense Prediction Rewards Collapse GRPO-Trained LLM Agents -- and The Channel, Not the Content, Decides What Workscited by 5
- 2026Closing the Reflection Gap: A Free Calibration Bonus for Agentic RLcited by 3
- 2026Antares: Foundation Models for Agentic Vulnerability Localizationcited by 2
- 2026AHEAD: Adaptive Hindsight with Environment-Augmented Distillation for Agentic RLcited by 2
- 2026Terminal Agents: A Survey of AI Agents in Command-Line Environmentscited by 1
- 2026RLTL;DR: Self-improvement by Internalizing Self-generated Feedbackcited by 1
- 2026AgentOmnia: Scaling Agentic Models for Full-Scenario Applicationscited by 0
- 2026How do World Models and Policies Compose in LLM Agents? A Joint Spectral and Behavioral Accountcited by 0
- 2026Don't Mask the Environment: Observation Supervision Changes How Agents Explore Under RLcited by 0
- 2026Agent-Editing World Model: Rethinking World Modeling for LLM Agentscited by 0
- 2026Does Learning to Predict the World Help Agents Act? Auditing World-Model Post-Trainingcited by 0
7 more
- 2026Selecting Long-Horizon Trajectories for Reliable and Efficient Terminal-Agent Trainingcited by 0
- 2026Environmental Feedback Modeling Matters: Rethinking Feedback Treatment in Agentic Hindsight Self-Distillationcited by 0
- 2026ObsSpec: Accelerating Agentic Reinforcement Learning with Observation Speculationcited by 0
- 2026ANTE: Anticipate, Then Execute -- Learning Internal World Models for Coding Agents from Verified Beliefscited by 0
- 2026ReTerm: Recovery Training for Self-Improving Terminal Agentscited by 0
- 2026Model What Matters: Decision-Guided Selective World Modeling for Language Agentscited by 0
- 2026Co-Evolving Acting and Forecasting for Language Agentscited by 0
- 2026Co-Evolving Acting and Forecasting for Language Agents14 Oct 2026
- 2026Model What Matters: Decision-Guided Selective World Modeling for Language Agents14 Oct 2026
- 2026ReTerm: Recovery Training for Self-Improving Terminal Agents13 Oct 2026
- 2026ANTE: Anticipate, Then Execute -- Learning Internal World Models for Coding Agents from Verified Beliefs11 Oct 2026
- 2026ObsSpec: Accelerating Agentic Reinforcement Learning with Observation Speculation11 Oct 2026
- 2026Environmental Feedback Modeling Matters: Rethinking Feedback Treatment in Agentic Hindsight Self-Distillation8 Oct 2026
- 2026Selecting Long-Horizon Trajectories for Reliable and Efficient Terminal-Agent Training5 Oct 2026
- 2026RLTL;DR: Self-improvement by Internalizing Self-generated Feedback29 Sep 2026
- 2026Does Learning to Predict the World Help Agents Act? Auditing World-Model Post-Training27 Sep 2026
- 2026Agent-Editing World Model: Rethinking World Modeling for LLM Agents23 Sep 2026
- 2026Don't Mask the Environment: Observation Supervision Changes How Agents Explore Under RL17 Sep 2026
- 2026How do World Models and Policies Compose in LLM Agents? A Joint Spectral and Behavioral Account30 Aug 2026
7 more
- 2026AHEAD: Adaptive Hindsight with Environment-Augmented Distillation for Agentic RL25 Aug 2026
- 2026Terminal Agents: A Survey of AI Agents in Command-Line Environments20 Aug 2026
- 2026Antares: Foundation Models for Agentic Vulnerability Localization3 Aug 2026
- 2026AgentOmnia: Scaling Agentic Models for Full-Scenario Applications25 Jul 2026
- 2026The Dark Room in the Reward Channel: Dense Prediction Rewards Collapse GRPO-Trained LLM Agents -- and The Channel, Not the Content, Decides What Works23 Jul 2026
- 2026Qwen-AgentWorld: Language World Models for General Agents23 Jun 2026
- 2026Closing the Reflection Gap: A Free Calibration Bonus for Agentic RL12 Jun 2026
- 2026Closing the Reflection Gap: A Free Calibration Bonus for Agentic RLcited by 3
- 2026Antares: Foundation Models for Agentic Vulnerability Localizationcited by 2
- 2026AHEAD: Adaptive Hindsight with Environment-Augmented Distillation for Agentic RLcited by 2
- 2026Terminal Agents: A Survey of AI Agents in Command-Line Environmentscited by 1
- 2026AgentOmnia: Scaling Agentic Models for Full-Scenario Applicationscited by 0
- 2026Environmental Feedback Modeling Matters: Rethinking Feedback Treatment in Agentic Hindsight Self-Distillationcited by 0
- 2026Co-Evolving Acting and Forecasting for Language Agentscited by 0
- 2026Co-Evolving Acting and Forecasting for Language Agents14 Oct 2026
- 2026Environmental Feedback Modeling Matters: Rethinking Feedback Treatment in Agentic Hindsight Self-Distillation8 Oct 2026
- 2026AHEAD: Adaptive Hindsight with Environment-Augmented Distillation for Agentic RL25 Aug 2026
- 2026Terminal Agents: A Survey of AI Agents in Command-Line Environments20 Aug 2026
- 2026Antares: Foundation Models for Agentic Vulnerability Localization3 Aug 2026
- 2026AgentOmnia: Scaling Agentic Models for Full-Scenario Applications25 Jul 2026
- 2026Closing the Reflection Gap: A Free Calibration Bonus for Agentic RL12 Jun 2026
- 2026Qwen-AgentWorld: Language World Models for General Agentscited by 28
- 2026How do World Models and Policies Compose in LLM Agents? A Joint Spectral and Behavioral Accountcited by 0
- 2026Agent-Editing World Model: Rethinking World Modeling for LLM Agentscited by 0
- 2026Does Learning to Predict the World Help Agents Act? Auditing World-Model Post-Trainingcited by 0
- 2026ObsSpec: Accelerating Agentic Reinforcement Learning with Observation Speculationcited by 0
- 2026ANTE: Anticipate, Then Execute -- Learning Internal World Models for Coding Agents from Verified Beliefscited by 0
- 2026Model What Matters: Decision-Guided Selective World Modeling for Language Agentscited by 0
- 2026Model What Matters: Decision-Guided Selective World Modeling for Language Agents14 Oct 2026
- 2026ANTE: Anticipate, Then Execute -- Learning Internal World Models for Coding Agents from Verified Beliefs11 Oct 2026
- 2026ObsSpec: Accelerating Agentic Reinforcement Learning with Observation Speculation11 Oct 2026
- 2026Does Learning to Predict the World Help Agents Act? Auditing World-Model Post-Training27 Sep 2026
- 2026Agent-Editing World Model: Rethinking World Modeling for LLM Agents23 Sep 2026
- 2026How do World Models and Policies Compose in LLM Agents? A Joint Spectral and Behavioral Account30 Aug 2026
- 2026Qwen-AgentWorld: Language World Models for General Agents23 Jun 2026
- 2026RLTL;DR: Self-improvement by Internalizing Self-generated Feedbackcited by 1
- 2026Don't Mask the Environment: Observation Supervision Changes How Agents Explore Under RLcited by 0
- 2026Selecting Long-Horizon Trajectories for Reliable and Efficient Terminal-Agent Trainingcited by 0
- 2026ReTerm: Recovery Training for Self-Improving Terminal Agentscited by 0
- 2026ReTerm: Recovery Training for Self-Improving Terminal Agents13 Oct 2026
- 2026Selecting Long-Horizon Trajectories for Reliable and Efficient Terminal-Agent Training5 Oct 2026
- 2026RLTL;DR: Self-improvement by Internalizing Self-generated Feedback29 Sep 2026
- 2026Don't Mask the Environment: Observation Supervision Changes How Agents Explore Under RL17 Sep 2026
Similar, not cited
Close in wording, no citation either way
- 2026Terminal-World: Scaling Terminal-Agent Environments via Agent Skills
- 2026Echoverse: Deep, Evolving Environments for Training Computer-Use Agents at Scale
- 2026NLPG: Natural-Language Policy Gradients for Self-Evolving Language Agents
- 2026EchoRL: Reinforcement Learning via Rollout Echoing
- 2026ECHO: Prune To Act, Trace To Learn With Selective Turn Memory In Agentic RL
- 2026A Learning-Rate-Gated Failure of GRPO in a Small Language and Vision-Language Model Web Agent: A Controlled Null and Its Mechanism
- 2026A Self-Evolving Framework for Efficient Terminal Agents via Observational Context Compression
- 2026EnvACE: Internalizing Environment Dynamics via World Rehearsal for Agentic Reinforcement Learning