Simulation / Sandbox / RPG ⚡ Runtime LLM

AI Town

Created by Convex & a16z Direct Web Game

Preview of AI Town
⚡ Runtime LLM Multi-Agent LLMs (Llama 3 / OpenAI) Convex Reactive DatabaseVector SearchPixiJS

Observe a living 2D virtual town where autonomous AI agents socialize, form relationships, and develop emergent daily routines.

Touch supported

Runs directly on the creator’s host at Convex & a16z. Zero installation, no downloads, and instant web play.

Controls & tips
⚡ Runtime LLM / ML

AI Architecture & Technology

Multi-Agent LLMs (Llama 3 / OpenAI)
Primary AI Model Multi-Agent LLMs (Llama 3 / OpenAI)
Architecture Classification Runtime LLM / ML
Tools & Frameworks
Convex Reactive DatabaseVector SearchPixiJS

Architecture & Workflow Breakdown

AI Town realizes the landmark Stanford Generative Agents paper inside a reactive browser world. Dozens of autonomous LLM-powered characters wander a 2D pixel town, storing episodic memories in vector databases, forming social circles, gossiping, and initiating emergent conversations without human scripts.

About AI Town

AI Town is an open-source generative agent sandbox inspired by Stanford groundbreaking research into simulated artificial societies. Built as a collaboration between a16z and the Convex reactive backend team, the simulation places dozens of autonomous LLM characters into a charming 2D top-down pixel hamlet. Each resident has a rich backstory, personal aspirations, and a persistent memory stream powered by vector embeddings. As the town clock ticks, characters plan their schedules, head to the local café, strike up spontaneous conversations with passersby, and remember past interactions. Rumors, invitations to parties, and philosophical debates spread organically from agent to agent. Players can pan across the town, click on any character to read their inner monologue, inspect their memory logs, or even type direct messages to introduce new ideas into the town social sphere. It offers a captivating window into the future of autonomous, living game worlds.

Controls & How to Play

Controls follow standard web interaction: mouse, touch, keyboard.

📱 Mobile touch controls supported.

Game Theater

AI Game Theater

Choose a game to begin.