From Traces to Agentic Worlds: Agentic Language World Models for Interactive Environment Simulation

Quanyu Long, Xiao Chen, Jianda Chen, Haozhen Zhang, Qisheng Hu, Jianzhu Bao, Wenya Wang

Nanyang Technological University · The Hong Kong Polytechnic University

Published October 5, 2026 · on the feed October 9, 2026 · ▲ 107 · arXiv 2610.06100

3D, worlds & gamesAgents Full code arXiv ↗Hugging Face ↗

The abstract

Realistic environment replicas are increasingly valuable for training and evaluating LLM agents, yet the original systems may be inaccessible or impractical to reproduce. We explore agentic language world modeling: rather than rebuilding an executable environment, a world model agent serves as the environment for a task agent and supports faithful and stateful simulation. We instantiate this paradigm with Trace2Env, a learning-free framework for settings where the original system is unavailable but historical interaction traces remain accessible. Trace2Env reconstructs these traces into a reusable environment worldbook containing environment schemas, grounded evidence, and induced behavioral knowledge. At runtime, the world model agent actively consults the worldbook together with persistent episodic state to infer each action's observation and lasting state effects. Across nine environments, Trace2Env improves both next-observation fidelity and long-horizon interaction consistency over conventional prompt-based LWMs. In multi-turn interaction, task agent actions generated against Trace2Env remain valid more often when replayed in the real environment, indicating that its simulated dynamics better preserve the consequences of earlier actions across successive turns. These results establish agentic language world modeling as an alternative direction for building realistic environment replicas without reconstructing the original executable system.

The Brief

2:24

A short podcast summary of the paper. Written and voiced by AI.

Transcript

From Traces to Agentic Worlds. Agentic Language World Models for Interactive Environment Simulation. By Quanyu Long and six others, from Nanyang Technological University and the Hong Kong Polytechnic University. Published on the fifth of October. Its code repository is worked out: about one hundred and seventy source files, with a readme and a licence.

Realistic replicas of software environments are increasingly valuable for training and evaluating language model agents. The trouble is that the original systems may be inaccessible, or impractical to reproduce. Sometimes all that survives of a system is a record of how people and agents interacted with it: historical traces, with no executable environment left to run.

The authors explore what they call agentic language world modeling. Rather than rebuilding an executable environment, a world model agent serves as the environment for a task agent, and supports simulation that is both faithful and stateful. They instantiate the idea as Trace2Env, a learning-free framework aimed squarely at the case where the original system is unavailable but its interaction traces remain.

Trace2Env works in two phases. First it reconstructs the traces into a reusable environment worldbook. The worldbook holds environment schemas, grounded evidence, and induced behavioral knowledge about how the environment tends to respond. Then, at runtime, the world model agent actively consults that worldbook together with a persistent episodic state. From both, it infers what observation each action should produce and what lasting effect the action has on the state. The episodic state is what lets one turn's consequences carry into the next.

Across nine environments, Trace2Env improves both next-observation fidelity and long-horizon interaction consistency over conventional prompt-based language world models. The multi-turn test is the telling one. Actions a task agent generated against Trace2Env remain valid more often when they are replayed in the real environment. The authors read this as evidence that the simulated dynamics better preserve the consequences of earlier actions across successive turns.

Here a replica is something an agent maintains, not a program someone rebuilds. Give a world model a structured memory of past traces and a running state, and it can stand in for a system that no longer runs. The authors present this as an alternative direction for building realistic environment replicas without reconstructing the original executable system.

Paper Quest · 7 chapters · about 40 min

Play this paper

Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.

Chapter 1 🧩 · The problem

The system is gone. Only its logs remain. Can you still give agents somewhere real to practise?

You want a realistic replica of a software system to train and test agents. But its code, data or infrastructure are unavailable, so you cannot run it again.

The road ahead

  1. 1 · The problem ~6 min You need a working copy of a software system to train agents, but the system is gone and only logs of past use remain.
  2. 2 · What came before ~3 min
  3. 3 · The key idea ~9 min Turn old traces into a reusable worldbook, let a world model agent consult it to play the environment, and keep each episode's state.
  4. 4 · Choose your own research ~3 min
  5. 5 · Build the method ~8 min Gather traces, build a fixed worldbook offline, then at each turn consult it with episode state to predict the reply and the state change.
  6. 6 · The experiment ~6 min You’ll guess: When a task agent's actions produced inside Trace2Env were replayed in the real environment, how did they fare compared with those from prompt-based simulators?
  7. 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Join free to play the whole quest ›

Free, with Google or an email address. Your stars and progress are kept.

KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.