https://arstechnica.com/information-technology/2023/04/surprising-things-happen-when-you-put-25-ai-agents-together-in-an-rpg-town/ Skip to main content * Biz & IT * Tech * Science * Policy * Cars * Gaming & Culture * Store * Forums Subscribe [ ] Close Navigate * Store * Subscribe * Videos * Features * Reviews * RSS Feeds * Mobile Site * About Ars * Staff Directory * Contact Us * Advertise with Ars * Reprints Filter by topic * Biz & IT * Tech * Science * Policy * Cars * Gaming & Culture * Store * Forums Settings Front page layout Grid List Site theme light dark Sign in love and heartbreak in smallville -- Surprising things happen when you put 25 AI agents together in an RPG town Researchers study emergent AI behaviors in a sandbox world inspired by The Sims. Benj Edwards - Apr 11, 2023 7:49 pm UTC A screenshot of the Enlarge / A screenshot of the "Generative Agents" demo where 25 AI-controlled characters live out life in a town called Smallville. J.S. Park, J.C. O'Brien, C.J. Cai, M. Morris, P. Liang, M.S. Bernstein reader comments 54 with Share this story * Share on Facebook * Share on Twitter * Share on Reddit A group of researchers at Stanford University and Google have created a miniature RPG-style virtual world similar to The Sims, where 25 characters, controlled by ChatGPT and custom code, live out their lives independently with a high degree of realistic behavior. They wrote about their experiment in a preprint academic paper released on Friday. Further Reading OpenAI invites everyone to test ChatGPT, a new AI-powered chatbot--with amusing results "Generative agents wake up, cook breakfast, and head to work; artists paint, while authors write; they form opinions, notice each other, and initiate conversations; they remember and reflect on days past as they plan the next day," write the researchers in their paper, "Generative Agents: Interactive Simulacra of Human Behavior." To pull this off, the researchers relied heavily on a large language model (LLM) for social interaction, specifically the ChatGPT API. In addition, they created an architecture that simulates minds with memories and experiences, then let the agents loose in the world to interact. And humans can interact with them, too. Examples of interactions in Smallville from the Generative Agents paper. Enlarge / Examples of interactions in Smallville from the Generative Agents paper. J.S. Park, J.C. O'Brien, C.J. Cai, M. Morris, P. Liang, M.S. Bernstein "Users can observe and intervene as agents plan their days, share news, form relationships, and coordinate group activities," they write. It's the work of Joon Sung Park, Joseph C. O'Brien, Carrie J. Cai, Meredith Ringel Morris, Percy Liang, and Michael S. Bernstein. Computer and video games have included computer-controlled characters since the 1970s, but never before have they been able to simulate a social environment with the complexity of natural language that might now be possible thanks to generative AI models like ChatGPT. While the group's research is not necessarily a "game," it could be a prototype of a future where dynamic RPG characters interact in complex and unexpected ways. Advertisement "Imagine killing an NPC and coming back to the city and seeing a funeral for them," joked a Twitter user named Dennis Hansen when replying to a thread about the paper's emergent implications. Judging by this research, that might not be a far-fetched scenario. Life in Smallville To study the group of AI agents, the researchers set up a virtual town called "Smallville," which includes houses, a cafe, a park, and a grocery store. For human interaction purposes, the world is represented on screen from an overhead view using retro-style pixel graphics reminiscent of a classic 16-bit Japanese RPG. A diagram of "Smallville" from the Generative Agents paper. Enlarge / A diagram of "Smallville" from the Generative Agents paper. J.S. Park, J.C. O'Brien, C.J. Cai, M. Morris, P. Liang, M.S. Bernstein Smallville is home to a community of 25 distinct individuals, each represented by a basic sprite avatar. To capture each agent's identity and their connections with other members of the community, the researchers created a paragraph of natural language description as a seed memory. These descriptions include details about each agent's occupation and relationships with other agents. For example, here's an excerpt of one such seed memory provided in the paper: John Lin is a pharmacy shopkeeper at the Willow Market and Pharmacy who loves to help people. He is always looking for ways to make the process of getting medication easier for his customers. John Lin is living with his wife, Mei Lin, who is a college professor, and son, Eddy Lin, who is a student studying music theory. John Lin loves his family very much. As a virtual environment, Smallville is broken into both areas and objects. Human users can enter the world as an existing or new agent, and both users and agents can influence the state of objects through actions. Human users can also interact with AI agents through conversation or by issuing directives as an "inner voice." Users communicate in natural language, specifying a persona that the agent perceives them as, or can use the inner voice to influence the agent's actions. Page: 1 2 Next - reader comments 54 with Share this story * Share on Facebook * Share on Twitter * Share on Reddit Benj Edwards Benj Edwards is an AI and Machine Learning Reporter for Ars Technica. For over 16 years, he has written about technology and tech history for sites such as The Atlantic, Fast Company, PCMag, PCWorld, Macworld, How-To Geek, and Wired. In 2005, he created Vintage Computing and Gaming. He also hosted The Culture of Tech podcast and contributes to Retronauts. Mastodon: benjedwards@mastodon.social Twitter @benjedwards Advertisement Promoted Comments [avatar] Fred Duck One very promising usecase for ChatGPT is dialogues for NPCs in videogames, especially in low-budget games. No more single-line-of-text NPCs! I used to be a commenter just like you, then I took an arrow to the knee. April 11, 2023 at 9:33 pm Channel Ars Technica - Previous story Next story - Related Stories Today on Ars * Store * Subscribe * About Us * RSS Feeds * View Mobile Site * Contact Us * Staff * Advertise with us * Reprints Newsletter Signup Join the Ars Orbital Transmission mailing list to get weekly updates delivered to your inbox. Sign me up - CNMN Collection WIRED Media Group (c) 2023 Conde Nast. All rights reserved. Use of and/or registration on any portion of this site constitutes acceptance of our User Agreement (updated 1/1/20) and Privacy Policy and Cookie Statement (updated 1/1 /20) and Ars Technica Addendum (effective 8/21/2018). Ars may earn compensation on sales from links on this site. Read our affiliate link policy. Your California Privacy Rights | Do Not Sell My Personal Information The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of Conde Nast. Ad Choices