Paper commentary
Generative Agents: Interactive Simulacra of Human Behavior
- Problem Believable simulated people need coherent behavior over long periods, which a single prompt to a large language model does not provide.
- Method Stores experiences as natural language in a memory stream, retrieves them by relevance, recency and importance, reflects on them into higher-level inferences, and plans top-down with a large language model.
- Results The full architecture reached a TrueSkill mean of 29.89 (σ 0.72), above 22.95 for the crowdworker condition.
Why believable agents stall over long horizons
Believable proxies of human behavior have been a goal for game characters and simulated communities for decades, yet hand-authored behavior becomes untenable once the world is open. A language model can produce plausible behavior for a single moment, but that is not the same as staying consistent with what a character has lived through. The missing piece is memory: the agent has to retrieve events from a long period, reflect on them, and turn the result into plans that fit both the current moment and the longer arc of its behavior.
The study sets up a sandbox town of 25 agents, which is small enough to simulate and large enough to produce social interaction. The first question is whether individual agents look believable when probed in isolation through interviews. The second is whether the agents, interacting openly over two game days, remain stable and show emergent social behavior.
How memory, retrieval, reflection and planning feed each other
Every observation and every other record is written to a memory stream as a natural language entry, so the agent keeps a complete log of what it has experienced. Before each decision, a retrieval model scores stored records on relevance, recency and importance, and only the top-scoring records are passed on to inform the next behavior.
Reflection is a separate pass over the memory stream that turns groups of records into higher-level inferences about the agent itself and the people around it. Reflections can take other reflections as input, so the result is a tree whose leaves are raw observations and whose upper nodes are more abstract. Those reflections are written back into the memory stream, so later retrieval can surface them alongside ordinary observations.
Planning starts from a broad agenda for the day, built from the agent's summary description and a summary of the previous day, with about five to eight chunks. Each chunk is then decomposed recursively, first into hour-long actions and then into five to fifteen minute steps, and the plan itself is stored in the memory stream. At every step the agent checks whether an new observation calls for a reaction; if it does, the plan is regenerated from the moment of that reaction.
The planning step addresses a specific failure. When a language model is asked each moment what to do, Klaus eats lunch at 12 pm, again at 12:30 pm and again at 1 pm, despite having already eaten. Choosing the best action locally therefore breaks consistency over time, and the top-down plan is what prevents this repetition.
Seed memories, environment grounding and dialogue generation
Each agent begins from a single paragraph describing its identity, occupation and relationships, and every semicolon-separated phrase becomes one initial memory. The sandbox world is held as a tree of areas and objects, where an edge means containment, and this tree is rendered as sentences such as a stove being in the kitchen. A server keeps a JSON record of each agent's location, current action and the object it uses, and sends each agent the nearby agents and objects inside its visual range.
Each action is written as a natural language statement, which is turned into movement in the world and into a set of emojis shown above the avatar. When a user changes an object's status in natural language, the agent notices the change at its next step and reacts to it.
When two agents talk, each utterance is conditioned on the speaker's summarized memory of the listener and on the dialogue so far. In the example, John's opening question about Eddy's composition is generated from his memory of Eddy, and Eddy then decides whether to answer using his memory of John.
A simulated day and the social threads it produces
The figure caption describes the same morning as beginning around 6 am, so the two sources differ on the wake-up time. Figure 3 shows this routine and the brief exchanges with his wife and son before he heads to work.
Eddy leaves for class at 8 a.m., and John's question about Eddy's composition is followed by Mei asking about it when she joins John. The exchange shows the family members carrying a shared fact forward, because John recalls the conversation with Eddy when Mei asks.
Later, Tom and John, who heard the news elsewhere, discuss Sam's chances, which shows the information reaching agents through more than one path.
Isabella is seeded with an intent to host a Valentine's Day party from 5 to 7 p.m. on February 14th, and she invites people she meets. Maria agrees to help decorate the cafe for the party, so the seed produces coordination among several agents. Figure 4 depicts the party that results from this seed, with a number of agents gathering and interacting.
Believability ratings under ablation
The technical evaluation interviews each agent in natural language about its knowledge and behavior, probing memory, planning, reaction and reflection. Ablated variants remove access to memory, reflection or planning, and the full architecture is compared with these variants and with a crowdworker condition. Each condition's believability is modeled as a skill value with a mean μ and a standard deviation σ using TrueSkill, which lets the conditions be compared on one scale.
The full architecture reached μ = 29.89 with σ = 0.72. Removing reflection gave μ = 26.88 with σ = 0.69, and removing reflection and planning gave μ = 25.64 with σ = 0.68. Each removal lowers the mean, so the ordering follows the number of components kept.
A Kruskal-Wallis test over the believability conditions gave H(4) = 150.29 with p < 0.001, which indicates differences in ranks across conditions. Dunn post-hoc tests found every pairwise difference significant at p < 0.001, except between the crowdworker condition and the fully ablated baseline, the two lowest-scoring conditions. Comparing the condition that resembles prior work, with no memory, planning or reflection, against the full architecture gives a standardized effect size of d = 8.16, which the authors describe as eight standard deviations.
The authors read the ablation pattern as evidence that each component matters for performance on these interview tasks, and that removing one lowers believability. The ratings come from interviews in one controlled setting, so the result describes these ablations and this rating procedure rather than believability in general.
Where memory and reflection change interview answers
Abigail Chen introduces herself as a 25-year-old animator with an interest in creative projects, and she describes her interests consistently. Without access to observational memory, Abigail denies knowing Rajiv Patel, while with memory she recalls him and describes him.
Retrieval sometimes misses relevant records: Rajiv Patel says he has not followed the election closely, although he had heard about Sam's candidacy. Retrieval can also return only part of a memory: Tom recalls that he needs to discuss the election with Isabella at the party, but not that he heard about the party, so he is unsure the party exists.
Some answers go beyond the stored memories. Isabella confirms Sam's candidacy but adds that he will make an announcement tomorrow, which was not discussed between them. Yuriko's description of her neighbor Adam Smith as an economist who wrote Wealth of Nations draws on what the underlying model knows about the historical economist of that name.
Asked what to give Wolfgang Schulz for his birthday, Maria Lopez without reflection admits she does not know his tastes, although they have had many interactions. With reflection memories, Maria suggests a music composition book or software, grounded in Wolfgang's interest in mathematical music composition. These are single interview cases, so they illustrate the failure modes and the reflection effect rather than measuring their frequency.
Information spread and ties over two game days
The deployment lets 25 agents interact continuously over two full game days in Smallville. Two pieces of information are tracked: Sam's candidacy for village mayor and Isabella's Valentine's Day party at Hobbs Cafe, each known at the start only to its originator. At the end of the two days, each of the 25 agents is interviewed about the party and about who is running for mayor, and each answer is labeled yes or no.
Each yes answer is checked by locating the matching dialogue in the agent's memory stream, and the share of agents holding each piece of information at the end is reported.
Relationship formation is measured by asking each agent whether it knows every other agent, once at the start and once at the end. A pair counts as having formed a relationship only when both agents know of each other, and the responses form an undirected graph of ties. Klaus's answer about Maria, that she is a close friend from Oak Hill College, is one such affirmative response and was checked against his memory stream.
Over the simulation, Sam's candidacy becomes a common topic, with some agents supporting him and others remaining undecided. The excerpt's description of this spread is qualitative, and the percentages of agents who hold each piece of information are not given in the cited text.
Limits of cost, timescale and robustness
Simulating 25 agents for two days cost thousands of dollars in token credits and took multiple days to complete. Real-time interactivity is therefore limited, and the authors suggest parallelizing agents or building language models for generative agents as remedies.
The assessment covers a relatively short timescale, and the crowdworker condition is not the maximal human performance, so it is not a gold standard for believability. Longer observation, other underlying models and other hyperparameters are left for future work.
The robustness of generative agents is largely unknown; prompt hacking, memory hacking and hallucination are named as risks that were not tested here. Because the agents inherit the biases of their underlying language models, they may show biased behavior and may struggle to be believable for marginalized populations. The authors also note that the conversational style can feel overly formal, which they attribute to instruction tuning in the underlying models.
Paper info
- Authors
- Joon Sung Park, Joseph C. O'Brien, Carrie J. Cai, Meredith Ringel Morris, Percy Liang, Michael S. Bernstein
- Venue
- arXiv · Preprint
- First published
- 2023-4-7
- Added
- 2026-10-20
- Updated
- 2023-8-6
- Version
- v2
- arXiv
- 2304.03442
- Category
- cs.HC · cs.AI · cs.LG
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Joon Sung Park, Joseph C. O'Brien, Carrie J. Cai, Meredith Ringel Morris, Percy Liang, Michael S. Bernstein (2023). Generative Agents: Interactive Simulacra of Human Behavior. arXiv:2304.03442v2. https://arxiv.org/abs/2304.03442v2
BibTeX
@misc{park2023generative,
title = {{Generative Agents: Interactive Simulacra of Human Behavior}},
author = {Joon Sung Park and Joseph C. O'Brien and Carrie J. Cai and Meredith Ringel Morris and Percy Liang and Michael S. Bernstein},
year = {2023},
eprint = {2304.03442},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2304.03442v2}
}