Awesome AI AgentsVirtual Town AI

a16z-infra/ai-town

⭐ 10485 TypeScript added to this list on 2025-04-19 repository created 2023-07-16

AI Town is an innovative, MIT-licensed deployable starter kit designed to create and customize a virtual town inhabited by AI characters that live, chat, and socialize. Inspired by the research paper "Generative Agents: Interactive Simulacra of Human Behavior," this project aims to provide a robust platform that can be extended for various uses, from simple experiments to scalable multiplayer games. The backend supports shared global state, transactions, and a simulation engine, making it versatile and powerful for developers. The project is built on a modern stack including Convex for the game engine, database, and vector search, Clerk for optional authentication, and supports multiple large language models (LLMs) such as llama3, Ollama for local inference, and cloud LLMs like OpenAI and Together.ai. It also integrates background music generation using Replicate's MusicGen and pixel art generation tools, with rendering powered by PixiJS. The project offers multiple deployment options including local development, Docker Compose for self-hosted Convex backend, and cloud deployment on Fly.io. It provides detailed installation instructions, including Windows prerequisites and configuration for connecting to various LLMs. The project encourages customization of the simulated world and supports a JavaScript/TypeScript framework, making it accessible for web developers. The repository includes assets and credits for pixel art and UI elements, enhancing the visual appeal of the virtual town. Overall, AI Town is a comprehensive, fun, and extensible platform for building interactive AI-driven virtual environments.

https://github.com/a16z-infra/ai-town

ai-charactersai-townauthenticationbackground-music-generationchatclerkcloud-llmconvexcustomizationdeployable-starter-kitdeploymentdocker-composefly.iogame-enginegenerative-agentsinteractive-aijs/ts-frameworkllama3local-inferencemusicgenollamaopenaipixel-artpixijsreplicatescalable-multiplayer-gameshared-global-statesimulation-enginesocializetogether.aitransactionsvector-searchvirtual-environmentvirtual-town

Also in Virtual Town AI

arturitu/the-delegation

The Delegation is a no-code 3D playground where teams of Gemini-powered agents are designed in a node editor and then act as embodied characters in a WebGPU office simulation with human-in-the-loop review steps.