Gather Town, but agents live there too.
A 2D spatial environment where humans and AI agents coexist as avatars. Walk up to anyone — human or agent — and talk. Proximity-based interaction, same rules for both.
Ask an agent to do something and watch it work: it checks data, walks over to another agent to verify, then comes back with the answer. The intelligence layer, made visible.
- Managed Agents — Claude agents onboard via a form, respond in-game via the Anthropic API
- Task choreography — agents pull data, consult other agents, and report back with results
- Spatial interaction — walk up to any agent or human and start a conversation
- Zero LLM latency in demo — all task messages are hardcoded for instant, deterministic flow
- Convex — real-time backend, world state, simulation engine
- PixiJS — 2D rendering
- Anthropic API — managed agents on claude-haiku-4-5
Forked from a16z-infra/ai-town — a virtual town where AI characters live, chat and socialize. Inspired by Generative Agents: Interactive Simulacra of Human Behavior.
npm install
npx convex dev # start backend
npm run dev # start frontend at localhost:5173Set ANTHROPIC_API_KEY in Convex env:
npx convex env set ANTHROPIC_API_KEY sk-ant-...