JA EN
LearnAgents
·★ MEMBER·PAPER·8 min read

Paper Walkthrough: EnvACE — Agents That Rehearse the World Instead of Calling It

EnvACE trains a tool-using LLM agent without ever calling an external environment: the same policy alternates between acting and playing the environment. We walk through role-wise GRPO, test-time private rehearsal, results on four agent benchmarks, and the limitations.

ModalitytextTaskagents

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

Primary source — what this article is built on

undefined2026-08-06undefined2026-08-12same month

EnvACE: Internalizing Environment Dynamics via World Rehearsal for Agentic Reinforcement LearningZishan Xu, Zhiyuan Yao, Yuxin Chen et al. · 2026-08-06 · v1arXiv:2608.06197Paper page·PDF
undefined

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. 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.


Can you get stronger by shadow practice alone?

A chess master can play out an entire game in their head, no board required. They can do this because the likely replies to each move are already inside them: a strong player has internalized not just how to choose moves, but how the position responds to their moves.

EnvACE, the paper we're reading today, brings exactly this idea to training LLM agents — AIs that accomplish tasks by calling external tools. Conventional agent training has the model learn by interacting, over and over, with a live API or database. EnvACE instead makes the model itself play the environment's part, a mechanism the authors call world rehearsal, so that training never touches an external environment at all. The headline claim: across four agentic benchmarks, this beats prior methods that invest heavily in building environments, in the overall evaluation (Abstract).

The problem: sparring partners are expensive

To train a tool-using agent with reinforcement learning (RL), you need an environment response after every action. The agent emits a tool call, gets a result back, decides its next move; the loop produces a trajectory, and a task-success reward arrives at the end. The question is: who produces those responses?

The paper sorts existing answers into two camps (§1).

  1. Build executable environments — real or synthesized APIs and databases. Responses are accurate, but construction and verification are costly, and verifying correctness gets harder as environments grow more complex.
  2. Let an LLM simulator answer — cheap and flexible, but responses can be inaccurate or inconsistent, and grounding them still ends up requiring real environments.

Either way, training stays dependent on an external response provider, and the ability to model the environment lives outside the acting policy. The authors argue that a good agent policy should not only act to solve the task but also model how the environment reacts to its actions (§1).

The twist: one model, two roles

EnvACE's answer is simple: assign two roles to a single policy (the same LLM) (§4.1).

The rehearsed response is appended to the history, and the next action is chosen on the basis of that self-made response. Act, respond, act, respond — the whole trajectory is spun out by the model alone. It is no longer a dialogue with the outside world; it is, in the paper's words, a process unfolded by the policy itself. The roles are switched by role prompts, but the parameters are shared. As training repeats, the mapping "if I do this, the environment answers like that" gets written into the weights, and the policy itself becomes an agent world model — which is what the title's "internalizing" means.

Both roles are just LLM token generation under the hood, so how varied the outputs are is governed by sampling temperature. The paper indeed uses different temperatures per role and per experiment — 1.0 for both roles where they want broad exploration of the action space, 0.01 where reproducibility matters (§5.1).

FIG 1Higher temperature flattens the output distribution, making rehearsed "environment responses" more diverse; lower temperature makes them near-deterministic and reproducible

Following the mechanics in equations

The paper formalizes a tool-interactive task as a finite-horizon POMDP (partially observable Markov decision process) (§3). At each step tt, the policy πθ\pi_\theta picks an action from the history hth_t, and normally the environment would return an observation. EnvACE hands that job to the policy as well (§4.1). First, the acting role moves.

Here is the action at step (a tool call or a final answer), is the interaction history so far, and is the role instruction "behave as the actor." Read in words, the line says: *look at everything that has happened so far, put on the actor's hat, and produce the next move.* The is worth noticing too — the move is sample

What's behind this

§

Members-only from here

371 walkthroughs, 26 textbook chapters, 48 student units and 6 close readings — all included for $4.99/mo, with three new explainers every day. Cancel any time; access runs to the end of the period.

Already a member? Sign in to keep reading

References

  1. Zishan Xu, Zhiyuan Yao, Yuxin Chen, Yifu Guo et al.. (2026-08-06) EnvACE: Internalizing Environment Dynamics via World Rehearsal for Agentic Reinforcement Learning. arXiv:2608.06197Paper page·PDF

This article is written from the source paper above. Where they differ, the original is authoritative.

Comments

Sign in to comment