AI town starter kit for building a virtual world
Top 6.0% on sourcepulse
AI Town is a deployable starter kit for creating a virtual world populated by AI characters that interact and socialize, inspired by the "Generative Agents" research paper. It targets developers and researchers looking to build and customize their own AI-driven simulations, offering a robust foundation for scalable, multi-player experiences and a JavaScript/TypeScript framework as an alternative to Python-based simulators.
How It Works
The project utilizes Convex as its backend, providing a hosted platform with a built-in database, real-time capabilities, and support for shared global state and transactions. AI characters' interactions, memory, and decision-making are powered by configurable Large Language Models (LLMs) like Llama3 (default) or OpenAI, with PixiJS handling rendering and user interface interactions. Background music generation is integrated via Replicate's MusicGen.
Quick Start & Requirements
npm install
followed by npm run dev
for local development.Highlighted Details
Maintenance & Community
The project is actively maintained by a16z-infra. Community support is available via a dedicated Discord server.
Licensing & Compatibility
Limitations & Caveats
5 months ago
Inactive