AI Town depicts a virtual town where AI characters live, chat, and socialize.
a16z-infra/ai-town
AI Town is a deployable starter kit for building a virtual town where AI characters live and socialize.

About a16z-infra/ai-town
AI Town is an MIT-licensed, deployable starter kit for building and customizing a virtual town where AI characters live, chat and socialize. It is inspired by the Generative Agents research paper and provides a JavaScript/TypeScript base with shared global state, transactions, and a simulation engine.
Use requires deploying the Convex backend and connecting it to a language model, with support for local inference and OpenAI API-compatible cloud models.
Key features
- Customizable virtual town where AI characters live and socialize
- Backend with shared global state, transactions, and simulation engine
- Local inference via Ollama with default llama3 chat model
- Support for cloud LLMs speaking OpenAI API, including Together.ai
- Optional Clerk authentication for deployments
- Deployment options for Convex cloud, Docker Compose, and Fly.io
- MIT-licensed starter kit intended to be customized and extended
- Works with local inference and OpenAI API-compatible cloud models
- Multiple deployment paths including self-hosted Docker Compose
- Requires building, deploying, and connecting to a language model
- Standard cloud development requires a Convex account
a16z-infra/ai-town at a glance
- Category
- AI & Machine Learning › AI Agents & Automation
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Yes · Source code
- Language
- English
- Last checked
- Oct 5, 2026 · Online when checked
- Listed
- Oct 5, 2026
a16z-infra/ai-town alternatives
Tools and sites you could use instead, ranked by how closely they match.
AgentScope helps developers build and run AI agents with tools for understanding their behavior.
llm-wiki-agent builds and maintains a personal knowledge base from user-provided sources.
Ailoy provides a library for building AI agents and related applications.
This repository provides code for building agents controlled by large language models.
AG2 offers open source tools for building and coordinating AI agent systems.
Popular in AI Agents & Automation
Well-known listings from the same topic.
a16z-infra/ai-town FAQ
What is required to run AI Town?
Which language models can it use?
Can it be run without a Convex account?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.












