Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

agents-city

Latest version: v0.5.12

Overview

Last scanned
2 Sep 2026
Published
2 Sep 2026
AI: Suspicious npm package Publisher: jlcases
0 Stars
0 Forks
18 Versions
1.0K Downloads
JavaScript Repo language

Scan summary

agents-city was last scanned on 2 Sep 2026 at version 0.5.12. Risk score 80 of 100 (high). High-severity rules fired.

  • Releases: 18 versions; the latest 5 were published within 3 days (31 Aug – 2 Sep 2026).
  • Findings: 2 rules fired in version 0.5.12 (3 instances: 1 high, 2 low). The score describes this version only.
  • Downloads: 1,009 downloads.

Versions

18 versions published
Versions and the rules that fired in each
VersionPublishedStatus
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

Rules fired in 0.5.12: 2

Findings

1 High 2 Low

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.

Mass-delete command in install-time code

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.

HIGH

WebAssembly module included

LOW
Checking access…

🔒 Create a free account to see all 3 findings with descriptions and instance counts

The score describes 0.5.12; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

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
  • Quick start
  • Requirements and installation
  • First run, step by step
  • Working inside tmux
  • Runtimes and transports
  • Domains, roles, and knowledge
  • Complete command reference
  • Committee: complete workflow
  • Claude /city: commands
  • Use-case cookbook
  • Files and environment variables
  • Security and trust boundaries
  • Troubleshooting
  • Development and testing

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
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.

Update, or remove
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.

Install from a source checkout instead

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

Requirements and installation

Base requirements
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.

GitHub is optional

Selecting local repos requires no account. If you choose GitHub during onboarding, Agents City uses the separate gh CLI:

  1. detects it;
  2. tries the system package manager if it is absent;
  3. runs gh auth login --web when unauthenticated;
  4. shows the device code if a browser cannot open;
  5. offers to clone selected repos that are not on disk.

gh is not bundled inside the Agents City npm package.

Update an installation
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.

Uninstall
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.

First run, step by step

agents-city seat creates home when no city exists and asks seven questions.

1. Work domain

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
2. Seat role

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.

3. The agents, one at a time

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:

  1. Its name — what you call it in its window, on the map, and on the bus.
  2. The kind of work it does — 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.
  3. Its role — its specialty, from this city's domain or another one. A software city can give po to a product agent, seo to a portfolio one and data-engineer to a pipeline. None becomes chair.
  4. Everything it works on — any number of repositories (read from disk, your GitHub account, or an organisation) plus any number of document folders. One agent may answer for three services and a handbook at once, and an agent with no git anywhere is a first-class agent. They are mounted inside its workspace, not turned into separate agents.
  5. What runs it — Claude with a model and effort of its own, or Codex, OpenCode, Kimi, or an explicit terminal fallback.
  6. The skills it starts with — a skill folder or .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.

4. Goal

A goal may be quantitative or qualitative. It stores:

  • title;
  • observed signal;
  • a command that returns the measure, when one exists;
  • person and review frequency for a qualitative judgement;
  • baseline;
  • target;
  • target date.

You may skip it and configure it later with agents-city seat --goal.

5. Runtime for your own chair

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.

6. Whether your chair asks permission

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.

7. The city on your desktop

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.

What gets created
~/.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.

Working inside tmux

A session is named <owner>-<city> and contains:

  • a seat window, located in the city folder;
  • one window per locally found repo;
  • the configured runtime already started in each window.

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.

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm agents-city

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229