Scan your whole stack
Are you using agents-city?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.5.12
agents-city was last scanned on 2 Sep 2026 at version 0.5.12. Risk score 80 of 100 (high). High-severity rules fired.
| Version | Published | Status |
|---|---|---|
| 0.5.12 LATEST | 2 Sep 2026 | 2 rules fired |
| 0.5.11 | 1 Sep 2026 | 2 rules fired |
| 0.5.10 | 1 Sep 2026 | 2 rules fired |
| 0.5.9 | 31 Aug 2026 | Not shown |
| 0.5.8 | 31 Aug 2026 | Not shown |
Findings for v0.5.12. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
A file that the package's install scripts may run contains a mass-destructive command, such as a recursive delete of the home or root directory, or mkfs or dd on a disk. If it runs, it destroys data on the machine that installs the package.
HIGHThe score describes 0.5.12; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
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.
/city: commandsA 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:
dev, seo or cfo, and whether its kind is code,
knowledge or coordinator.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.
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.
agents-city # the town hall in your browser (same as: agents-city hall)
agents-city seat # the terminal wizard, if you prefer not to leave the shell
The Hall listens on 127.0.0.1, chooses a free port, and opens the browser. You
can create or select a city, edit its configuration, tune each agent's engine
and watch the live map there. The Hall and the CLI use the same underlying
modules, so neither is the "lesser" path.
npm install -g agents-city # update to the newest release
npm uninstall -g agents-city # remove the program
Uninstalling leaves ~/.agents-city, your cities and your repositories exactly
where they are: the program is not your data.
For contributors, and for anyone who wants to read the code before running it. Packing first is the honest test: it exercises the exact file list a person receives from npm, not your whole working copy.
git clone https://github.com/jlcases/agents-city.git
cd agents-city
npm pack
npm install -g ./agents-city-*.tgz
agents-city --version
| Requirement | Used for |
|---|---|
| Node.js 22.13 or later | npm package, WebSocket bus, local reception, and frontends |
| npm | installation and packaging |
| Python 3 | Hall, onboarding, cities, maps, and utilities |
| a window server | one window per seat/agent: tmux on macOS and Linux, herdr on Windows; seat tries to install it when missing |
| macOS, Linux or Windows | all three natively. Four commands still need a shell — city, demo, benchmark, test — and say so by name on Windows |
| bash | only for those four |
| bubblewrap | optional, Linux only: it IS the cage there. Without it agents run uncaged — see the cage |
Each runtime also needs its own installed and authenticated CLI. Agents City does not bundle or replace Claude, Codex, OpenCode, or Kimi accounts.
command -v claude
command -v codex
command -v opencode
command -v kimi
You do not need all of them. An all-Claude, all-Codex, or mixed city is valid.
Selecting local repos requires no account. If you choose GitHub during
onboarding, Agents City uses the separate gh CLI:
gh auth login --web when unauthenticated;gh is not bundled inside the Agents City npm package.
npm install -g agents-city # from the registry
agents-city --version
From a source checkout, pack and install the tarball instead:
cd /path/to/agents-city && npm pack && npm install -g ./agents-city-*.tgz
Already-running sessions retain the code loaded in memory. To apply the new version to one city:
agents-city exit home --dry-run
agents-city exit home
agents-city seat --city home
Save active work first: exit closes every window in that city.
npm uninstall -g agents-city
This removes the installed program. It does not remove ~/.agents-city, your
cities, backups, or repositories. Use agents-city reset only when you intend to
restart one specific city.
agents-city seat creates home when no city exists and asks seven questions.
The domain determines vocabulary, evidence criteria, and suggested roles. The built-in options are:
| ID | Domain |
|---|---|
software |
Software development |
healthcare |
Healthcare and medicine |
legal |
Legal services |
finance |
Finance and operations |
marketing |
Marketing and growth |
sales |
Sales and customer success |
research |
Research and education |
operations |
Operations and delivery |
custom |
Another domain without assuming an industry |
This is the responsibility of the city lead. It is not the city name or runtime.
The seat remains chair even when you choose blank.
This is the city itself, and it is a loop rather than a list of folders to tick. Each agent is asked for in full, and then you are asked for another, until you say the city is complete:
code, knowledge or coordinator. This is
not a permission: it decides how its house grows on the map, so a person
whose work is documents is not measured in pull requests.po to a product agent, seo to a portfolio one and
data-engineer to a pipeline. None becomes chair..zip installed into that
agent's own home. Only offered for engines that read skills; an agent on
Codex is told its engine ignores them instead of being sold something that
does nothing.Each agent then receives a tmux window, a private bus actor, its workspace as working directory, and the skills its runtime can already discover in what it mounts.
Saying the city has no agents is also valid: it opens with only its seat, and roads connect it to other cities.
Change the roster any time with agents-city seat --agents.
A goal may be quantitative or qualitative. It stores:
You may skip it and configure it later with agents-city seat --goal.
Every agent's engine was decided on the agent itself, in question 3. What is
left is your own window — the one that holds the chair role, the /city:
commands and the plugin. Pressing Enter keeps it on your Claude; you may instead
choose Claude with a model and effort, Codex, OpenCode, Kimi, or an unknown
command through the explicit terminal fallback.
Persistent choices live in the owner card. seat --model and --effort are
one-launch overrides only.
Per city, in city.yml as seat_yolo. Locally the seat is your own hands on
your own machine, so asking you for permission in your own chair is a choice,
not a law. Agent windows keep their own cage either way, and launching with
--no-yolo still brakes the whole session, seat included.
Offered once, when the city is new: a real desktop shortcut carrying the city's
name and an icon coloured from its own identity — a macOS .app bundle or a
Linux .desktop entry. Double-click it and the city opens.
It runs the same line you would type, so it is a labelled button on the front door rather than a second way in. Add or remove one any time:
agents-city shortcut # this city, on your desktop
agents-city shortcut home --hall # a door that opens the map instead
agents-city shortcut --remove # take it off again
agents-city shortcut --to ~/bin # somewhere other than the desktop
On Windows it is a real .lnk, built through Windows' own PowerShell so it
can carry an .ico, running the same front-door command as every other desktop.
The desktop is asked of Windows itself rather than guessed from a username — one
redirected to OneDrive or a domain profile is not under C:\Users\<name>\Desktop.
Where PowerShell is unavailable a double-clickable .cmd is written instead:
same door, plain icon.
Inside WSL the shortcut still crosses back: a ~/Desktop there is the Linux
home's desktop, which nobody looks at, so the Windows desktop gets a .lnk that
launches wsl.exe running the same command in a login shell.
~/.agents-city/
├── .runtime/ # bus endpoints, queues, and ephemeral state
├── state/ # local map state, separated per city
├── .backups/ # old migrations
└── <owner>/
├── .current # selected city
├── .backups/ # recoverable owner resets
└── <city>/
├── city.yml # id, name, slug, owner, domain
├── roads.json # allowed roads
├── <owner>.md # role, repos, roles, goal, runtimes
├── AGENTS.md # how to read this city
├── domains/ # editable domain knowledge
├── roles/ # editable role knowledge
├── deliberations/ # committee state, events, and acts
├── units.yml # map districts, when used
└── parcels.yml # map houses/parcels, when used
The ~/.agents-city root is a container, never a city. home is simply the
first city and is isolated exactly like product or client-a.
A session is named <owner>-<city> and contains:
seat window, located in the city folder;Shortcuts are added only to the currently running tmux server:
| Action | Shortcut |
|---|---|
| Switch to windows 1–9 | Alt+1 … Alt+9 |
| Previous/next window | Alt+← / Alt+→ |
| Select with mouse | click the bottom status bar |
| Scroll | mouse wheel |
| Detach without closing | Ctrl-b, then d |
| Return to the city | agents-city seat --city <name> |
If the session already exists, seat reattaches to it; it does not create a
duplicate set of agents. A bell or activity-coloured tab means that window may
need attention.
Claude starts in a stagger because multiple instances share its OAuth token.
Codex, OpenCode, and Kimi do not wait for that stagger. Use
CITY_SETTLE=0 CITY_STAGGER=0 only when you deliberately want to disable it.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.