EnvACE: Internalizing Environment Dynamics via World Rehearsal for Agentic Reinforcement Learning

Zishan Xu, Zhiyuan Yao, Yuxin Chen, Yifu Guo, Zhengxi Lu +7 more
8/6/2026
cs.AI
rl

Official code: Within-yao/EnvACE (23 stars, Python, Apache-2.0, last commit 2026-09-07).

Abstract

Training large language model agents for long-horizon tool use typically relies on interactions with real or synthesized executable environments, whose construction and verification are costly, or on external simulators that are difficult to ground. We introduce EnvACE, an agentic reinforcement learning method that replaces external environment interaction during training with world rehearsal.

Show full abstract

The policy alternates between acting and rehearsal: it first generates a tool call, then plays the role of the environment to produce the response induced by that action, and conditions subsequent decisions on the rehearsed response. Both roles are jointly optimized end-to-end using task-success rewards. Through world rehearsal, the policy internalizes the relationship between actions and their environment responses in its parameters, yielding an agent world model that directly supports decision making. Across BFCL-v4, tau^2-Bench, VitaBench, and FinMCP-Bench, EnvACE achieves strong and transferable performance, outperforming environment-scaling baselines in the overall evaluation. Controlled studies further show that world rehearsal consistently improves policy learning across model scales. At test time, the internalized world model enables private rehearsal before committed execution, yielding further gains under a moderate rehearsal budget without additional external interaction. Our findings establish world rehearsal as a new path toward scaling LLM agent training beyond the constraints of external environments. Our code is publicly available at https://github.com/Within-yao/EnvACE.

View on arXivView PDF

Code Implementations(1)

Within-yao/EnvACEOfficial100%
Apache-2.0
231Python, ShellJul 29, 20262 months agoApache-2.0

Similar Papers

Cite this paper

@article{xu2026envace,
  title  = {EnvACE: Internalizing Environment Dynamics via World Rehearsal for Agentic Reinforcement Learning},
  author = {Zishan Xu and Zhiyuan Yao and Yuxin Chen and Yifu Guo and Zhengxi Lu and Yuquan Lu and Jinyang Huang and Yan Xu and Yasheng Wang and Weinan Zhang and Xingshan Zeng and Weiwen Liu},
  year   = {2026},
  eprint = {2608.06197},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.06197v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.06197.svg)](https://codeofpaper.com/paper/2608.06197)

Discussion