a16z-infra/ai-town
A multiplayer simulation platform where LLM-powered AI characters autonomously live, chat, and socialize in a virtual town.

AI Town is a deployable starter kit for creating virtual worlds populated by autonomous AI agents. Inspired by the Generative Agents research paper, it provides a TypeScript/JavaScript framework with a built-in simulation engine, database, and vector search via Convex. Characters are powered by LLMs (configurable to use Ollama, OpenAI, or Together.ai) and engage in autonomous conversation and social interactions. The platform is designed to be extended from simple experiments to scalable multiplayer games.