Agents City
Español · English
Run several autonomous agent cities on one machine, and connect only the
cities that should talk.
npm install -g agents-city
agents-city
That is the whole installation. The second command opens the town hall in your
browser and walks you through creating your first city.
Agents City is a local-first, multi-model orchestrator for repository work. Each
city has its own identity, domain, chair seat, goal, repo support agents,
editable knowledge, live-recognised skills, and explicit roads to other cities.
It does not turn every agent into a group chat: the seat chairs the process,
selects specialists, and controls the floor.
This is the complete guide. If you only want to try it, go to
Quick start.
Contents
Mental model
A city is not an account, a remote person, or a free-form collection of bots. It
is one autonomous work domain owned by a local person:
local user
├── home city
│ ├── stable identity: owner/home
│ ├── domain + seat role + goal
│ ├── seat: chair and only public boundary
│ ├── agent A: workspace + mounts → a git repo (kind: code)
│ ├── agent B: workspace + mounts → a folder of documents (kind: knowledge)
│ ├── agent C: workspace + mounts → several repos and a worktree
│ ├── editable domain/role knowledge
│ ├── skills that already live inside the mounted work
│ └── explicit roads to other seats
├── product city
└── client-a city
Agents come first. An agent is the unit, and a repo is just one thing it can
mount. Each agent has a workspace folder with a mounts/ dir of symlinks to
wherever the real work lives — a git repo, a linked worktree, or a plain folder
of documents — so a person whose work is knowledge in documents, with no git at
all, is a first-class agent. "One repo is one agent" is simply the special case
of an agent whose single mount is that repo, so existing repo-only cities keep
working unchanged. Full model: docs/agents-first.md.
The important boundaries are:
- User: may own several local cities.
- City: has its own identity, domain, goal, configuration, and state.
- Seat: chairs the committee and is the only actor that may cross roads.
- Agent: the member unit. It owns a workspace folder and works over its
mounts, contributes evidence, and always has member authority — whether its
speciality is
dev, seo or cfo, and whether its kind is code,
knowledge or coordinator.
- Mount: a symlink inside an agent's workspace to real work on disk (a repo,
a worktree, a document folder). An agent may have several, or none.
- Role: professional perspective and responsibility; it does not grant bus
permissions.
- Skill: capability installed by the user or repo. Recognition is live and
read-only; the one deliberate write is the Hall installing a skill zip the
owner explicitly uploads, into that agent's own home — never on its own,
never anywhere else. Skills are the Claude runtime's format; other engines
ignore them.
- Road: allowlist between two seats. It grants reachability, not authority.
- Committee: bounded process for isolated positions, synthesis, floor,
decision, and verification. It is not lateral conversation between all agents.
Quick start
Install from npm
npm install -g agents-city
agents-city --version
This is 0.x on purpose: the commands are usable today, and the file formats
and APIs can still change between minor versions. Nothing here pretends to be
frozen yet.
You need Node.js 22.13+, Python 3 and tmux; the
requirements table has the details, and agents-city seat
offers to install tmux when it is missing. Nothing is installed system-wide
beyond the npm global folder of your active Node installation.
Try it without installing anything
npx agents-city
npx downloads the package into its cache, runs it, and leaves your global npm
folder untouched — the fastest way to see whether this is for you.
Then: the Hall, or the terminal