AI Town
Deployable starter kit for a virtual town of AI characters.
Overview
AI Town from a16z simulates characters who live, chat and remember in a 2D town, inspired by the Generative Agents paper. It runs on Convex and works with Ollama locally or OpenAI, Together and other compatible APIs.
- Agent memory
- Custom characters
- Multiplayer town
- Local model option
Our verdict
What we like
- Fun base for experiments
- MIT licensed
Watch out for
- More starter kit than product
Works with these providers
Keys from these providers work in this app. Usage is billed by the provider at its list price.
BYOK Key Safety Score
Key handling in AI Town
Grade B
Your key is stored by the service (usually encrypted) and requests may route through its servers.
- Key storage18/40
Key is held by the vendor, so you rely on their security.
- Auditable code25/25
Open source: anyone can verify how keys are handled.
- Self-hosting15/15
Can run entirely on your own infrastructure.
- Offline option10/10
Supports local models, so no key is needed at all for private work.
- Provider choice8/10
4 provider options, which lets you pick the provider whose data terms you trust.
Whatever the score, give each app its own key, set a monthly spend limit with your provider, and revoke keys you no longer use. Read the key-safety checklist.
AI Town FAQ
- Does AI Town support bring your own key?
- Yes. AI Town accepts your own API key from Ollama, OpenAI, Together AI and OpenAI-compatible. Usage is billed by the provider at its API rates.
- Where does AI Town store my API key?
- On the vendor's servers, and requests may be routed through them. Its BYOK Tools Key Safety Score is 76/100.
- Is AI Town free?
- Open source: Free & open source. API usage is billed separately by your model provider.
- Is AI Town open source?
- Yes. The source code is at https://github.com/a16z-infra/ai-town. It can also be self-hosted.
- Can AI Town run local models?
- Yes. It can connect to local runtimes such as Ollama or LM Studio, so no API key is needed for private or offline use.
- Which platforms does AI Town support?
- Web, Self-hosted.
Community reviews
No reviews yet.
Alternatives to AI Town
All creative & roleplay →SillyTavern
Creative & Roleplay
Power-user front end for character chat and roleplay with any LLM.
Next AI Draw.io
Creative & Roleplay
Create and edit draw.io diagrams through chat with your model of choice.
Open-LLM-VTuber
Creative & Roleplay
Voice-interactive Live2D companion that can run fully offline.
Amica
Creative & Roleplay
Open-source 3D VRM companion with voice chat and emotion engine.
Talemate
Creative & Roleplay
Roleplay and storytelling with multi-agent AI on your models.
mikupad
Creative & Roleplay
Single-file text completion front end for creative writing with LLMs.