AI Town
A deployable starter kit for a virtual town where AI characters live, chat and socialize.
- Star 数
- 10.9K
- Fork 数
- 1.3K
- 未关闭 Issue
- 80
- 最近提交
- 2026-11-25
数据来自 GitHub API · 更新于 2026-11-30
AI Town 是什么?
AI Town is an MIT-licensed starter kit from a16z, inspired by the “Generative Agents” paper, for building a virtual pixel-art town in which LLM-driven characters move around, form memories and hold conversations. It runs on Convex for shared game state and can use Ollama locally or hosted LLM APIs.
主要功能
- Simulated characters with memories and conversations
- Shared, multiplayer game state on Convex
- Works with local Ollama or OpenAI-compatible APIs
- Customizable characters, map and art
- Humans can join the town and talk to agents
系统要求
- 平台
- macOS · Linux · Windows · Docker · Web
- 备注
- Node.js 18+. Local models need Ollama; Windows users typically run it under WSL2.
如何安装 AI Town
根据项目 README 整理。开源项目更新很快,请以 GitHub 页面上的最新说明为准。
Local development
- 1Clone and install dependencies.
git clone https://github.com/a16z-infra/ai-town.git cd ai-town npm install - 2Start Ollama with a chat model (or set an API key), then run the app and the Convex backend.
ollama pull llama3 npm run dev
Docker Compose
- 1Build and start the frontend, Convex backend and dashboard with the bundled compose file (see the README for environment variables).
docker compose up --build -d
优势
- Fun, visual way to explore multi-agent simulations
- MIT license, easy to fork
- Runs fully local with Ollama
不足
- A starter kit rather than a finished product
- Many agents can consume a lot of LLM calls
AI Town 替代品对比
| 软件 | Star 数 | 许可证 | 平台 | 显存 |
|---|---|---|---|---|
| AI Town A deployable starter kit for a virtual town where AI characters live, chat and socialize. | 10.9K | MIT | — | |
| AutoGen Microsoft’s framework for building multi-agent AI applications. | 62K | CC-BY-4.0 | — | |
| CrewAI Python framework for orchestrating role-playing, collaborative AI agents. | 61.4K | MIT | — | |
| MetaGPT Multi-agent framework that simulates a software company. | 71.5K | MIT | — | |
| Letta Stateful agents with self-editing memory (formerly MemGPT). | 25.6K | Apache-2.0 | — | |
| Open WebUI Self-hosted ChatGPT-style interface for Ollama and OpenAI-compatible APIs. | 159.8K | Open WebUI License (BSD-3-Clause based) | — |
常见问题
AI Town 免费吗?
是的——AI Town 是开源软件,采用 MIT 许可证。商用前请确认软件及模型权重的许可条款。
AI Town 支持 Windows、Mac 和 Linux 吗?
AI Town 支持:macOS, Linux, Windows, Docker, Web。
如何安装 AI Town?
1. Clone and install dependencies. 2. Start Ollama with a chat model (or set an API key), then run the app and the Convex backend.
AI Town 有哪些好的替代品?
常见替代品包括 AutoGen, CrewAI, MetaGPT, Letta,详见本页对比表。