chekusu/wanman
chekusu/wanmanwanman is an open-source agent matrix runtime inspired by Japanese one-man trains. It lets human users step back into an observer role while local agent runtimes coordinate autonomous multi-agent workflows, task execution, and artifacts.
From the README
wanman
Agent Matrix framework — run a supervised network of Claude Code or Codex agents that collaborate on your machine.
wanman is an open-source local-mode agent matrix framework. Runs a supervised network of Claude Code or Codex agents on your machine, coordinated through a JSON-RPC supervisor.
About wanman
The name wanman comes from the Japanese ワンマン電車 / one-man train: a train operated by one driver without a conductor. wanman's design goal is similar in spirit: the human user steps back into an observer role and watches the agent matrix run automatically from every angle.
wanman.ai provides the fully automated 24/7 sandbox edition of wanman, running for free on Sandbank Cloud's sandbox cloud.
What it does
- Coordinates multiple agents (CEO, dev, devops, marketing, feedback, etc.) through an async message bus with steer/follow-up priorities.
- Runs each agent as a real Claude Code or Codex CLI subprocess — you bring your own CLI auth, wanman orchestrates spawning, prompting, and lifecycle.
- Isolates every agent in a per-agent worktree and per-agent
$HOME, so agents never mutate your dirty checkout or shell profile. - Is CLI-first: everything is scriptable, observable, and reproducible through
wanmancommands and a JSON-RPC supervisor.
wanman.ai adds hosted-only capabilities:
- Isolates each agent runtime group in its own sandbox environment, supporting large-scale, high-concurrency task execution.
- Dynamically configures agent roles, including automatically extracting roles from high-quality agent role catalogs on the internet.
- Supports dynamic skill self-evolution.
- Supports db9-powered global search and story retrieval.
Quickstart
# Prerequisites: Node 20+, pnpm 9+, git, a logged-in Claude Code or Codex CLI.
git clone git@github.com:chekusu/wanman.git wanman.dev
cd wanman.dev
pnpm install
pnpm build
# Run from source; no npm package publish is required.
pnpm --filter @wanman/cli exec wanman takeover /path/to/any/git/repo
If you want a single-file CLI bundle instead:
pnpm --filter @wanman/cli standalone
node packages/cli/dist/wanman.mjs takeover /path/to/any/git/repo
If wanman is already on your PATH, you can also run wanman takeover . from inside the target repository.
See docs/quickstart.md for the full walkthrough.
CLI commands
| Command | What it does |
|---------|--------------|
| wanman send | Send a message to an agent (--steer interrupts the target). |
| wanman recv [--agent ] | Receive and mark pending messages as delivered. |
| wanman agents | List registered agents and their current states. |
| wanman context get / context set | Read or write shared key/value context. |
| wanman escalate | Escalate to the CEO agent. |
| wanman task … | Manage the task pool: create, list, get, update, done. Supports --after dependencies. |
| `wanman initi