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

mechanism

Each agent appends observations as natural-language records to a memory stream. To act or speak, it retrieves records by a score that sums min-max normalized recency (exponential decay, factor 0.995 per game hour), importance (an LLM rating from 1 to 10 made when the record is stored), and relevance (embedding cosine similarity to the current situation), all with weight 1. When the summed importance of recent records exceeds 150, roughly two or three times a game day, the agent asks the LLM for high-level questions and inferences and stores the answers as reflections that can be retrieved like observations. Planning is top-down: a daily sketch is decomposed into hour chunks and then 5-15 minute actions, and the plan is revised when a perceived event warrants a reaction. Dialogue is generated from retrieved memories about the other agent. Cost-reduction variants replay stored plan-action sequences when a new plan matches an old one by embedding similarity and compress social context into short summaries, cutting LLM calls.

limitations

  • Cost and wall-clock time: 25 agents over two game days cost thousands of dollars and took days to run on gpt-3.5-turbo (2023 prices).
  • Retrieval failures and embellishment: agents sometimes miss relevant memories or add fabricated details to recalled events.
  • Instruction-tuned models make agents overly formal and cooperative, and agents misread location norms such as single-occupancy bathrooms or closing hours.
  • Each agent step is several sequential LLM calls (importance rating, retrieval-conditioned action, dialogue, reflection), so per-agent latency is seconds, which limits real-time populations unless calls are cached or batched.
  • Behavior is not reproducible from a seed with hosted models; replays and saves must store generated outputs.

relations

11 stored edges
affects

Agent inspection

Because an agent's state is natural-language memories, plans, and reflections, the player or designer can read them directly or interview the agent about why it acted, which is how the original paper evaluated believability.

Explains
affects

Aspirations and wants

Wants generated from an agent's own memories and reflections rather than rolled from a fixed table tied to an aspiration.

Enables new form
affects

Daily schedules

Each agent writes its own day plan from its description and memories, decomposed into hour and 5-15 minute steps and revised on events, in place of authored routine tables; the player still sees rhythms of work, meals, and leisure.

Replaces substrate
affects

Gossip propagation

Information moves through generated conversations whose content comes from memory retrieval, so what spreads, to whom, and how it is reworded emerge from dialogue; in Smallville party awareness rose from 4% to 52% of agents with 1.3% hallucinated answers.

Deepens
affects

Memories and thoughts

Memories become free-text records with LLM-rated importance, retrieved by recency, importance, and relevance, plus reflections that summarize many records into beliefs, instead of a fixed catalog of timed mood modifiers.

Enables new form
affects

Off-screen life progression

Memory streams summarized at low frequency give off-screen characters histories that persist when the player returns.

Deepens
affects

Relationship values

Relationships are held as remembered interactions and reflections about another agent rather than a numeric affinity, so a relationship's state is a set of retrievable facts; Smallville's acquaintance network density rose from 0.167 to 0.74 in two days.

Replaces substrate
affects

Social exchanges

Agents open-endedly converse, invite, and coordinate (for example planning and attending a party) without a predefined catalog of social moves and preconditions.

Enables new form
affects

Utility action selection

The next action is chosen by prompting with the current plan step, perceived surroundings, and retrieved memories rather than by scoring options against need curves, so choices can reference past events and other agents.

Replaces substrate
deployed in

backlinks

computed from other records

claims

5 with sources
c01high

In Smallville, 25 agents on gpt-3.5-turbo were rated for believability by 100 human raters (TrueSkill): full architecture 29.89, no reflection 26.88, no reflection or planning 25.64, human crowdworkers role-playing 22.95, no memory, planning, or reflection 21.21.

src-park-2023-generative-agents

c02high

Over two game days, knowledge of a seeded party spread from 1 to 13 of 25 agents and of a mayoral candidacy from 1 to 8, network density rose from 0.167 to 0.74, five of twelve invited agents attended the party, and 1.3% of 453 awareness answers were hallucinated.

src-park-2023-generative-agents

c03high

The simulation cost thousands of dollars in token credits and took multiple days of wall-clock time for 25 agents.

src-park-2023-generative-agents, src-gallotta-2024-llms-games-survey

c04high

Affordable Generative Agents used 31.1% of the baseline's tokens for a 3-agent town over two game days and 42.7% for the 25-agent town, by replaying cached plan-action policies (embedding match at cosine 0.97) and compressing about 2,000 prompt tokens of social context to about 100.

src-yu-2024-affordable-generative-agents

c05medium

NVIDIA describes inZOI's Smart Zois as agents that plan, act, and reflect on their decisions using small language models, and inZOI's Steam disclosure says character actions and thoughts can be influenced through an on-device SLM.

src-nvidia-2026-ace-developer-page, src-steam-2025-inzoi

sources

5
Joon Sung Park, Joseph C. O'Brien, Carrie J. Cai (2023-04-07). Generative Agents: Interactive Simulacra of Human Behavior. UIST '23 (ACM Symposium on User Interface Software and Technology)
Yangbin Yu, Qin Zhang, Junyou Li (2024-02). Affordable Generative Agents. arXiv
Roberto Gallotta, Graham Todd, Marvin Zammit (2024). Large Language Models and Games: A Survey and Roadmap. IEEE Transactions on Games
NVIDIA (2026). NVIDIA ACE for Games. NVIDIA Developer
inZOI Studio (2025-03). inZOI on Steam. Steam

provenance

runs in log/runs
2026-10-24
created2026-10-24-techniques-llm-agentstechnique
2026-10-24
reviewed2026-10-24-technique-linkstechnique
2026-10-24
reviewed2026-10-24-review-fixesmaintenance