AIgamer
Sign in
๐Ÿ Home๐Ÿ“ฐNews๐ŸงฐResources๐ŸŽฎGames๐Ÿ“˜Guides๐Ÿ†GOTW
๐Ÿ“ฐNews๐ŸงฐResources๐ŸŽฎGames๐Ÿ“˜Guides๐Ÿ†GOTW
Get the weekly emailSign in
AIgamer
๐Ÿ Home๐Ÿ“ฐNews๐ŸงฐResources๐ŸŽฎGames๐Ÿ“˜Guides๐Ÿ†GOTW
New storiesWeekly roundupsTopicsSubmit your gameHow we report
Get the weekly email

๐Ÿ†AI Game of the Week

WK 44

Three Quake

Play it

Made a game with AI? Submit it for next week

โœ‰๏ธWeekly email

The week's top stories and the AI Game of the Week, every Monday. Free.

๐Ÿ”ฅMost read this week

  1. 01Solo developer builds monster-hunting RPG After the Wind with Claude Code and Codex
  2. 02Claude Code built cozy planet-mowing game Mowtopia in about 2 days, developer says
  3. 03Google DeepMind unveils Genie 4 with native audio and 2-minute consistent worlds
  4. 04Ramen open-sources Autopilot, an AI agent that playtests Unreal, Unity and Godot games
  5. 05Roblox says over 80% of top 100 games used AI in the past month
AIGamer: the front page for people making games with AI.
Weekly roundupsSubmit your gameHow we reportContactX (@aigamergg)PrivacySubmission terms

Home โ€บ Resources โ€บ AI NPC tools

AI

AI Town

Open-source starter kit for a town of chatting AI characters

Compiled by Hitesh K ยท Prices checked 2 November 2026

Visit AI Town โ†’Source code
AI Town preview
Image: a16z-infra / AI Town
Best for
Developers who want working code for a simulation where many LLM-driven characters move, talk and remember
Makes
A browser-based 2D pixel-art world of AI characters that you can rename, restyle and extend
Made by
a16z (a16z-infra)
Where you use it
Web
Engines
Web
Pricing
Free and open source (MIT); you pay for any hosting and cloud model use, or run models locally with Ollama
Free plan
Yes
Open source
Yes (MIT)
Export
You own the code and can deploy it to Convex cloud, a self-hosted Convex backend in Docker, or Fly.io
Status
Available

AI Town is an open-source starter kit published by a16z-infra on GitHub for building a small virtual town whose residents are AI characters that wander, hold conversations and form relationships. The README credits the 2023 research paper Generative Agents: Interactive Simulacra of Human Behavior as its inspiration and says the project is written in JavaScript and TypeScript because most comparable simulators use Python.

Convex provides the backend: shared game state, the simulation loop, the database and the vector search behind each character's memory. PixiJS draws the 2D world in the browser. Out of the box, chat and embeddings run on your own machine through Ollama with Llama 3, and the README shows how to point it at OpenAI, Together.ai or another OpenAI-compatible API instead. Players can step into the world as a character through an Interact button.

To make it your own, you edit character backstories and sprite sheets in a data file and draw a new map in the Tiled editor, then convert it with a bundled script. Background music from MusicGen via Replicate and sign-in through Clerk are optional.

The code is MIT-licensed and free; what you spend depends on hosting and model choices. It suits developers prototyping AI NPCs or social simulations who want a working multi-agent loop to build on, not an engine plugin. A live demo is hosted on Convex's site. AIGamer has not tested it.

Limitation: Built around the Convex backend; the README says the simulation pauses after 5 minutes of idle browser time and that changing character data means wiping and reloading the database

FAQ

Is AI Town free?

Yes. The code is MIT-licensed on GitHub. You can run it locally with Ollama at no model cost, or pay for cloud hosting and API models if you choose them.

What does AI Town need to run?

Node.js and a Convex backend, either Convex's cloud (which needs a free account) or a self-hosted Convex container via Docker Compose, plus a language model through Ollama or an OpenAI-compatible API, per the README.

Can I use AI Town characters in Unity or Godot?

Not directly. AI Town is a self-contained web app built on Convex and PixiJS. Its code shows one way to give characters memory and conversations, which you would have to port to another engine yourself.

Topics:AI NPCs

Sources

Compiled by AIGamer from AI Town's own pages and the sources below, checked 2 November 2026. We haven't tested AI Town hands-on.

  1. AI Town on GitHub: README
  2. AI Town on GitHub: License (MIT)
  3. AI Town on GitHub: InteractButton.tsx (join the world)
  4. Convex: AI Town live demo
  5. arXiv: Generative Agents: Interactive Simulacra of Human Behavior

Image: a16z-infra / AI Town

Written in our own words; quotes are marked and credited. How we report

AI Town alternatives

  • CoConvaiTalking AI characters for Unity, Unreal and the webFree plan (100 interactions a month); Indie Dev $29/month ($22/month billed yearly); higher tiers up to $1,199/month (as of October 2026)
  • InInworld AIVoice, speech and LLM APIs for AI charactersPay as you go (On-Demand, $0/month) with TTS-2 at $25 per 1M characters and speech recognition at $0.15/hour; monthly plans from $25 lower the rates (as of October 2026)
  • LLLLM for UnityRun local LLM characters inside UnityOpen source (Apache-2.0)
  • NoNobodyWhoLocal LLMs for Godot NPCs and other platformsOpen source (EUPL-1.2)
  • NVNVIDIA ACENVIDIA models and SDKs for on-device game charactersOpen source (MIT (Unreal plugins, Audio2Face-3D SDK); Apache-2.0 (Game Agent SDK); models under NVIDIA Open Model License or custom licenses)
  • PlPlayer2Free AI NPC APIs served through a player appFree for developers and players; Player2 says it pays the API costs, with free models plus daily credits for frontier models

Compare all 7 AI Town alternatives โ†’

๐Ÿ“˜Guides

  • How to let coding agents playtest the games they build
  • Blockout first, art last
  • How to turn an AI picture into a rigged 3D game asset in 5 steps
  • How to let coding agents drive Unreal, Godot and Minecraft with MCP
  • How to teach coding agents Roblox Studio, Unreal and game servers with skill packs
All guides โ†’
Sign in
Sign in