A town built from memories
Generative Agents placed 25 language-model-driven characters in a small virtual town. The characters carried records of experiences, retrieved relevant memories, formed higher-level reflections, and used them to plan what to do next. In the paper's demonstration, a simple suggestion about a party spread into invitations and coordinated social activity.
The architecture matters more than the charming scene. Observation, reflection, and planning were each tested through ablations, and the authors report that each contributed to believable behavior. The work opened a way to study interactive agents that sustain a story across time rather than responding to one prompt at a time.
Read it with the code
The official repository contains the simulation module and environment. Trace how memories are stored, ranked, and retrieved before the next action is chosen. The code also makes clear that “believable” is a design and evaluation target; it is not evidence that a simulated person has human understanding or that the town predicts real communities.
The paper is worth reading alongside current AI companion debates because it shows how continuity and apparent sociality can be engineered from components.
Read the original.
Every story starts with a source. Check the methods and claims for yourself.
Read the paper · arXiv:2304.03442 ↗Official Generative Agents code ↗