WorksComputer Science
Co-Evolving Acting and Forecasting for Language Agents
Abstract
Training language agents is bottlenecked by the high cost of long-horizon rollouts, yet standard agentic reinforcement learning (RL) learns only from a terminal scalar reward, leaving the supervision in intermediate steps largely unused. Prior work exploits this supervision through value targets that estimate per-step success probabilities or observation targets that fit environment response. Both are hard to construct well: (1) value targets come from the same single scalar signal for each step in the trajectory, and (2) observation targets, such as web pages and terminal logs, are long and noisy and reach only one step ahead. We propose CoPE, which adds a third kind of multi-step action targets. On successful on-policy trajectories, CoPE trains the policy backbone to generate the action sequences that follows each history. Each action is also supervised when forecast from the preceding histories, forming a temporal ensemble that the shared backbone absorbs during training, and this enables acting and forecasting to co-evolve. The policy still acts one step at a time at inference, with no overhead. Across five benchmarks (ALFWorld, ScienceWorld, WebShop, -bench, and AppWorld), CoPE (1) achieves stronger aggregate performance than GRPO and RL baselines with predictive auxiliary targets across simulated environments, while improving overall performance on both realistic applications; (2) delivers up to and higher sample efficiency than ECHO and GRPO, respectively, on ScienceWorld; and (3) achieves these gains with a single policy backbone, without additional models, separate pretraining, or inference overhead. The codebase is available at https://github.com/ulab-uiuc/CoPE.
Introduction
Large language models (LLMs) enable autonomous agents to tackle complex, long-horizon tasks such as web navigation [8] (Zheng et al. 2024; Zhang et al. 2025), agentic coding [14, 29] (Yang et al. 2024), and scientific discovery [2, 20] (Zheng et al. 2025; Yamada et al. 2025). However, training these agents remains computationally expensive. Because each rollout involves numerous interaction steps and tool calls, extracting the maximum learning signal from a limited number of interactions is crucial (Liu & van der Schaar, 2025). Yet, standard agentic reinforcement learning (RL) often learns only from a single scalar reward at the end of a trajectory, leaving stepwise supervision in the process, such as intermediate actions and environment observations, largely unused.
To exploit more intermediate supervision from the process, prior work constructs two kinds of additional targets. Value targets are estimates of how likely each intermediate step is to lead to success, obtained from process reward models [6] (Xi et al. 2026) or step-level credit assignment [11, 16], and can serve as dense rewards or advantages. Observation targets are the environment’s next observation or state. Some methods fit a separate LLM world model to them and use it to plan or to synthesize additional experience [4, 9]; others fit them as an auxiliary objective of the policy backbone, before or alongside policy optimization [33, 21] (Zhang et al. 2026; Yu et al. 2026).
Key challenges. Both existing prediction targets are difficult to construct effectively in complex agentic environments. (1) Value targets are derived from only the shared outcome. A trajectory records only its final outcome, not the success probability of each step, so every step is labeled with this same outcome, whose randomness comes mostly from later actions and observations rather than from the step itself. Distinguishing between steps requires step-level annotations, additional rollouts from intermediate states, or exact recurrence of states across rollouts. (2) Observation targets are noisy and reach only one step ahead. In web navigation or agentic coding, most tokens of the next observation (e.g., HTML DOM trees or verbose terminal logs) are irrelevant to the decision (Figure 1a), so the prediction loss is dominated by reproducing them. The target also covers only single-step transition; reaching later steps requires chaining predictions, where errors compound.
Figure 1. Motivation of CoPE for sample-efficient RL. (a) A terminal observation contains many task-irrelevant tokens, whereas the corresponding action is short and decision-relevant. (b) Three kinds of targets at the same history . Value targets are shared across steps: every step of a trajectory is labeled with the same final outcome . The observation target is noisy and reaches only one step ahead. CoPE’s action targets condition on and are specific to each step: is labeled with the actions that actually followed it, ( here), and the next step with . (c) On AppWorld, CoPE reaches a training task score of 0.5 with 1.6× fewer RL steps than GRPO.
Our solution. We propose CoPE, which constructs a third kind of target: multi-step action targets. Alongside GRPO, CoPE employs multi-step action forecasting on successful on-policy trajectories, predicting actions directly from the current history while skipping the intervening observations. We show that the population optimum of this objective is , a hindsight distribution ([13, 28]) that conditions on both the history and the episode’s eventual success. Success thus enters as a condition that selects trajectories, not as a label assigned to each step. Therefore, CoPE overcomes previous limitations in three key ways. (1) Action targets are specific to each step. A successful trajectory labels each step with its own continuation, the actions that actually followed it. (2) Action targets are decision-relevant. Actions are concise (Figure 1a), so the loss is not spent on irrelevant observation content. (3) Multi-step action targets span the horizon and form an implicit temporal ensemble. Each action is supervised both where it is taken and when it is forecast from the preceding histories, and the shared backbone absorbs this ensemble into the policy through training alone. This agrees with the delay view of action chunking in robot learning, where predicting chunks trains each action from the current and several earlier observations; the resulting ensemble of delayed predictors, which ACT averages explicitly at test time (Zhao et al., 2023), accounts for much of chunking’s benefit ([17]). CoPE differs by still acting one step at a time at inference, with no overhead.
Main findings. We evaluate CoPE on five benchmarks spanning three simulated environments (ALFWorld ([32]), ScienceWorld ([36]), and WebShop (Yao et al., 2022)) and two realistic applications (-bench ([1]) and AppWorld ([34])). Our experiments yield three main findings. (1) Broad improvements: CoPE outperforms GRPO ([30]) and observation-prediction baselines (ECHO ([33]) and RWML (Yu et al., 2026)) on aggregate metrics in the three simulated environments, and improves overall metrics on both realistic applications (despite a negative result on the Airline domain of -bench). (2) Sample efficiency: on ScienceWorld, CoPE is up to 1.9× and 2.0× more sample-efficient than ECHO and GRPO, respectively. (3) Low overhead: on ScienceWorld, the action forecasting pass adds just 11% time per training step on average, while shorter rollouts reduce the measured end-to-end step time by 9%; CoPE requires neither a separate model nor a pretraining stage.
Related Works
Sample-efficient agentic RL. Methods for sample-efficient agentic RL follow two main directions. The first makes better use of outcome rewards, either by refining credit assignment within trajectories [11, 35, 22, 38, 16] or by converting completed interactions into extra policy supervision via hindsight rewriting or on-policy distillation [15, 39] (Yang et al. 2026; Zheng et al. 2026). These methods change how sparse outcomes are assigned or reused, without necessarily introducing a predictive objective. The second learns from the environment feedback available at every step, typically by adding auxiliary prediction of future states or observations to policy training [33, 21] (Zhang et al. 2026). Such objectives provide dense token-level supervision but generally focus on a single environment transition. CoPE combines elements of both directions: success filtering reuses outcome rewards, while multi-horizon prediction learns from how trajectories unfold in action space rather than reconstructing observations.
Multi-horizon prediction. CoPE is closely related to several forms of multi-horizon and outcome-conditioned prediction. Multi-token prediction trains language models to predict several future tokens [12], while robotic policies such as ACT and Diffusion Policy predict sequences of future actions [5] (Zhao et al. 2023). Multi-token prediction is closest architecturally because multiple offsets are learned by one backbone, whereas action chunking is closest in the structure of its targets. Outcome-conditioned sequence modeling conditions policies on desired returns, while self-imitation emphasizes high-return trajectories [3, 23]; both connect policy learning to trajectory-level outcomes. Accordingly, the term in CoPE is success-filtered imitation, while the terms extend this supervision to multiple future action offsets. CoPE uses these predictions as an auxiliary objective during on-policy GRPO: targets are regenerated from successful rollouts, and the predicted future actions are not executed as a chunk but affect acting through the shared backbone.
Preliminaries
Language agents. We consider a long-horizon task in which an LLM policy interacts with an environment for steps. At step , the agent holds the history , samples an action , and receives an observation from the unknown environment transition , so that . This produces a trajectory . We focus on sparse-reward settings (See Appendix § 15.§ 3), where the agent receives only a terminal success signal , and policy learning maximizes .
Policy optimization. A common choice for optimizing is Group Relative Policy Optimization (GRPO) [30], which avoids training a critic. For each task, GRPO samples a group of trajectories from the rollout policy and assigns each the normalized advantage , where and are the mean and standard deviation of rewards in the group. With the per-step ratio , GRPO minimizes
Because the reward evaluates trajectory as a whole, every action in receives the same advantage . The learning signal thus only says whether a trajectory succeeded, not how it unfolded. The intermediate steps, which record how each decision led to the next, provide no further supervision. This motivates extracting additional supervision from the temporal structure of the collected trajectories.
Extending Policy Learning Across Future Horizons
Under binary outcome rewards, standard policy gradients supervise each history using only the immediate next action (), providing no direct signal to plan further ahead. We define the hindsight action chunk, show that the idealized GRPO update fits only its single-step marginal (), and extend supervision to multi-step horizons () via action forecasting.
Hindsight action chunk. Fix a task and a rollout policy . Let denote the rollout distribution under , let indicate whether a rollout succeeds, and let denote the hindsight distribution over successful rollouts. Given a history , the hindsight action chunk characterizes which future action sequences lead to task completion from . Formally, it is the distribution over the next actions under , with intermediate observations marginalized out:
which reduces to the single-step distribution when (with actions after episode termination padded with a terminal token).
GRPO fits the single-step hindsight distribution. Consider an idealized on-policy GRPO ([30]) update without KL or length normalization ([19]) (see Alg. 1 for our full implementation). Since the on-policy score has zero mean, , penalizing failed rollouts points in the same expected direction as reinforcing successful ones. Up to a task-dependent positive scalar, the expected GRPO update therefore follows the gradient of the single-step objective
where , and the equality holds because following in a successful rollout is a sample from . While conditioning on enables to carry long-horizon credit—allowing RL to learn multi-step behaviors—GRPO supervises each only with its single-step marginal (), never asking the representation at to anticipate the subsequent actions realized for later success.
Action forecasting fits the multi-step hindsight distribution. To supervise with the full horizon- chunk , we introduce a parameterized autoregressive action forecaster and define the action forecasting objective as the multi-step counterpart of Eq. (3):
Whereas Eq. (3) fits only the single-step target (), trains to match the joint horizon- target . Just as in the single-step case, the second equality in Eq. (4) holds because any action sequence observed after in a successful rollout is already an exact sample from . This makes multi-step fitting tractable: rather than learning an explicit world model to simulate future states, we simply read target action chunks off successful environment rollouts, where intermediate observations are naturally marginalized under . Because shares parameters with the acting policy , minimizing forces the policy’s representation at to encode the multi-step action plan that leads to success.
CoPE: Co-evolving Acting and Forecasting
COPE trains a single LLM to both act and forecast its own future actions (Figure 2). The acting policy and the forecaster share a single backbone (§ 5.1), the forecaster is trained on successful on-policy Algorithm 1 CoPE training algorithm
Figure 2. Overview of COPE. (i) Joint training of acting and forecasting. One LLM backbone is shared by both, and fits the successful action chunk . (ii) Co-evolution of acting and forecasting. Acting helps forecasting via trajectory collection, and forecasting helps acting via implicit temporal ensembling.
Require: Shared backbone , group size , horizon , weight
for each iteration do
Collect a group of trajectories with
▷ Eq. (1)
▷ Eq. (5)
Update by minimizing
end for
rollouts (§ 5.2), and the forecasting objective is optimized jointly with GRPO so that acting and forecasting co-evolve (§ 5.3).
Sharing Parameters for Acting and Forecasting
We instantiate both the acting policy and the action forecaster on a single LLM backbone : is the model’s next-action distribution given history , whereas is the distribution over action chunks generated when a forecasting instruction is appended to . Because of this forecasting instruction, and are distinct distributions: even at the first forecast position (), does not generally equal . Sharing the backbone offers two key benefits: (1) No additional model. Forecasting reuses the policy’s parameters, requiring no separate model to train, store, or serve. (2) Shared representation. Multi-step structure captured by the forecasting objective is written directly into the representation from which the policy acts, allowing acting and forecasting to co-evolve (§ 5.3).
Multi-step Action Forecasting Loss
At each iteration, we collect trajectories using the current policy and hold them fixed during optimization. As shown in § 4, every action chunk realized after in a successful rollout is a sample from the hindsight action chunk , allowing us to train the forecaster by maximum likelihood on these chunks without modeling environment dynamics.
Success-filtered multi-step action forecasting. Since is conditioned on success (), we train the forecaster exclusively on successful trajectories. Fitting failed trajectories as well would instead learn the unconditional rollout distribution , pushing the shared backbone toward behaviors that GRPO suppresses. For each task , let be a group of rollouts sampled from , and let be its successful subset. We estimate the multi-step action forecasting loss (Eq. (4)) on each group via
where and are taken from . Any chunk extending past the end of is truncated after the terminal token in Eq. (2), since subsequent padding is deterministic. At each , we append the forecasting instruction followed by the realized chunk, computing each term in a single forward pass.
Group normalization of the forecasting loss. Success filtering alone can destabilize training as the policy improves: as the number of successful rollouts grows, an unnormalized sum would scale the forecasting gradient with and interfere with policy optimization. The factor in Eq. (5) averages the loss across successful rollouts within each group, removing this linear scaling. For a successful rollout , the expected weight depends only on its task (which determines). Hence, per task, equals (Eq. (4)) in expectation up to a positive scalar—mirroring how the GRPO update relates to Eq. (3)—and thus leaves the per-history minimizer unchanged.
Co-evolution of Acting and Forecasting
Acting helps forecasting via trajectory collection. For a fixed rollout policy and a sufficiently expressive model, is minimized on every history reached by successful rollouts by the hindsight action chunk itself (Eq. (4)), which by Bayes’ rule is
The first factor represents the action chunks proposed by the policy , and the second is their success probability (value), which success filtering enforces via rejection sampling. This reweighting keeps the target ahead of the generating policy: acting at every history according to the single-step marginal succeeds at least as often as acting with [28]. Since both factors depend on the current policy , forecasting relies on acting to supply successful rollouts and receives more of them as the policy improves.
Forecasting helps acting via implicit temporal ensembling. § 4 views the forecasting loss along each row of Figure 2(ii): each history must anticipate its future chunk . Viewed along each column, every action of a successful rollout also lies within the chunks of the preceding histories, receiving supervision from each of through the forecast , rather than only from at the moment it is executed as in GRPO. These forecasts do not conflict with acting: since all are conditionals of the same hindsight distribution , the optimal forecast of issued at equals the GRPO target marginalized over the intermediate observations between and . Because the forecaster shares with the acting policy (§ 5.1), these earlier forecasts are implicitly ensembled into through the shared representation (see § 8).
Joint optimization and inference. We optimize the shared parameters with , where is given by Eq. (5) and is a weighting hyperparameter (Alg. 1). The forecasting objective is used only during training: at inference, the agent acts with alone, generating one action per step without the forecasting instruction, so CoPE adds no inference cost over a GRPO-trained policy.
Experimental Settings
Tasks. We evaluate on five long-horizon agent benchmarks with sparse rewards that differ in observation complexity, action space, and horizon. Three are simulated environments: (1) ALFWorld [32] for household tasks, (2) ScienceWorld [36] for elementary science experiments, and (3) WebShop (Yao et al., 2022) for online shopping over long web-page observations. Two are realistic applications: (1) -bench [1] for policy-constrained customer service with a user simulator, and (2) AppWorld [34] for composing API calls across consumer apps with code as actions. We use Qwen2.5-7B-Instruct [27] for the three simulated environments and -bench, and Qwen2.5-14B-Instruct for the more difficult AppWorld tasks. Details are available in Appendix § 14. Unless otherwise stated, all analysis experiments are carried out on ScienceWorld.
Baselines. On the simulated environments (Table 3), we compare against three groups. (1) Prompting: Qwen2.5-7B-Instruct, Gemini-2.5-Flash-Lite [7], GPT-5-mini and GPT-5.5 [24, 25], and Reflexion [31], which adds verbal self-reflection on failed trials. (2) RL w/o auxiliary loss: RFT (Yuan et al., 2023), rejection sampling fine-tuning; GRPO [30], critic-free RL with group-normalized advantages; and EMPG [35], which rescales GRPO’s step-level gradients by policy entropy. (3) RL w/ auxiliary loss: RWML (Yu et al., 2026), which first trains next-state prediction on environment transitions and then runs GRPO; and ECHO [33], which adds a next-observation prediction loss to GRPO. Both supervise only single-step transitions, testing whether forecasting actions over multiple steps is more effective than predicting the next observation. On -bench and AppWorld (Table 1 and Table 2), we include published baseline numbers reported by G2PO [37] and InfoPO [16], together with GRPO and CoPE runs from our implementation. Because the published AppWorld results use a different task subset and protocol (Appendix § 15.§ 1), our direct comparison is between GRPO (ours) and CoPE under our shared setup.
| Method | Telec. | Retail | Air | Overall |
| Agentic Prompting | ||||
| Qwen2.5 | 14.4 | 13.1 | 7.5 | 11.7 |
| ReAct | 13.1 | 13.8 | 10.0 | 12.3 |
| Published RL results | ||||
| RAGEN | 17.5 | 17.5 | 15.0 | 16.7 |
| Search-R1 | 15.6 | 15.0 | 10.0 | 13.5 |
| UserRL | 13.8 | 16.9 | 7.5 | 12.7 |
| InfoPO | 18.1 | 18.8 | 16.3 | 17.7 |
| Our controlled runs | ||||
| GRPO (ours) | 38.8 | 17.5 | 26.2 | 27.5 |
| CoPE | 40.6 | 29.4 | 16.2 | 28.7 |
Table 1. Results on -bench. All results are Avg@4 for task success rate with Qwen2.5-7B-Instruct.
| Method | Normal | Challenge |
| Agentic Prompting | ||
| Qwen2.5 | 1.2 | 0.7 |
| ReAct | 10.7 | 2.6 |
| Published RL results | ||
| PPO{sup}†` | 19.1 | – |
| RLOO{sup}†` | 24.8 | – |
| GiGPO{sup}†` | 25.7 | – |
| GRPO{sup}†` | 24.8 | – |
| Our controlled runs | ||
| GRPO (ours) | 41.7 | 18.7 |
| CoPE | 55.4 | 22.5 |
Table 2. Results on AppWorld. All results are success rates (%) with Qwen2.5-14B-Instruct. † indicates results in G2PO.
| Method | ALFWorld | WebShop | ScienceWorld | ||||||||
| Pick | Look | Clean | Heat | Cool | Pick2 | All | Score | Succ. | Score | Succ. | |
| Agentic prompting | |||||||||||
| Gemini-2.5-flash-lite | 82.6 | 36.8 | 37.8 | 20.0 | 21.4 | 48.9 | 46.0 | 7.8 | 6.5 | 13.9 | 15.0 |
| GPT-5-mini | 82.6 | 47.4 | 27.0 | 36.0 | 14.3 | 75.6 | 52.0 | 11.7 | 7.0 | 40.1 | 43.5 |
| GPT-5.5 | 97.8 | 100.0 | 91.9 | 88.0 | 89.3 | 93.3 | 93.5 | 66.1 | 56.5 | 66.8 | 79.0 |
| Qwen2.5-7B | 69.6 | 31.6 | 29.7 | 36.0 | 17.9 | 11.1 | 34.0 | 25.3 | 2.5 | −13.3 | 2.5 |
| Qwen2.5-7B + Reflexion | 84.8 | 26.3 | 51.4 | 44.0 | 32.1 | 55.6 | 54.0 | 21.9 | 4.0 | −3.7 | 6.0 |
| RL methods w/o auxiliary loss | |||||||||||
| RFT | 91.3 | 73.7 | 73.0 | 84.0 | 64.3 | 71.1 | 77.0 | 51.4 | 16.0 | −11.0 | 4.5 |
| GRPO | 100.0 | 73.7 | 94.6 | 84.0 | 89.3 | 88.9 | 90.5 | 84.1 | 64.5 | 52.8 | 64.5 |
| GRPO + EMPG | 97.8 | 57.9 | 89.2 | 88.0 | 89.3 | 95.6 | 89.5 | 84.3 | 67.5 | 48.2 | 46.5 |
| RL methods w/ auxiliary loss | |||||||||||
| RWML + GRPO | 100.0 | 89.5 | 89.2 | 92.0 | 96.4 | 84.4 | 92.0 | 81.2 | 64.0 | 39.4 | 65.0 |
| ECHO | 97.8 | 89.5 | 91.9 | 96.0 | 96.4 | 93.3 | 94.5 | 85.0 | 71.5 | 44.8 | 67.5 |
| COPE | 100.0 | 100.0 | 97.3 | 96.0 | 89.3 | 91.1 | 95.5 | 89.4 | 77.0 | 53.4 | 72.5 |
Table 3. Evaluation results on simulated agent tasks. For ALFWorld, we report the success rate (%) on each subtask and overall. For WebShop and ScienceWorld, we report the average score and the success rate (%). All RL methods use Qwen2.5-7B-Instruct. Dark gray and light gray mark the best and second-best results in each column across all methods. More details are available in Appendix § 15.
Experimental Results
CoPE achieves aggregate gains across five agentic benchmarks. Across both simulated and realistic agentic tasks, CoPE improves the benchmark-level aggregate metrics over GRPO. On ALFWorld (Table 3), CoPE improves performance by 5.0 points over GRPO. The gains are larger on WebShop and ScienceWorld, where success rates increase by 12.5 points to 77.0% and by 8.0 points to 72.5%, respectively; on ScienceWorld, CoPE also achieves the best performance among the RL-based methods. The same trend largely extends to more realistic benchmarks. On -bench (Table 1), CoPE improves overall success from 27.5% to 28.7%, driven by an approximately 12-point gain on Retail, despite a drop on Airline. We analyze the drop in Sec. 8. Finally, on AppWorld (Table 2), CoPE substantially improves over GRPO on both splits, increasing success from 41.67% to 55.36% on the normal split and from 18.71% to 22.54% on the challenge split.
CoPE outperforms observation-based auxiliary losses on aggregate simulated-task metrics. On the three simulated environments where ECHO and RWML are evaluated, CoPE achieves the best aggregate results. It exceeds the stronger baseline by 1.0 point on ALFWorld, by 4.4 average-score points and 5.5 success-rate points on WebShop, and by 5.0 success-rate points on ScienceWorld. These gains are not uniform across ALFWorld subtasks: ECHO or RWML performs better on Cool and Pick2.
CoPE improves sample efficiency. Figure 1 compares CoPE with GRPO on AppWorld, while Fig. 3 compares CoPE with ECHO and GRPO on ScienceWorld. Overall, CoPE is 1.6× and 2.0× more sample-efficient than GRPO on AppWorld and ScienceWorld, respectively. On ScienceWorld, ECHO requires 53 and 114 steps to reach equivalent performance milestones (making CoPE 1.7× to 1.9× faster). This acceleration is even more pronounced at higher reward tiers: CoPE achieves a 0.6 reward by step 86, a level neither baseline reaches within the first 150 steps. Thus, the multi-step action forecasting loss not only accelerates early-stage learning but also enables the policy to reach a higher performance level under the same budget.
CoPE introduces little training overhead. Because CoPE adds a supervised pass over successful rollouts, its direct cost scales with the batch success rate. On ScienceWorld, this pass adds 11% time per training step on average, while shorter rollouts reduce the measured end-to-end step time by 9% compared with GRPO (Figure 4).
Figure 4. Analysis on wall-clock efficiency. Forecasting adds 11% per-step cost, while end-to-end step time decreases by 9%.
Discussions
Q1: What is the empirical evidence for acting and forecasting co-evolution?
In Sec. 5.3, we analyze the co-evolution mechanism between acting and forecasting. The acting-to-forecasting direction is straightforward: the policy collects successful trajectories as the forecast targets. Conversely, for the forecasting-to-acting direction, our analysis suggests that forecasting improves action selection through implicit ensembling via shared parameters. Here, we provide empirical evidence to support this claim.
Evidence for implicit temporal ensembling. For this experiment, we train a separate LoRA forecaster on ScienceWorld trajectories collected by the model, while the model’s parameters only receive policy gradient. The policy therefore supplies the forecasting data, but forecasting gradients cannot update the policy. We then use the separately parameterized forecaster to rerank candidate actions using forecasts from multiple horizons while CoPE model itself acts as forecaster:
where in this experiment and denotes the LoRA-trained forecaster. We rank eight candidate actions by and execute the highest-ranked one. At every checkpoint in Table 6, explicit forecasting improves GRPO and narrows its gap to COPE, but adds nothing to COPE, as predicted in § 5.3. The forecasts thus carry information for acting that policy gradient alone does not acquire, and COPE’s policy already contains it: what GRPO obtains only through a separate forecaster and extra forward passes at test time, COPE delivers in a single forward pass. Forecasting therefore changes what the policy itself knows, completing the forecasting-to-acting half of the co-evolution.
| Setting | CoPE | ||
| Top-1 sampling | 56.5 | 64.5 | 72.5 |
| Top-8 () | 62.5 | 69.0 | 73.5 |
| Top-8 () | 70.0 | 72.0 | 73.0 |
| ( vs. 0) |
Table 6. Explicit ensembling results. and denote checkpoints after 150 and 250 training steps on ScienceWorld.
Q2: Why do multi-step targets outperform imitating successful actions?
Lazzati et al. [17] traces the benefits of action chunking in robot imitation learning (Zhao et al. (2023)) to delayed prediction: a prediction of has a delay if made without the last observations. Since a chunking policy predicts from , it acts as an ensemble of delayed predictors: a single delay recovers much of the benefit but falls short on harder tasks, while an ensemble over randomized delays matches chunking.
In our setting, the -th term of the forecasting loss in Eq. (4) is a delay- prediction. Each action is thus trained at every delay up to , as in chunking. The variants in Table 5 differ in which delays they train: success-filtered SFT and train only delay 0, directly and under the forecasting instruction (§ 5.1) respectively; the invalid-action filter replaces each rejected target with the next valid action, a single delay set by an environment-specific signal; and COPE trains all delays up to . Relative to GRPO, they change the success rate by −7.5, +2.0, +5.0, and +8.0 points.
| Method | Succ. | |
| GRPO + success-filtered SFT | 57.0 | |
| (no invalid-action filter) | 66.5 | |
| (invalid-action filter) | 69.5 | |
| CoPE () | 72.5 |
Table 5. Comparison of action forecasting variants. We report success rate and gain with GRPO on ScienceWorld.
Delay 0 carries little information about success. Success filtering keeps detours, suboptimal or invalid actions that the agent later recovers from, since they barely affect success. At such a step, the delay-0 target is the detour itself, while the recovery that decides success appears only at later delays. Imposed on directly, the delay-0 target speeds up early training but later hurts it (Figure 5).
Figure 5. Invalid-action filtering. Replacing invalid action with the next valid one improves the sample efficiency of the baseline.
A single delay versus an ensemble over delays. The filter confirms that a delayed target helps (+2.0 → +5.0, Figure 5), but it needs an environment-specific signal and covers only detours that the environment rejects. COPE needs no such signal and trains every action at all delays, reaching +8.0: delay 0, a single delay, and the full ensemble rank in the same order as for robot policies.
Q3: Why must action forecasting loss be conditioned on success, and what does it learn?
Fundamentally, the action forecasting loss must align with the primary RL objective. Without success conditioning, the model is forced to imitate average or failed trajectories, creating a severe objective conflict and leading to zero reward after the first few steps of training. With it, the forecaster learns how the agent behaves in episodes that eventually succeed. Because success depends on the task as well as on the agent’s choices, these episodes may over-represent easy tasks, a known limitation of outcome-conditioned imitation [26, 10].
Figure 3. Analysis of sample efficiency. CoPE reaches 0.4 in about half the RL steps required by GRPO on ScienceWorld.
Mixed results on -bench. CoPE gains on Retail (17.5% 29.4%) but drops on Airline (26.2% 16.2%), because Airline’s task and reward design makes this over-representation extreme. The reward checks state-based assertions on the final database, and 38% of Airline tasks expect the database to stay unchanged, against 4.4% in Retail. On these tasks, refusing the request is fully rewarded, and they are by far the easiest since the policy does not need to do anything: early in training they succeed 52% of the time, against 8.9% for tasks that require changing the database, so most successful episodes, the only ones the forecasting loss learns from, are refusals. Yet a refusal task and an action task differ only in details: a request to cancel a booking must be refused once the customer demands a refund above 50%. A rewarded refusal and an unrewarded one thus share nearly the same history, and the forecaster, trained only on the rewarded copies, carries refusals over to tasks that require action. These tasks then succeed even less often, which skews the targets further toward refusal.
Ablation Studies
Ablation on forecasting horizon . The horizon is the maximum future offset: the forecast chunk contains the current-action target at and future-action targets through . Short horizons keep the future targets close to the current history but capture less multi-step structure. Conversely, long horizons introduce irreducible noise, as the action steps ahead depends increasingly on the intervening observations, which the forecast does not see. In Figure 6, we compare the invalid action filtered baseline with forecasting horizons . Every setting outperforms GRPO and the baseline. performs best, while declines slightly as noise from distant predictions begins to dominate.
Figure 6. Ablation on forecast horizon . All settings outperform GRPO; achieves the highest score.
Ablation on forecasting coefficient . Another important hyperparameter is the coefficient for the action forecasting loss. In Figure 7, we sweep from to while fixing . Notably, every tested value of consistently improves upon the GRPO baseline throughout training. We find that primarily controls the pace of learning: larger values accelerate early gains, whereas smaller values follow a similar but delayed trajectory. The two largest coefficients converge to similar peak scores, while the smaller ones still remain above GRPO. We adopt for all agentic tasks.
Figure 7. Ablation on action forecasting weight. All coefficients outperform the GRPO baseline; achieves the highest.
Ablation on group normalization. As discussed in § 5, the number of successful rollouts within a group naturally increases as the policy improves. Without normalization, the accumulated forecasting gradient scales directly with this success count. This shifting balance between the primary RL objective and the forecasting auxiliary loss causes spikes in gradient norms and reward fluctuations. Averaging over successful rollouts removes this direct dependence, although the resulting loss can still vary with trajectory length. As shown in Figure 8, normalization reduces these spikes.
Figure 8. Ablation on group normalization. Normalization suppresses spikes in gradient norms and stabilizes late training.
Ablation on model backbone. The results in Table 3 use Qwen2.5-7B-Instruct, leaving open whether the gain is specific to that backbone. We repeat the comparison against GRPO on WebShop and ScienceWorld with Qwen3-8B (Yang et al., 2025) and report it alongside the Qwen2.5-7B results. In Table 4, CoPE improves both score and success rate on both benchmarks under both backbones, indicating that its gains are not tied to a particular model generation.
| Benchmark | Qwen2.5-7B | Qwen3-8B |
| WS | Score 84.1 89.4 | 83.4 87.4 |
| Succ. 64.5 77.0 | 64.0 72.5 | |
| SW | Score 52.8 53.4 | 50.1 58.3 |
| Succ. 64.5 72.5 | 61.5 71.5 |
Table 4. Backbone ablations. WS/SW: WebShop/ScienceWorld. Both backbones share training settings. Entries: GRPO CoPE.
Conclusion
We introduced CoPE, which trains a language agent to forecast its own future actions alongside acting. Rather than fitting noisy observations, CoPE trains on the success-filtered action chunk , combining the current-action target with forecasts up to steps in the future. Across five benchmarks, CoPE improves aggregate results over RL baselines. It also improves sample efficiency with little computational overhead. We hope this work motivates further methods for sample-efficient long-horizon agentic RL.
Reproducibility Statement
We describe the CoPE algorithm in § 5 and Alg. 1, and the tasks, models, baselines, and evaluation protocols in § 6. Appendix § 14 records model licenses and software dependencies, while Appendix § 15 lists the configurations currently documented in the manuscript. Evaluation metrics are defined in Appendix § 15.§ 4. We will release the complete per-method configuration files and training code upon publication.
Ethics Statement
This work introduces CoPE, a training algorithm for improving the sample efficiency of reinforcement learning for LLM-based agents; it is a methodological contribution rather than a deployed system, and its societal impact is largely mediated by how downstream practitioners apply it. All experiments are conducted on standard agentic benchmarks (ALFWorld, ScienceWorld, WebShop, -bench, and AppWorld) using open-weight or proprietary models strictly for research evaluation; the work does not involve human subjects, crowdsourcing, or the collection of new personal data. By coupling action forecasting and policy optimization within a single backbone, CoPE can reduce environment-interaction costs without training or serving a separate world model, lowering the barrier for resource-constrained groups to study long-horizon LLM agents. We also note that, like other advances in sample-efficient agentic RL, more capable autonomous agents could in principle be misused for tasks such as automated misinformation or unauthorized web automation; practitioners building on CoPE in higher-stakes domains should pair it with appropriate safety evaluation, deployment-time monitoring, and human oversight.
AI Use Statement
In this work, we used generative AI tools to assist with method development and proof writing; to provide feedback on experimental design, including the separated-forecaster and implicit-ensembling analysis in § 8; to help interpret experimental results; and to implement parts of the training and evaluation code. We did not use generative AI tools to generate synthetic datasets, clean or reformat datasets, perform translation, or conduct qualitative data analysis. We also used generative AI tools to draft and edit text for clarity, suggest section organization, search for and summarize related literature, and format references. The authors reviewed the AI-assisted derivations, code, reported results, and citations and take responsibility for the final content.
Artifact Details
Model License
GPT-5-mini License: Proprietary (OpenAI) GPT-5.5 License: Proprietary (OpenAI) GPT-4o-mini License: Proprietary (OpenAI) Gemini-2.5-flash-lite License: Proprietary (Google) Qwen2.5-7B-Instruct License: Apache 2.0 Qwen2.5-14B-Instruct License: Apache 2.0 Qwen3-8B License: Apache 2.0
Software Versions
For our simulated agentic environments, we build upon AgentGym-RL2, which provides unified task configurations for ALFWorld, WebShop, and SciWorld. We additionally implement environment adapters for AppWorld and -bench. Our training infrastructure is built on top of verl3 (v0.2.0.post2).
Dataset Statistics
Table 7 gives the size of every split we use.
| Environment | Train | Test | Pool | Unit of a task |
| ALFWorld | 2,420 | 200 | 2,620 | TextWorld game file |
| WebShop | 3,930 | 200 | 6,910 | shopping instruction (goal) |
| SciWorld | 2,120 | 200 | 4,639 | (task type, variation) pair |
| 178 | 100 | 278 | customer-service task | |
| AppWorld | 90 | 168/417 | 732 | task in a scenario |
Table 7. Splits used in this work. “Pool” is the number of distinct tasks the environment can instantiate at all, from which the two splits are drawn; the splits do not have to exhaust it. Counts are measured, not quoted.
ALFWorld. The training pool is the 2,420 games under json_2.1.1/train and the test set is the 200 games under json_2.1.1/valid_train; the environment server concatenates the two mapping files into one list, so test ids are simply indices 2420–2619 into it. The splits are therefore drawn from different game-file directories and share no game. Tasks fall into six families, read off the task type in the file name (Table 8): Pick (place an object), Look (examine an object under a lamp), Clean, Heat, Cool, and Pick2 (place two objects). The test split keeps roughly the training proportions, the largest gap being Pick2 (22.5% of test against 16.1% of train).
| Split | All | Pick | Look | Clean | Heat | Cool | Pick2 |
| Train | 2,420 | 672 | 196 | 448 | 321 | 394 | 389 |
| Test | 200 | 46 | 19 | 37 | 25 | 28 | 45 |
Table 8. ALFWorld subtask families. Derived from the task type encoded in each game file’s name, so the two splits are counted the same way.
WebShop. Our WebShop instance is configured with 1,000 products, not the full catalogue: the environment server is constructed with num_products=1000 and the product files are the 1K subsets, which we verified are byte-equivalent to the first 1,000 entries of the full files. Goals are the synthetic ones generated from those products’ attributes (the server is not run in human-goal mode), which yields 6,910 instructions; the generator is seeded (random.seed(233) before the shuffle), so an id denotes the same instruction in every run and on every machine. We train on 3,930 of them and test on 200. The two sets are disjoint and together cover 59.8% of the pool. Note that the commonly quoted WebShop figures — 12,087 human-written instructions, a 500-instruction test set, the full product catalogue — describe a different configuration and are not comparable to ours.
SciWorld. SciWorld is our abbreviation for ScienceWorld. The environment defines 30 task types; the server excludes seven of them (task ids 5-1, 5-2, 9-1, 9-2, 9-3, 10-1, 10-2) and enumerates every variation of the remaining 23, giving a pool of 4,639 (task type, variation) pairs indexed by a single running id. We train on 2,120 of these and test on 200. The training ids cover 22 of the 23 task types and the test ids cover 12.
-Bench. -Bench ships its own train/test partition per domain, and we use all three domains together: retail (74 train, 40 test), airline (30, 20) and telecom (74, 40), i.e. 178 training and 100 test tasks. We first compute the metric separately for each domain and report their unweighted arithmetic mean, so retail, airline, and telecom contribute equally despite their different test-set sizes. The environment server is launched with TAU2_DOMAIN=retail+airline+telecom and the split selected by TAU2_TASK_SPLIT; task ids are positional across the concatenated domains in that order, and the id files are generated from the same loaders the server uses (scripts/make_tau2_itemid.py), so a row cannot name one task and train on another. Each task pairs a customer goal with a database state and a set of state-based assertions, and every episode also runs a simulated customer implemented with GPT-4o-mini at temperature 0.7. The resulting environment is stochastic, and a task is substantially more expensive than an ALFWorld or WebShop one — which is why its pool is roughly one order of magnitude smaller.
AppWorld. AppWorld ships four splits and we use its own partition unchanged, read with appworld.load_task_ids: train (90 tasks), dev (57), test_normal (168) and test_challenge (417), 732 in total. We train on train and evaluate on both test splits, which the evaluation harness runs as separate passes because the environment servers have to be restarted per split (APPWORLD_SPLIT selects the task list). test_challenge is not a harder sample of the same distribution: it is built from scenarios held out entirely, so it measures transfer to unseen app combinations rather than to unseen instances of seen ones. An AppWorld task is a Python REPL session against nine simulated apps and is scored by state-based unit tests, so success is all-or-nothing per task; with 90 training tasks it is by far the smallest training pool of the five environments.
Experimental Details
Baseline Methods
We compare our method with prompting and training baselines spanning verbal self-reflection, rejection-sampling fine-tuning, online reinforcement learning, and observation-space predictive supervision.
Reflexion. Reflexion is a prompting baseline that asks the agent to verbally reflect on a failed trial and uses the resulting reflection to guide a subsequent attempt, without updating model parameters. We apply Reflexion to Qwen2.5-7B-Instruct on ALFWorld, WebShop, and SciWorld.
RFT. Rejection sampling fine-tuning (RFT) samples trajectories, retains those that succeed, and fine-tunes the policy by maximum likelihood on their action tokens. Unlike GRPO, it treats the retained trajectories as supervised targets rather than optimizing a group-relative policy-gradient objective. We evaluate RFT on ALFWorld, WebShop, and SciWorld.
GRPO. GRPO is an online reinforcement learning baseline. For each training query, the actor samples a group of trajectories from the current policy and optimizes the policy using group-relative advantages. Different from critic-based PPO, GRPO estimates advantages within each sampled group and therefore avoids training an additional value model. In our experiments, GRPO is applied to ALFWorld, WebShop, SciWorld, -Bench, and AppWorld.
AppWorld numbers reported by G2PO. The published AppWorld RL baseline numbers reported by G2PO use only difficulty-1/2 tasks: 72 training tasks and 105 tasks from test_normal, whereas we train on all 90 tasks and evaluate the complete test_normal (168) and test_challenge (417) splits. The reported setup also randomly samples its validation pool and differs from ours in prompt, history, and output formats, generation limits (512 versus 1,024 tokens per turn), and training length (50 versus 100 steps). These published numbers are therefore not controlled comparisons; nevertheless, both GRPO (ours) and CoPE achieve higher normal-split success rates despite our broader evaluation set.
RWML. RWML is a two-stage world-model-based baseline. In the first stage, the backbone is trained on pre-collected triplets to predict the next state, using rewards derived from matching the predicted and actual states. In the second stage, the resulting model is optimized with standard online GRPO on the task reward. Unlike ECHO and CoPE, its world-model objective is applied only before policy optimization rather than alongside it.
ECHO. ECHO is a world-model-augmented reinforcement learning baseline that combines the GRPO loss on action tokens with an auxiliary cross-entropy loss on environment-observation tokens. It reuses the same rollouts, model backbone, and forward-pass logits as policy optimization, thereby providing dense predictive supervision without additional environment interactions or a separately pretrained world model. Unlike RWML, which learns its world model from offline trajectory data before policy optimization, ECHO couples observation-space world modeling directly with online policy updates. We use the same GRPO hyperparameters for ECHO and set the environment-prediction coefficient to 0.01 on ALFWorld, WebShop, and SciWorld.
EMPG. EMPG is an entropy-modulated policy gradient baseline that re-calibrates the learning signal based on step-wise predictive uncertainty. Unlike standard policy gradients, where update magnitude is implicitly coupled with action entropy, EMPG amplifies updates for confident correct actions, penalizes confident errors, and attenuates updates from uncertain steps. An additional future-clarity bonus encourages the agent toward lower-entropy next states. In our experiments, we apply EMPG on top of GRPO and evaluate it on ALFWorld, WebShop, and SciWorld.
Training Hyperparameters
We summarize the main training hyperparameters of all methods in Table 9. Unless otherwise specified, the settings follow the default configurations in our training scripts.
| Hyperparameter | GRPO ALFWorld | GRPO WebShop | GRPO SciWorld | ECHO ALFWorld | ECHO WebShop | ECHO SciWorld | RWML ALFWorld | RWML WebShop | RWML SciWorld | EMPG ALFWorld | EMPG WebShop | EMPG SciWorld |
| Learning rate | ||||||||||||
| KL coefficient | ||||||||||||
| Entropy coefficient | ||||||||||||
| ECHO coefficient | – | – | – | 0.01 | 0.01 | 0.01 | – | – | – | – | – | – |
| Training batch size | 16 | 16 | 16 | 16 | 16 | 16 | 16 | 16 | 16 | 16 | 16 | 16 |
| PPO mini-batch size | 2 | 8 | 8 | 2 | 8 | 8 | 2 | 8 | 8 | 2 | 8 | 8 |
| Micro-batch size per GPU | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
| Rollouts per task | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 8 |
| PPO epochs | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
| Maximum training steps | 100 | 200 | 300 | 100 | 200 | 300 | 100 | 200 | 300 | 100 | 200 | 300 |
| Training max rounds | 20 | 15 | 20 | 20 | 15 | 20 | 20 | 15 | 20 | 20 | 15 | 20 |
| Evaluation max rounds | 30 | 15 | 30 | 30 | 15 | 30 | 30 | 15 | 30 | 30 | 15 | 30 |
| Maximum prompt length (tokens) | 1024 | 2048 | 2048 | 1024 | 2048 | 2048 | 1024 | 2048 | 2048 | 1024 | 2048 | 2048 |
| Maximum response length (tokens) | 8192 | 8192 | 8192 | 8192 | 8192 | 8192 | 8192 | 8192 | 8192 | 8192 | 8192 | 8192 |
| Maximum model length (tokens) | 16384 | 16384 | 16384 | 16384 | 16384 | 16384 | 16384 | 16384 | 16384 | 16384 | 16384 | 16384 |
| Maximum generation per turn (tokens) | 512 | 512 | 512 | 512 | 512 | 512 | 512 | 512 | 512 | 512 | 512 | 512 |
| Rollout temperature | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
Table 9. Details of training hyperparameters. We include experiments for GRPO, ECHO, RWML, and EMPG. The table is organized first by method and then by dataset. CoPE settings are identical to GRPO with a coefficient of 0.01 for Action Forecasting loss.
Additional settings. Action Forecasting constructs each target directly from an assistant reply. If the reply contains one or more <tool_call> blocks, the target is the original text of the first block; the environment likewise executes only that first call and discards all later calls and accompanying text. Such multi-call turns remain eligible for Action Forecasting. If the reply contains no tool call, its complete customer-facing text is used as the action. After forming a sequence of
| Setting | AppWorld value |
| Batch construction | |
| Training batch size | 16 |
| Rollouts per task | 8 |
| Trajectories per step | 128 |
| PPO mini-batch size | 16 |
| Micro-batch size per GPU | 1 |
| PPO epochs | 1 |
| Dynamic batching | Disabled |
| Length limits | |
| Training max rounds | 30 |
| Evaluation max rounds | 30 |
| Maximum prompt length (tokens) | 4,096 |
| Maximum response length (tokens) | 20,480 |
| Maximum model length (tokens) | 34,816 |
| Maximum generation per turn (tokens) | 1,024 |
| Optimization and regularization | |
| Learning rate | |
| KL-loss type | low_var_kl |
| KL coefficient | (10× the simulated-environment setting) |
| Entropy coefficient | |
| Rollout temperature | 1.0 |
| Maximum training steps | 100 |
Table 10. AppWorld training settings. GRPO (ours) and CoPE use the same settings except for the additional forecasting objective in CoPE.
| Setting | value |
| Length limits | |
| Training max rounds | 50 |
| Evaluation max rounds | 50 |
| Maximum prompt length (tokens) | 8,192 |
| Maximum response length (tokens) | 16,384 |
| Maximum model length (tokens) | 24,576 |
| Maximum generation per turn (tokens) | 1,024 |
| Optimization and regularization | |
| Learning rate | |
| KL-loss type | low_var_kl |
| KL coefficient | |
| Entropy coefficient | |
| Rollout temperature | 1.0 |
| Maximum training steps | 50 |
Table 11. -bench training settings. Only settings with direct counterparts in the other environment summaries are included.
targets, we apply skip_no_call and discard the example only when none of the actions contains a tool call. Thus, customer-facing replies can remain in a retained sequence as long as another target in the same window is a tool call. Finally, we place the targets in separate assistant turns: concatenating them into one reply would be indistinguishable from multiple tool-call blocks emitted in a single environment turn. The other environments instead extract actions from a designated action line or code block.
Training Rewards and Success Labels
All experiments optimize the binary terminal reward used in § 3; graded environment scores are retained only as evaluation metrics. For ALFWorld, when the environment reports task completion. For WebShop, whose raw score lies in , only when the score is exactly 1.0. For SciWorld, when the raw score is at least 100, corresponding to full completion. For -bench, only when its binary ALL evaluator succeeds. For AppWorld, when all state-based task tests pass. The same criterion determines which trajectories enter the action-forecasting loss.
Evaluation Metrics
Here we define the evaluation metrics used in our experiments. For each benchmark, we evaluate the agent on a set of task instances. For the -th instance, the environment returns an environment-specific scalar score and a binary success indicator . The policy and action-forecasting objectives use the binary signal , whereas the graded score is used only for reporting. We report the average score and success rate:
Score. The score measures the average environment reward or normalized task score. Different from purely binary task completion, some benchmarks provide graded feedback that reflects partial progress during task execution. For example, an agent may receive non-zero reward for completing intermediate steps even if the final task is not fully solved. Therefore, we report the average score to capture such process-level progress.
Success rate. The success rate measures the fraction of tasks that are fully completed. A task is counted as successful only when the environment evaluator determines that the final goal has been achieved. This metric directly reflects end-to-end task completion ability.
For benchmarks with subcategories, we compute the same metrics within each group. Except for -Bench, the overall result is computed over the full evaluation set and is therefore a count-weighted average over all instances. For -Bench, we instead report the unweighted arithmetic mean of the retail, airline, and telecom domain-level results.
Environment Prompts
Every episode is one chat sequence. It opens with the environment’s standing instruction as the first user turn and a fixed assistant acknowledgement; the environment’s first observation then arrives as the next user turn, and from there user (observation) and assistant (action) turns alternate. The blocks below give each environment’s opening verbatim, and mark with {history} the point at which every completed (action, observation) pair is inserted. The sequence is extended in place rather than re-rendered each turn, so {history} is literally the tokens already in the context, not a re-serialization of them. Unlike our notation in the main content, refers to the number of actions in our plan here (so means having only the current action as the forecast plan target, which is equivalent to in the main content). It operates simply as an offset and does not introduce any inconsistency between our implementation and method.
Conversation layout for ALFWorld, WebShop, SciWorld, and AppWorld
[USER]
<the environment's standing instruction -- verbatim in the blocks below>
[ASSISTANT]
<the fixed acknowledgement -- verbatim in the blocks below>
[USER]
<first observation from the environment>
{history}
[USER] {observation}
[ASSISTANT] ← the policy generates the action here
Rendered with the chat template the tokeniser actually emits, one round is
One round, as tokenised
<|im_start|>assistant\n{action}<|im_end|>\n<|im_start|>user\n{observation}<|im_end|>\n
and {history} above stands for the concatenation of those rounds.
ALFWorld
ALFWorld — standing instruction (first user turn)
Interact with a household to solve a task. Imagine you are an intelligent agent in a household environment and your target is to perform actions to complete the task goal. At the beginning of your interactions, you will be given the detailed description of the current environment and your goal to accomplish. For each of your turn, you will be given a list of actions which you can choose one to perform in this turn. You should choose from two actions: "THOUGHT" or "ACTION". If you choose "THOUGHT", you should first think about the current condition and plan for your future actions, and then output your action in this turn. Your output must strictly follow this format:"Thought: your thoughts.
Action: your next action"; If you choose "ACTION", you should directly output the action in this turn. Your output must strictly follow this format:"Action: your next action". After your each turn, the environment will give you immediate feedback based on which you plan your next few steps. if the environment output "Nothing happened ", that means the previous action is invalid and you should try more options.
Reminder:
the action must be chosen from the given available actions. Any actions except provided available actions will be regarded as illegal.
Think when necessary, try to act directly more in the process.
ALFWorld — fixed assistant acknowledgement
OK. I'll follow your instructions and try my best to solve the task.
WebShop
WebShop — standing instruction (first user turn)
You are web shopping. I will give you instructions about what to do. You have to follow the instructions. Every round I will give you an observation and a list of available actions, you have to respond an action based on the state and instruction. You can use search action if search is available. You can click one of the buttons in clickables. An action should be of the following structure: search[keywords] click[value] If the action is not valid, perform nothing. Keywords in search are up to you, but the value in click must be a value in the list of available actions. Remember that your keywords in search should be carefully designed. Your response should use the following format:
Thought: I think ...
Action: click[something]
WebShop — fixed assistant acknowledgement
Ok.
SciWorld
The per-episode goal (“Your task is to measure the melting point of tin . . . ”) is not part of the instruction: it arrives inside the first observation.
SciWorld — standing instruction (first user turn)
You are an agent for science world. Every round I will give you an observation, you have to respond an action based on the observation to finish the given task. Here are the actions you may take: [{"action": "open/close OBJ", "description": "open/close a container"}, {"action": "de/activate OBJ", "description": "activate/deactivate a device"}, {"action": "connect OBJ to OBJ", "description": "connect electrical components"}, {"action": "disconnect OBJ", "description": "disconnect electrical components"}, {"action": "use OBJ [on OBJ]", "description": "use a device/item"}, {"action": "look around", "description": "describe the current room"}, {"action": "look at OBJ", "description": "describe an object in detail"}, {"action": "look in OBJ", "description": "describe a container's contents"}, {"action": "read OBJ", "description": "read a note or book"}, {"action": "move OBJ to OBJ", "description": "move an object to a container"}, {"action": "pick up OBJ", "description": "move an object to the inventory"}, {"action": "put down OBJ", "description": "drop an inventory item"}, {"action": "pour OBJ into OBJ", "description": "pour a liquid into a container"}, {"action": "dunk OBJ into OBJ", "description": "dunk a container into a liquid"}, {"action": "mix OBJ", "description": "chemically mix a container"}, {"action": "go to LOC", "description": "move to a new location"}, {"action": "eat OBJ", "description": "eat a food"}, {"action": "flush OBJ", "description": "flush a toilet"}, {"action": "focus on OBJ", "description": "signal intent on a task object"}, {"action": "wait", "description": "take no action for 10 iterations"}, {"action": "wait1", "description": "take no action for 1 iteration"}, {"action":"examine OBJ","description":"provides a description of the objects present on or in a receptacle."}, {"action": "task", "description": "describe current task"}, {"action": "inventory", "description": "list your inventory"}]
Your response should use the following format:
Thought:
your thoughts.
Action:
your next action
SciWorld — fixed assistant acknowledgement
OK. I'll follow your instructions and try my best to solve the task.
AppWorld
AppWorld’s instruction contains 12,396 characters because it embeds a complete worked example. The ASSISTANT: and USER: lines inside it are part of that static demonstration, not dialogue history — the real history still goes where {history} is marked in the layout above. The task itself is delivered in the first observation, as the last line of the instruction announces.
AppWorld — standing instruction (first user turn)
I am your supervisor, and you are an AI Assistant whose job is to complete my day-to-day tasks fully autonomously.
To do this, you will need to interact with app(s) (e.g., spotify, venmo etc) using their associated APIs on my behalf. For this you will undertake a *multi-step conversation* using a python REPL environment. That is, you will write the python code, the environment will execute it and show you the result, based on which, you will write python code for the next step and so on, until you've achieved the goal. This environment will let you interact with app(s) using their associated APIs on my behalf.
````text Here are three key APIs that you need to know to get more information
To get a list of apps that are available to you.
print(apis.api_docs.show_app_descriptions())
To get the list of APIs under any app listed above, e.g. spotify
print(apis.api_docs.show_api_descriptions(app_name='spotify'))
To get the specification of a particular api, e.g. spotify app's login api
print(apis.api_docs.show_api_doc(app_name='spotify', api_name='login'))
Each code execution will produce an output that you can use in subsequent calls. Using ↪ these APIs, you can now generate code, that I will execute, to solve the task. Let's ↪ start with the task
Task: How many playlists do I have in my Spotify playlist library?
ASSISTANT: Okay. Let's first find which APIs are available to use in Spotify.
print(apis.api_docs.show_api_descriptions(app_name='spotify'))
USER: Output:
[
...
"login : Login to your account.",
"logout : Logout from your account.",
...
]
ASSISTANT: Okay. Looks like I can use the login api. Let's find its specifications.
print(apis.api_docs.show_api_doc(app_name='spotify', api_name='login'))
USER: Output:
{
"app_name": "spotify",
"api_name": "login",
"path": "/spotify/auth/token",
"method": "POST",
"description": "Login to your account.",
"parameters": [
{
"name": "username",
"type": "string",
"required": true,
"description": "Your account email.",
"default": null,
"constraints": []
},
{
"name": "password",
"type": "string",
"required": true,
"description": "Your account password.",
"default": null,
"constraints": []
}
],
````
"response_schemas": {
"success": {
"access_token": "string",
"token_type": "string"
},
"failure": {
"message": "string"
}
}
ASSISTANT: I need the supervisor's username and password. Let's see if any app can help me get that.
print(apis.api_docs.show_app_descriptions())
USER: Output:
[
{
"name": "api_docs",
"description": "An app to search and explore API documentation."
},
{
"name": "supervisor",
"description": "An app to access supervisor's personal information, account credentials, addresses, payment cards, and manage the assigned task."
},
{
"name": "amazon",
"description": "An online shopping app to buy products and manage orders, returns, etc."
},
{
"name": "phone",
"description": "An app to find and manage contact information for friends, family members, etc., send and receive messages, and manage alarms."
},
{
"name": "file_system",
"description": "A file system app to create and manage files and folders."
},
{
"name": "spotify",
"description": "A music streaming app to stream songs and manage song, album and playlist libraries."
},
{
"name": "venmo",
"description": "A social payment app to send, receive and request money to and from others."
},
{
"name": "gmail",
"description": "An email app to draft, send, receive, and manage emails."
},
{
"name": "splitwise",
"description": "A bill splitting app to track and split expenses with people."
},
{
"name": "simple_note",
"description": "A note-taking app to create and manage notes"
},
{
"name": "todoist",
"description": "A task management app to manage todo lists and collaborate on them with others."
}
]
ASSISTANT: Looks like the supervisor app could help me with that.
````python print(apis.api_docs.show_api_descriptions(app_name='supervisor'))
USER:
Output:
[ ... "show_account_passwords : Show your supervisor's account passwords." ... ]
ASSISTANT:
I can use `show_account_passwords` to get the passwords. So I will call that and save it in
↪ a variable for future reference.
```python
passwords=apis.supervisor.show_account_passwords()
print(passwords)
USER: Output:
[
{
"account_name": "spotify",
"password": "dummy_spotify_pass"
},
{
"account_name": "file_system",
"password": "dummy_fs_pass"
},
...
]
ASSISTANT: So the Spotify password is an entry in the passwords list with the account_name=spotify. ↪ The login username is the supervisor's email, which I must look up via the supervisor ↪ app rather than assume.
spotify_password = [p for p in passwords if p["account_name"] == "spotify"][0]["password"]
supervisor_email = apis.supervisor.show_profile()["email"]
login_result = apis.spotify.login(username=supervisor_email, password=spotify_password)
spotify_access_token = login_result["access_token"]
print(login_result)
USER: Output:
{
"access_token": "fake_access_token",
"token_type": "Bearer"
}
ASSISTANT: To count the playlists, I need the show_playlist_library API. Let's check its ↪ specifications.
print(apis.api_docs.show_api_doc(app_name='spotify', api_name='show_playlist_library'))
USER: Output:
{
"app_name": "spotify",
"api_name": "show_playlist_library",
"path": "/spotify/library/playlists",
"method": "GET",
"description": "Search or show a list of playlists in your playlist library.",
"parameters": [
{
````
"name": "access_token",
"type": "string",
"required": true,
"description": "Access token obtained from spotify app login.",
"default": null,
"constraints": []
},
{
"name": "query",
"type": "string",
"required": false,
"description": "The search query string.",
"default": "",
"constraints": []
},
{
"name": "is_public",
"type": "boolean",
"required": false,
"description": "Whether to show public playlists or private playlists.",
"default": null,
"constraints": []
},
{
"name": "page_index",
"type": "integer",
"required": false,
"description": "The index of the page to return.",
"default": 0,
"constraints": [
"value >= 0"
]
},
{
"name": "page_limit",
"type": "integer",
"required": false,
"description": "The maximum number of results to return per page.",
"default": 5,
"constraints": [
"value >= 1, <= 20"
]
},
{
"name": "sort_by",
"type": "string",
"required": false,
"description": "The attribute to sort the library playlists by prefixed with +/- to
reflect ascending/descending. Valid attributes: created_at and title. ...",
"default": null,
"constraints": []
}
],
"response_schemas": {
"success": [
{
"playlist_id": 1,
"title": "string",
"is_public": true,
"rating": 0.0,
"like_count": 1,
"review_count": 1,
"owner": {
"name": "string",
"email": "[email protected]"
},
"created_at": "2019-01-01T00:00:00",
"song_ids": [
1
]
}
],
"failure": {
"message": "string"
}
}
}
ASSISTANT: I need to page through all the playlists to get the list of playlists and save it in playlists.
python page_index = 0 playlists = [] while page_index < 10: playlist_page = apis.spotify.show_playlist_library(access_token=spotify_access_token, page_index=page_index) if playlist_page: playlists.extend(playlist_page) page_index += 1 else: break num_playlists = len(playlists) print(num_playlists)
USER: Output:
ASSISTANT: Now that the task is completed, I can call apis.supervisor.complete_task(). Since this task has an answer to be returned, I will pass that as an argument.
python apis.supervisor.complete_task(answer=num_playlists)
USER: Output: Marked the active task complete.
USER:
Key instructions:
A. General instructions:
Act fully on your own. You must make all decisions yourself and never ask me or anyone else to confirm or clarify. Your role is to solve the task, not to bounce questions back, or provide me directions to follow.
You have full access -- complete permission to operate across my connected accounts and services.
Never invent or guess values. For example, if I ask you to play a song, do not assume the ID is 123. Instead, look it up properly through the right API.
Never leave placeholders; don't output things like "your_username". Always fill in the real value by retrieving it via APIs (e.g., Supervisor app for credentials).
When I omit details, choose any valid value. For example, if I ask you to buy something but don't specify which payment card to use, you may pick any one of my available cards.
Avoid collateral damage. Only perform what I explicitly ask for. Example: if I ask you to buy something, do not delete emails, return the order, or perform unrelated account operations.
B. App-specific instructions:
All my personal information (biographical details, credentials, addresses, cards) is stored in the Supervisor app, accessible via its APIs.
Any reference to my friends, family or any other person or relation refers to the people in my phone's contacts list.
Always obtain the current date or time, from Python function calls like
datetime.now(), or from the phone app's get_current_date_and_time API, never from your internal clock.All requests are concerning a single, default (no) time zone.
For temporal requests, use proper time boundaries, e.g., when asked about periods like "yesterday", use complete ranges: 00:00:00 to 23:59:59.
References to "file system" mean the phone app, not the machine's OS. Do not use OS modules or functions.
Paginated APIs: Always process all results, looping through the page_index. Don't stop at the first page.
C. Code-operation instructions
Make sure to end code blocks with ``` followed by a newline (\n).
Remember that you can use the variables in your code in subsequent code blocks.
Remember that the email addresses, access tokens and variables (e.g. spotify_password) in the example above are not valid anymore.
Always look at API specifications (using apis.api_docs.show_api_doc) before calling an API.
Write small chunks of code and only one chunk of code in every step. Make sure everything is working correctly before making any irreversible changes.
The Python environment supports the standard library. But system-level operations that may access or affect OS files, processes, etc., are not allowed and will raise an error if called.
To interact with apps, only use the provided app APIs, and not the corresponding Python packages, e.g., do NOT use
spotipyfor Spotify.The provided API documentation has both the input arguments and the output JSON format. Use this information when making API calls and parsing their outputs.
D. Task-completion instructions:
You must call the apis.supervisor.complete_task API after completing the task.
If an answer is needed, e.g., for "How many songs are in the Spotify queue?", call it with the appropriate answer argument value.
If no answer is required, e.g., for "Start my Spotify music player.", omit the answer argument (or set it to None/null).
The task is doable, but if you cannot find a way, you can call it with status="fail" to exit with failure.
When the answer is given:
Keep answers minimal. Return only the entity, number, or direct value requested - not full sentences. E.g., for the song title of the current playing track, return just the title.
Numbers must be numeric and not in words. E.g., for the number of songs in the queue, return "10", not "ten".
The task you must solve will be given to you in the next message.
AppWorld — fixed assistant acknowledgement
Ok.
2-bench
All -bench results reported in Table 1 use only the benchmark’s native tool-calling protocol. The standing instruction is assembled separately for each domain and placed in the system message, with no fixed Ok. acknowledgement turn. It combines the domain policy with the domain-specific native tools= list rendered by the Qwen2.5 chat template. The assistant then either sends a message to the customer or emits a <tool_call> block; if several blocks are emitted, only the first is executed. There is no Thought:/Action: wrapper. The native tool list does not include a done function. An episode ends only when the simulated customer emits ###STOP### or ###TRANSFER###, or when the maximum number of rounds is reached.
— native standing instruction
You are a customer service agent that helps the user according to the policy provided below
↪
In each turn you can either:
- Send a message to the user.
- Make a tool call.
You cannot do both at the same time.
Try to be helpful and always follow the policy.
<policy>
{policy}
</policy>
# Tools
You may call one or more functions to assist with the user query.
You are provided with function signatures within <tools></tools> XML tags:
<tools>
{tools}
</tools>
For each function call, return a json object with function name and arguments within <
↪ tool_call></tool_call> XML tags:
<tool_call>
{"name": <function-name>, "arguments": <args-json-object>}
</tool_call>
where each line inside <tools> is one tool’s OpenAI JSON schema.
— conversation layout, native protocol
[SYSTEM]
<the domain-specific standing instruction above>
[USER]
<the customer's first message>
{history}
[ASSISTANT]
<– a message to the customer, or a response whose first <tool_call> block is executedWhat fills {policy} and {tools}
The policy documents come from -bench itself and are inserted unmodified; measured on the domains we train and evaluate on:
| domain | policy (characters) | policy (words) | tools advertised |
| retail | 6,699 | 1,158 | 15 |
| airline | 7,676 | 1,313 | 14 |
| telecom | 23,318 | 3,715 | 13 |
Table 12.
In the actual system message, the tool list is rendered as one OpenAI JSON schema per tool. For readability, the following is a compact signature-level summary of the retail schemas rather than a literal copy of the native prompt.
— human-readable summary of retail tools
- calculate(expression: string)
Calculate the result of a mathematical expression.
- cancel_pending_order(order_id: string, reason: string)
Cancel a pending order. If the order is already processed or delivered,
it cannot be cancelled. The agent needs to explain the cancellation detail
and ask for explicit user confirmation (yes/no) to proceed. If the user confirms,
the order status will be changed to 'cancelled' and the payment will be refunded.
The refund will be added to the user's gift card balance immediately if the payment
was made using a gift card, otherwise the refund would take 5–7 business days to process.
The function returns the order details after the cancellation.
- exchange_delivered_order_items(order_id: string, item_ids: array, new_item_ids: array,
↪ payment_method_id: string)
Exchange items in a delivered order to new items of the same product type.
For a delivered order, return or exchange can be only done once by the agent.
The agent needs to explain the exchange detail and ask for explicit user confirmation (yes/
↪ no) to proceed.
- find_user_id_by_email(email: string)
Find user id by email. If the user is not found, the function will return an error
↪ message.
- find_user_id_by_name_zip(first_name: string, last_name: string, zip: string)
Find user id by first name, last name, and zip code. If the user is not found, the
↪ function
will return an error message. By default, find user id by email, and only call this
↪ function
if the user is not found by email or cannot remember email.
- get_order_details(order_id: string)
Get the status and details of an order.
- get_product_details(product_id: string)
Get the inventory details of a product.- get_user_details(user_id: string)
Get the details of a user, including their orders.
- list_all_product_types()
List the name and product id of all product types.
Each product type has a variety of different items with unique item ids and options.
There are only 50 product types in the store.
- modify_pending_order_address(order_id: string, address1: string, address2: string, city:
→ string, state: string, country: string, zip: string)
Modify the shipping address of a pending order. The agent needs to explain the
→ modification detail and ask for explicit user confirmation (yes/no) to proceed.
- modify_pending_order_items(order_id: string, item_ids: array, new_item_ids: array,
→ payment_method_id: string)
Modify items in a pending order to new items of the same product type. For a pending
→ order, this function can only be called once. The agent needs to explain the exchange
→ detail and ask for explicit user confirmation (yes/no) to proceed.
- modify_pending_order_payment(order_id: string, payment_method_id: string)
Modify the payment method of a pending order. The agent needs to explain the
→ modification detail and ask for explicit user confirmation (yes/no) to proceed.
- modify_user_address(user_id: string, address1: string, address2: string, city: string,
→ state: string, country: string, zip: string)
Modify the default address of a user. The agent needs to explain the modification
→ detail and ask for explicit user confirmation (yes/no) to proceed.
- return_delivered_order_items(order_id: string, item_ids: array, payment_method_id: string
→ )
Return some items of a delivered order.
The order status will be changed to 'return requested'.
The agent needs to explain the return detail and ask for explicit user confirmation (yes/no
→ ) to proceed.
The user will receive follow-up email for how and where to return the item.
- transfer_to_human_agents(summary: string)
Transfer the user to a human agent, with a summary of the user's issue.
Only transfer if
- the user explicitly asks for a human agent
- given the policy and the available tools, you cannot solve the user's issue.
Auxiliary Prompts (Action Forecasting)
The forecasting objective is trained on a separate sequence, not on the episode itself: the dialogue is truncated at the current history and a synthetic planning turn is appended, with the realised next- actions as the target. is the horizon and is the dialogue up to that point. For ALFWorld, WebShop, SciWorld, and AppWorld, the sequence retains the user instruction and fixed assistant acknowledgement shown above:
Action-forecast sequence (non-$\tau^2$ environments)
[USER]
<the environment's standing instruction, as above>
[ASSISTANT]
<the fixed acknowledgement, as above>
{history}
[USER]
{observation}
[USER]
Plan ahead: list the next {k} actions you will take to make progress on the task, starting
→ with the action you take right now, one action per line.
[ASSISTANT]
← target: the K actions the episode actually executed
For -bench, the native system message and role-structured dialogue are retained directly, with no acknowledgement turn and no Action: field. The same planning request is appended as a user message, and the target uses the -specific multi-turn serialization described in the additional settings above. Each action is placed in a separate assistant turn, with a fixed Next action? user message between consecutive targets. Loss is computed only on the assistant action turns, not on these inserted user messages:
Action-forecast sequence ( native protocol)
[SYSTEM]
<the domain-specific native standing instruction>
{history}
[USER]
Plan ahead: give the next {k} actions you will take to make progress on the task, one action per reply, starting with the action you take right now. Reply with the action only.
[ASSISTANT]
<- target: action 1
[USER]
Next action?
[ASSISTANT]
<- target: action 2
[USER]
Next action?
[ASSISTANT]
<- target: action 3References
- [1]Victor Barres, Honghua Dong, Soham Ray, Xujie Si, and Karthik Narasimhan. τ²-bench: Evaluating conversational agents in a dual-control environment. arXiv preprint arXiv:2506.07982, 2025. URL https://arxiv.org/abs/2506.07982.
- [2]Markus J. Buehler. Generative retrieval-augmented ontologic graph and multiagent strategies for interpretive large language models-based materials design. ACS Engineering Au, 4:241–277, 2024. URL https://pubs.acs.org/doi/epdf/10.1021/acsengineeringau.4c00032.DOI
- [3]Lili Chen, Kevin Lu, Aravind Rajeswaran, Kimin Lee, Aditya Grover, Michael Laskin, Pieter Abbeel, Aravind Srinivas, and Igor Mordatch. Decision transformer: Reinforcement learning via sequence modeling. In Advances in Neural Information Processing Systems, volume 34, 2021. URL https://proceedings.neurips.cc/paper/2021/hash/7f489f642a0ddb10272b5c31057f0663-Abstract.html.arxiv.org/abs/2106.01345
- [4]Zhaorun Chen, Zhuokai Zhao, Kai Zhang, Bo Liu, Qi Qi, Yifan Wu, Tarun Kalluri, Sara Cao, Yuanhao Xiong, Haibo Tong, Huaxiu Yao, Hengduo Liu, Jiacheng Zhu, Xian Li, Dawn Song, Bo Li, Jason Weston, and Dat Huynh. Scaling agent learning via experience synthesis. arXiv preprint arXiv:2511.03773, 2025.arxiv.org/abs/2511.03773
- [5]Cheng Chi, Siyuan Feng, Yilun Du, Zhenjia Xu, Eric Cousineau, Benjamin C. M. Burchfiel, and Shuran Song. Diffusion policy: Visuomotor policy learning via action diffusion. In Proceedings of Robotics: Science and Systems, 2023. doi: 10.15607/RSS.2023.XIX.026. URL https://www.roboticsproceedings.org/rss19/p026.html.DOI
- [6]Sanjiban Choudhury. Process reward models for llm agents: Practical framework and directions. arXiv preprint arXiv:2502.10325, 2025.arxiv.org/abs/2502.10325
- [7]Gheorghe Comanici, Eric Bieber, Mike Schaeekermann, Ice Pasupat, Noveen Sachdeva, Inderjit Dhillon, Marcel Blistein, Ori Ram, Dan Zhang, Evan Rosen, et al. Gemini 2.5: Pushing the frontier with advanced reasoning, multimodality, long context, and next generation agentic capabilities. arXiv preprint arXiv:2507.06261, 2025. URL https://arxiv.org/abs/2507.06261.
- [8]Xiang Deng, Yu Gu, Boyuan Zheng, Shijie Chen, Samuel Stevens, Boshi Wang, Huan Sun, and Yu Su. Mind2Web: Towards a generalist agent for the web. arXiv preprint arXiv:2306.06070, 2023. URL https://arxiv.org/abs/2306.06070.
- [9]Hang Ding, Peidong Liu, Junqiao Wang, Ziwei Ji, Meng Cao, Rongzhao Zhang, Lynn Ai, Eric Yang, Tianyu Shi, and Lei Yu. DynaWeb: Model-based reinforcement learning of web agents. arXiv preprint arXiv:2601.22149, 2026.arxiv.org/abs/2601.22149
- [10]Benjamin Eysenbach, Soumith Udatha, Russ R Salakhutdinov, and Sergey Levine. Imitating past successes can be very suboptimal. Advances in Neural Information Processing Systems, 35:6047–6059, 2022.arxiv.org/abs/2206.03378
- [11]Lang Feng, Zhenghai Xue, Tingcong Liu, and Bo An. Group-in-group policy optimization for LLM agent training. arXiv preprint arXiv:2505.10978, 2025. URL https://arxiv.org/abs/2505.10978.
- [12]Fabian Gloeckle, Badr Youbi Idrissi, Baptiste Roziere, David Lopez-Paz, and Gabriel Synnaeve. Better & faster large language models via multi-token prediction. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 15706–15734. PMLR, 2024. URL https://proceedings.mlr.press/v235/gloeckle24a.html.arxiv.org/abs/2404.19737
- [13]Anna Harutyunyan, Will Dabney, Thomas Mesnard, Mohammad Azar, Bilal Piot, Nicolas Heess, Hado van Hasselt, Greg Wayne, Satinder Singh, Doina Precup, and Remi Munos. Hindsight credit assignment, 2019. URL https://arxiv.org/abs/1912.02503.
- [14]Sirui Hong, Xiawu Zheng, Jonathan Chen, Yuheng Cheng, Ceyao Zhang, Zili Wang, Steven Ka Shing Yau, Zijuan Lin, Liyang Zhou, Chenyu Ran, Lingfeng Xiao, and Chenglin Wu. MetaGPT: Meta programming for multi-agent collaborative framework. arXiv preprint arXiv:2308.00352v1, 2023. URL https://arxiv.org/abs/2308.00352v1.
- [15]Michael Y. Hu, Benjamin Van Durme, Jacob Andreas, and Harsh Jhamtani. Sample-efficient online learning in LM agents via hindsight trajectory rewriting. arXiv preprint arXiv:2510.10304, 2025. URL https://arxiv.org/abs/2510.10304.
- [16]Fanqi Kong, Jiayi Zhang, Mingyi Deng, Chenglin Wu, Yuyu Luo, and Bang Liu. InfoPO: Information-driven policy optimization for user-centric agents. arXiv preprint arXiv:2603.00656, 2026.arxiv.org/abs/2603.00656
- [17]Filippo Lazzati, Kyle Stachowicz, William Chen, Alberto Maria Metelli, Andrew Wagenmaker, and Sergey Levine. Why does action chunking improve behavioral cloning performance in robotic control? arXiv preprint arXiv:2608.02547, 2026.arxiv.org/abs/2608.02547
- [19]Zichen Liu, Changyu Chen, Wenjun Li, Penghui Qi, Tianyu Pang, Chao Du, Wee Sun Lee, and Min Lin. Understanding rl-zero-like training: A critical perspective. arXiv preprint arXiv:2503.20783, 2025.
- [20]Chris Lu, Cong Lu, Robert Tjarko Lange, Jakob Foerster, Jeff Clune, and David Ha. The ai scientist: Towards fully automated open-ended scientific discovery. arXiv preprint arXiv:2408.06292, 2024. URL https://arxiv.org/abs/2408.06292.
- [21]Ning Lu, Baijiong Lin, Shencai Liu, Jiahao Wu, Haoze Ly, Yanbin Wei, Lingting Zhu, Shengju Qian, Xin Wang, Ying-Cong Chen, Qi Wang, and Ke Tang. Policy and world modeling co-training for language agents. arXiv preprint arXiv:2606.02388, 2026.arxiv.org/abs/2606.02388
- [22]Xufang Luo, Yuge Zhang, Zhiyuan He, Zilong Wang, Siyun Zhao, Dongsheng Li, Luna K. Qiu, and Yuqing Yang. Agent lightning: Train ANY AI agents with reinforcement learning. arXiv preprint arXiv:2508.03680, 2025. URL https://arxiv.org/abs/2508.03680.
- [23]Junhyuk Oh, Yijie Guo, Satinder Singh, and Honglak Lee. Self-imitation learning. In Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pp. 3878–3887. PMLR, 2018. URL https://proceedings.mlr.press/v80/oh18b.html.arxiv.org/abs/1806.05635
- [24]OpenAI. GPT-5 system card, 2025. URL https://openai.com/index/gpt-5-system-card/.
- [25]OpenAI. GPT-5.5 system card, 2026. URL https://openai.com/index/gpt-5-5-system-card/.
- [26]Keiran Paster, Sheila McIlraith, and Jimmy Ba. You can’t count on luck: Why decision transformers and rvs fail in stochastic environments. Advances in neural information processing systems, 35: 38966–38979, 2022.arxiv.org/abs/2205.15967
- [27]Qwen, An Yang, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chengyuan Li, Daiyiheng Liu, Fei Huang, Haoran Wei, Huan Lin, Jian Yang, Jianhong Tu, Jianwei Zhang, Jianxin Yang, Jiaxi Yang, Jingren Zhou, Junyang Lin, Kai Dang, Keming Lu, Keqin Bao, Kexin Yang, Le Yu, Mei Li, Mingfeng Xue, Pei Zhang, Qin Zhu, Rui Men, Runji Li, Tianhao Li, Tingyu Xia, Xingzhang Ren, Xuancheng Ren, Yang Fan, Yang Su, Yichang Zhang, Yu Wan, Yuqiong Liu, Zeyu Cui, Zhenru Zhang, Zihan Qiu, et al. Qwen2.5 technical report. arXiv preprint arXiv:2412.15115v1, 2024. URL https://arxiv.org/abs/2412.15115v1.
- [28]Daniel Russo. Success-conditioning as policy improvement: The optimization problem solved by imitating success. In Proceedings of the 43rd International Conference on Machine Learning (ICML), 2026. arXiv:2601.18175.arxiv.org/abs/2601.18175
- [29]Ranjan Sapkota, Konstantinos I. Roumeliotis, and Manoj Karkee. Vibe coding vs. agentic coding: Fundamentals and practical implications of agentic AI. arXiv preprint arXiv:2505.19443, 2025. URL https://arxiv.org/abs/2505.19443.
- [30]Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. DeepSeekMath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300, 2024. URL https://arxiv.org/abs/2402.03300.
- [31]Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. Reflexion: Language agents with verbal reinforcement learning. In Advances in Neural Information Processing Systems, volume 36, 2023. URL https://proceedings.neurips.cc/paper_files/paper/2023/hash/1b44b878bb782e69954cd888628510e90-Abstract-Conference.html.arxiv.org/abs/2303.11366
- [32]Mohit Shridhar, Xingdi Yuan, Marc-Alexandre Côté, Yonatan Bisk, Adam Trischler, and Matthew Hausknecht. Alfworld: Aligning text and embodied environments for interactive learning. arXiv preprint arXiv:2010.03768, 2020. URL https://arxiv.org/abs/2010.03768.
- [33]Vaishnavi Shrivastava, Piero Kauffmann, Ahmed Awadallah, and Dimitris Papailiopoulos. ECHO: Terminal agents learn world models for free. arXiv preprint arXiv:2605.24517, 2026.arxiv.org/abs/2605.24517
- [34]Harsh Trivedi, Tushar Khot, Mareike Hartmann, Ruskin Manku, Vinty Dong, Edward Li, Shashank Gupta, Ashish Sabharwal, and Niranjan Balasubramanian. AppWorld: A controllable world of apps and people for benchmarking interactive coding agents. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 2024. URL https://aclanthology.org/2024.acl-long.850/.arxiv.org/abs/2407.18901
- [35]Jiawei Wang, Jiacai Liu, Yuqian Fu, Yingru Li, Xintao Wang, Yuan Lin, Yu Yue, Lin Zhang, Yang Wang, and Ke Wang. Harnessing uncertainty: Entropy-modulated policy gradients for long-horizon llm agents. arXiv preprint arXiv:2509.09265, 2025. URL https://arxiv.org/abs/2509.09265.
- [36]Ruoyao Wang, Peter Jansen, Marc-Alexandre Côté, and Prithviraj Ammanabrolu. Scienceworld: Is your agent smarter than a 5th grader? In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pp. 11279–11298, 2022. URL https://aclanthology.org/2022.emnlp-main.775/.arxiv.org/abs/2203.07540
- [37]Yunan Wang, Minghui Song, Zihan Zhang, Shaohan Huang, Haizhen Huang, Furu Wei, Weiwei Deng, Feng Sun, and Qi Zhang. Group-graph policy optimization for long-horizon agentic reinforcement learning. arXiv preprint arXiv:2606.22995, 2026a.arxiv.org/abs/2606.22995
- [38]Zixuan Wang, Yuchen Yan, Hongxing Li, Teng Pan, Dingming Li, Ruiqing Zhang, Weiming Lu, Jun Xiao, Yueting Zhuang, and Yongliang Shen. Milestone-guided policy learning for long-horizon language agents. arXiv preprint arXiv:2605.06078, 2026b. URL https://arxiv.org/abs/2605.06078.
- [39]Jinyang Wu, Shuo Yang, Zhengxi Lu, Fan Zhang, Yuhao Shen, Lang Feng, Haoran Luo, Zheng Lian, Shuai Zhang, Zhengqi Wen, and Jianhua Tao. SEED: Self-evolving on-policy distillation for agentic reinforcement learning. arXiv preprint arXiv:2607.14777, 2026. URL https://arxiv.org/abs/2607.14777.







