one dataset · paper, tables, graph, wiki
simgrammar the grammar of simulation

mechanism

The game serializes the relevant slice of state (indicator values and their contributing modifiers, an agent's thought log and action trace, recent events) into the prompt, or exposes it through retrieval or tool calls over game data and documentation, and the model answers a player question or writes a summary. Zhang et al. first learn a compact representation of an agent's behavior from observed states and actions, then have the LLM explain from that representation, which limits hallucination and supports follow-up and what-if questions. For designers, a model can segment play logs into strategies and merge them into a graph to compare with the intended path. The explanation layer reads state and does not write it, so the simulation stays deterministic.

limitations

  • Wrong but fluent causes: models are unreliable at inferring dynamics, so explanations are only trustworthy when causes are passed in from the simulation.
  • Serializing large state (thousands of modifiers, long logs) into context is slow and costly; selection of what to include determines what can be explained.
  • Hard to QA: the answer space is open-ended, and a confident wrong explanation damages trust more than no explanation.
  • Shipped evidence is thin: known game examples are tech demos or research previews.

relations

5 stored edges
affects

Advisors

Advisors can answer arbitrary player questions about the current situation and recommend actions in context, instead of speaking a fixed catalog of threshold-triggered messages.

Deepens
affects

Agent inspection

The inspection panel can answer why an agent did something by summarizing its needs, itemized mood terms, and recent thought log into a short causal account.

Explains
affects

Causal breakdown tooltips

A long nested modifier chain can be condensed into a ranked plain-language list of the largest causes and what would change them, while the numbers still come from the simulation.

Explains
affects

History chronicle

Recorded events can be retold as biographies, recaps, or highlight summaries for the player, a commentator and reteller role.

Deepens
affects

Stats dashboards

Graph changes can be annotated with narrated causes drawn from the event log, such as which policy or disaster preceded a drop.

Explains

backlinks

computed from other records

claims

6 with sources
c01medium

Explanations generated from a learned behavior representation plus an LLM were rated about as helpful as a human domain expert's, with little hallucination, and supported clarification and counterfactual follow-ups.

src-zhang-2023-explaining-agent-behavior

c02medium

NVIDIA lists a Total War: PHARAOH AI advisor that helps players learn the game's systems using a small on-device model connected to game data; no public release date was found.

src-nvidia-2026-ace-developer-page

c03high

SIMA 2 explains its intended steps and answers questions about its behavior and environment in commercial 3D games.

src-deepmind-2025-sima-2-blog

c04high

GPT-4 converted 28 players' logs into narrative graphs, letting designers count 53 player-created narrative nodes that their design did not include.

src-peng-2024-player-driven-emergence

c05high

GPT-4 predicted whole text-game state transitions correctly at most 59.9% of the time and environment-driven changes at most 49.7%, so explanations of dynamics must be computed by the simulation and narrated, not inferred by the model.

src-wang-2024-text-world-simulators

c06medium

A 2024 survey found research on LLM commentators and retellers of game events rather limited.

src-gallotta-2024-llms-games-survey

sources

6
Xijia Zhang, Yue Guo, Simon Stepputtis (2023-09-19). Explaining Agent Behavior with Large Language Models. arXiv
NVIDIA (2026). NVIDIA ACE for Games. NVIDIA Developer
Google DeepMind SIMA Team (2025-11-13). SIMA 2: An Agent that Plays, Reasons, and Learns With You in Virtual 3D Worlds. Google DeepMind blog
Xiangyu Peng, Jessica Quaye, Sudha Rao (2024-04-25). Player-Driven Emergence in LLM-Driven Game Narrative. arXiv
Ruoyao Wang, Graham Todd, Ziang Xiao (2024-06-10). Can Language Models Serve as Text-Based World Simulators?. arXiv
Roberto Gallotta, Graham Todd, Marvin Zammit (2024). Large Language Models and Games: A Survey and Roadmap. IEEE Transactions on Games

provenance

runs in log/runs
2026-10-24
created2026-10-24-techniques-llm-agentstechnique