A MIT-licensed, deployable starter kit for building and customizing your own version of AI town - a virtual town where AI characters live, chat and socialize.
AI Town is a virtual town where AI characters interact with each other. It is a deployable starter kit that allows users to build and customize their own version of AI Town. The project is inspired by the research paper “Generative Agents: Interactive Simulacra of Human Behavior.” The primary goal of AI Town is to provide a platform that can be extended and customized easily. The back-end of AI Town supports shared global state, transactions, and a simulation engine, making it suitable for both simple projects and scalable, multi-player games. Additionally, it offers a JavaScript/TypeScript framework, making it accessible to developers familiar with these languages.
VITE_CLERK_PUBLISHABLE_KEY
and CLERK_SECRET_KEY
to your .env.local
file.OPENAI_API_KEY
environment variable in your Convex deployment.REPLICATE_API_TOKEN
in your Convex environment variables.CLERK_ISSUER_URL
.npm run dev
command. The application will be accessible at http://localhost:5173.AI Town is a deployable starter kit for building and customizing a virtual town where AI characters interact with each other. It provides a strong foundation, supporting shared global state, transactions, and a simulation engine, making it suitable for various projects ranging from simple prototypes to scalable, multi-player games. The project is inspired by a research paper on generative agents and aims to provide a platform that can be extended and customized easily. With a JavaScript/TypeScript framework, AI Town is accessible to developers familiar with these languages. The installation process requires setting up Clerk, obtaining an OpenAI API key, and configuring environment variables for the Convex backend. Once installed, the application can be run locally for testing and development purposes.