Analysis updated 2026-05-18
Run a multi-agent simulation to study how AI agents with memory and routines interact in a shared virtual environment.
Create shareable demo animations of agent behavior by saving and replaying simulation states.
Research emergent social dynamics and believable human-like interactions in a controlled sandbox town.
| joonspk-research/generative_agents | automaapp/automa | samber/lo | |
|---|---|---|---|
| Stars | 21,251 | 21,271 | 21,227 |
| Language | — | Vue | Go |
| Setup difficulty | moderate | easy | easy |
| Complexity | 4/5 | 2/5 | 2/5 |
| Audience | researcher | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires OpenAI API key and Django setup, simulation runtime depends on API quota and response times.
Generative Agents is the research code that accompanies the academic paper "Generative Agents: Interactive Simulacra of Human Behavior." It is a working simulation of small computational characters, the project calls them generative agents, that try to act in believable, human-like ways inside a tiny virtual town named Smallville. You can watch them move around the map, go about routines, and interact with each other. The point is to study how language-model-driven agents can produce plausible social behavior over long stretches of simulated time. Under the hood the project is split into two pieces that run side by side. One is a frontend environment server, built as a Django web project, which renders the town map in your browser. The other is a backend simulation server, a Python program called reverie.py, which actually drives the agents' thinking and decisions by calling out to OpenAI's API. You start both servers, pick a starting scenario (for example, a three-agent setup with Isabella Rodriguez, Maria Lopez, and Klaus Mueller), tell it how many in-game steps to run, and then watch the agents act. Each step represents about ten seconds of in-game time. Simulations can be saved, resumed from a checkpoint, replayed step by step in the browser, or compressed into a tidier demo version with proper character sprites. This is a research artifact rather than a polished product. It needs an OpenAI API key, was tested on Python 3.9.12, and the authors warn that runs can get costly when many agents are involved. It is best suited for researchers, students, or builders who want to study or experiment with simulated AI-driven social behavior.
A research simulation where AI agents with memories and routines live in a virtual town and interact like humans, powered by OpenAI's API.
Use freely for any purpose including commercial. Keep the notice and disclose changes to the patent grant.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.