reevesagents 1.7.3 → 1.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +191 -352
- package/dist/{chunk-JX6SHZKB.js → chunk-CFDTC6GY.js} +2 -2
- package/dist/{chunk-GNS5ULTD.js → chunk-HIJYVPYH.js} +2 -2
- package/dist/{chunk-7K3XRI7L.js → chunk-LXZNX6EJ.js} +5 -5
- package/dist/{chunk-GSWMKYSU.js → chunk-PDJ2CPVO.js} +3 -3
- package/dist/{chunk-D24DQQ6V.js → chunk-Q3WWQP2R.js} +2 -2
- package/dist/{chunk-OVNVE2TJ.js → chunk-TIDTHK3L.js} +16 -16
- package/dist/{chunk-EXUYSBTC.js → chunk-UH6K25MG.js} +2 -2
- package/dist/{chunk-MKNSEZTG.js → chunk-X6EBVSC7.js} +4 -4
- package/dist/cli.js +27 -27
- package/dist/{extras-25AF6TAR.js → extras-MWGWGEPB.js} +2 -2
- package/dist/index.js +3 -3
- package/dist/{open-browser-DRSIJQ37.js → open-browser-IQ5MTCWZ.js} +2 -2
- package/dist/{router-RZANKWMI.js → router-KMZQ52T2.js} +96 -96
- package/dist/{server-R2A7E5WC.js → server-NREXCROR.js} +8 -9
- package/dist/{server-WLXS227K.js → server-Y2IEANCZ.js} +14 -14
- package/dist/{tui-launch-6V756ZBI.js → tui-launch-ESUQ7SYU.js} +2 -2
- package/package.json +17 -11
package/README.md
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
[](https://github.com/mertkayacs/reevesagents/actions/workflows/test.yml)
|
|
12
12
|
|
|
13
13
|
<h3 align="center"><a href="https://reevesagents.mertkayacs.com">reevesagents.mertkayacs.com</a></h3>
|
|
14
|
+
|
|
14
15
|
<p align="center">
|
|
15
16
|
<a href="https://reevesagents.mertkayacs.com/demo"><b>Demo</b></a> ·
|
|
16
17
|
<a href="https://reevesagents.mertkayacs.com/docs"><b>Docs</b></a> ·
|
|
@@ -18,475 +19,313 @@
|
|
|
18
19
|
<a href="https://github.com/mertkayacs/reevesagents/issues"><b>Issues</b></a>
|
|
19
20
|
</p>
|
|
20
21
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
That is the whole idea: one AI agent creates and drives the others. An agent CLI (a command-line coding agent such as Claude Code, Codex, or Hermes) can even install and wire up ReevesAgents on its own, then start running a team.
|
|
30
|
-
|
|
31
|
-
**If you are an agent reading this, run these yourself:**
|
|
32
|
-
|
|
33
|
-
- **Install it:** `npm install -g reevesagents`
|
|
34
|
-
- **Connect it to your own CLI:** `reevesagents attach` connects ReevesAgents to the agent CLIs you have installed. For just one, name it, for example `reevesagents attach claude`.
|
|
35
|
-
- **Check it worked:** `reevesagents hosts` lists the agent CLIs on this machine and shows which ones are connected.
|
|
36
|
-
- **Reload your tools:** restart your CLI session so it loads the connection (this uses MCP, the standard way one agent tool exposes commands to another).
|
|
37
|
-
|
|
38
|
-
Now your agent CLI can **create and drive other agents**: start an agent on a task, send it text or keypresses, read what it is doing, and approve or deny what it requests. One Claude Code agent can run a team of Codex and Claude Code agents on separate issues. To disconnect later, run `reevesagents detach claude`.
|
|
39
|
-
|
|
40
|
-
Prefer to script it from the command line instead? [AGENTS.md](AGENTS.md) is the operator's guide written for agents: provider ids and aliases, the `spawn` spec, and how to watch and steer a running team.
|
|
41
|
-
|
|
42
|
-
Prefer to set it up by hand? Turn it on from the **Agent control** screen in the TUI or Web UI; see [Agent control](#agent-control) below.
|
|
43
|
-
|
|
44
|
-
The TUI and the local Web UI driving the same run:
|
|
45
|
-
|
|
46
|
-

|
|
47
|
-
|
|
48
|
-

|
|
49
|
-
|
|
50
|
-

|
|
51
|
-
|
|
52
|
-
ReevesAgents is a free and open source workspace for AI coding agents. Run
|
|
53
|
-
several at once, and let one agent create and drive the others: a Claude Code
|
|
54
|
-
agent managing Codex and Claude Code agents on separate issues. Put each agent
|
|
55
|
-
where it is strongest, for example DeepSeek on backend, Claude on product and web
|
|
56
|
-
direction, Codex on a design system or an implementation pass, and Hermes on
|
|
57
|
-
mail, search, or research.
|
|
58
|
-
|
|
59
|
-
The UI is available in 10 languages: English, German, French, Spanish,
|
|
60
|
-
Portuguese, Italian, Turkish, Russian, Simplified Chinese, and Arabic.
|
|
61
|
-
|
|
62
|
-
New to ReevesAgents? The [User Guide](docs/GUIDE.md) walks you through install,
|
|
63
|
-
your first run, and letting one agent drive the rest.
|
|
64
|
-
|
|
65
|
-
## Two ways to use it
|
|
66
|
-
|
|
67
|
-
- **As a workspace.** Spawn the agents you want and keep adding more with
|
|
68
|
-
`reevesagents add`, one at a time. They run side by side, each in its own tmux
|
|
69
|
-
window, and none of them controls another. This is the simplest way in: your
|
|
70
|
-
different CLIs together in one local place.
|
|
71
|
-
- **As an orchestrator.** Attach the opt-in Agent control MCP to one CLI, and
|
|
72
|
-
that agent gains the tools to spawn and drive the rest. This is the headline
|
|
73
|
-
feature, and it stays off until you turn it on.
|
|
74
|
-
|
|
75
|
-
Both use the same runs and the same surfaces, so you can start as a plain
|
|
76
|
-
workspace and reach for orchestration later, or never.
|
|
77
|
-
|
|
78
|
-
## Surfaces
|
|
79
|
-
|
|
80
|
-
| Surface | What it is good for |
|
|
81
|
-
| --- | --- |
|
|
82
|
-
| **TUI** | Fast keyboard-first control inside the terminal. |
|
|
83
|
-
| **Web UI** | One visual view of runs, agents, live panes, and history. |
|
|
84
|
-
| **CLI** | Scripts, quick spawn commands, doctor checks, and tmux opening. |
|
|
85
|
-
| **tmux** | Real provider CLI windows that keep running locally. |
|
|
86
|
-
| **Agent control** | The core idea: one agent creates and drives the others. You turn it on per CLI, then a Claude Code agent can run Codex, Hermes, and Claude Code agents at once. |
|
|
87
|
-
|
|
88
|
-
## Why ReevesAgents
|
|
22
|
+
<p align="center">
|
|
23
|
+
<a href="#quick-start"><b>Quick Start</b></a> ·
|
|
24
|
+
<a href="#install"><b>Install</b></a> ·
|
|
25
|
+
<a href="#commands"><b>Commands</b></a> ·
|
|
26
|
+
<a href="#agent-control"><b>Agent Control</b></a> ·
|
|
27
|
+
<a href="#web-ui"><b>Web UI</b></a> ·
|
|
28
|
+
<a href="#configuration"><b>Config</b></a>
|
|
29
|
+
</p>
|
|
89
30
|
|
|
90
|
-
|
|
91
|
-
- **Multitask and loop.** Run several agents in parallel on different parts of a project, keep long-running agents going, and watch them all from one view. Put a cheaper model in front to route work to smarter or smaller agents.
|
|
92
|
-
- **Keep cost practical.** Let cheap or free models write routine code and tests while you plan and design with a bigger one, instead of pushing everything through one expensive default.
|
|
93
|
-
- **One workspace, no lost thread.** If you already jump between Claude, Codex, DeepSeek, Hermes, or OpenCode, ReevesAgents puts those sessions in one local place; open any agent from the TUI or Web UI to drive it directly.
|
|
94
|
-
- **Stay vendor-flexible.** Provider login stays with each CLI. ReevesAgents never stores credentials or proxies model traffic, so you can add, remove, or switch CLIs freely.
|
|
95
|
-
- **See the work at a glance.** Active runs, agents, models, permission modes, stop and delete actions, and history in one Web UI view while tmux keeps the real CLIs alive.
|
|
31
|
+
**English** · [Deutsch](docs/i18n/README.de.md) · [Français](docs/i18n/README.fr.md) · [Español](docs/i18n/README.es.md) · [Português](docs/i18n/README.pt.md) · [Italiano](docs/i18n/README.it.md) · [Türkçe](docs/i18n/README.tr.md) · [Русский](docs/i18n/README.ru.md) · [简体中文](docs/i18n/README.zh-Hans.md) · [العربية](docs/i18n/README.ar.md)
|
|
96
32
|
|
|
97
|
-
|
|
33
|
+
ReevesAgents is a local workspace for AI coding CLIs. It runs Claude Code,
|
|
34
|
+
Codex, OpenCode, Hermes, Kimi, DeepSeek, Qwen, Pi, Aider, and other provider
|
|
35
|
+
CLIs side by side in tmux. You can use it as a normal CLI/TUI/Web UI, or attach
|
|
36
|
+
its opt-in MCP so one agent can spawn, read, steer, and stop the rest.
|
|
98
37
|
|
|
99
|
-
|
|
38
|
+
No ReevesAgents-stored API keys. No database. No Docker. No background daemon.
|
|
39
|
+
Provider login stays inside each provider CLI.
|
|
100
40
|
|
|
101
|
-
|
|
102
|
-
(pnpm, npm, Yarn, or Bun), then verify the machine with `doctor`.
|
|
41
|
+
## Quick Start
|
|
103
42
|
|
|
104
43
|
```sh
|
|
105
|
-
# Homebrew
|
|
106
|
-
brew install mertkayacs/reevesagents/reevesagents
|
|
107
|
-
|
|
108
|
-
# or a Node package manager, pnpm shown here
|
|
109
44
|
pnpm add -g reevesagents
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
```sh
|
|
113
45
|
reevesagents doctor
|
|
114
46
|
reevesagents
|
|
115
47
|
```
|
|
116
48
|
|
|
117
|
-
|
|
118
|
-
`pnpm add -g reevesagents@1.4.0`.
|
|
119
|
-
|
|
120
|
-
<details>
|
|
121
|
-
<summary><b>pnpm</b></summary>
|
|
49
|
+
Start a run from the CLI:
|
|
122
50
|
|
|
123
51
|
```sh
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
52
|
+
reevesagents spawn claude-code:lead codex:tests hermes:research \
|
|
53
|
+
--name "release check" \
|
|
54
|
+
--prompt "Review the release path, test coverage, and docs."
|
|
127
55
|
```
|
|
128
56
|
|
|
129
|
-
|
|
57
|
+
Open the Web UI:
|
|
130
58
|
|
|
131
59
|
```sh
|
|
132
|
-
|
|
60
|
+
reevesagents web
|
|
133
61
|
```
|
|
134
62
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
<details>
|
|
138
|
-
<summary><b>npm</b></summary>
|
|
63
|
+
Let one attached agent drive the others:
|
|
139
64
|
|
|
140
65
|
```sh
|
|
141
|
-
|
|
142
|
-
reevesagents
|
|
143
|
-
reevesagents
|
|
66
|
+
reevesagents attach codex
|
|
67
|
+
reevesagents hosts
|
|
144
68
|
```
|
|
145
69
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
```sh
|
|
149
|
-
npx reevesagents doctor
|
|
150
|
-
```
|
|
70
|
+
Restart that CLI after attach so it loads the MCP tools.
|
|
151
71
|
|
|
152
|
-
|
|
72
|
+
## What It Gives You
|
|
153
73
|
|
|
154
|
-
|
|
155
|
-
|
|
74
|
+
| Surface | Use it for |
|
|
75
|
+
| --- | --- |
|
|
76
|
+
| **TUI** | Keyboard-first run control inside the terminal. |
|
|
77
|
+
| **Web UI** | Local visual view of runs, panes, agents, approvals, and history. |
|
|
78
|
+
| **CLI** | Scripts, smoke checks, spawning, state cleanup, and tmux jumps. |
|
|
79
|
+
| **Agent Control MCP** | One trusted CLI can spawn and drive other CLIs through local tools. |
|
|
80
|
+
| **tmux** | Real provider CLI windows that keep running after the UI closes. |
|
|
156
81
|
|
|
157
|
-
|
|
82
|
+
ReevesAgents is local by design. State is plain JSON under `~/.reeves`, and the
|
|
83
|
+
CLIs it starts are the same CLIs you already use by hand.
|
|
158
84
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
85
|
+
<a id="install"></a>
|
|
86
|
+
<details>
|
|
87
|
+
<summary><strong>Install</strong></summary>
|
|
162
88
|
|
|
163
|
-
|
|
89
|
+
ReevesAgents needs Node.js `20.19+`, tmux `3.0+`, and at least one supported
|
|
90
|
+
provider CLI installed and authenticated. It supports macOS, Linux, and WSL.
|
|
164
91
|
|
|
165
92
|
```sh
|
|
166
|
-
|
|
167
|
-
reevesagents
|
|
168
|
-
reevesagents
|
|
169
|
-
```
|
|
93
|
+
# Homebrew
|
|
94
|
+
brew tap mertkayacs/reevesagents
|
|
95
|
+
brew install reevesagents
|
|
170
96
|
|
|
171
|
-
|
|
97
|
+
# pnpm
|
|
98
|
+
pnpm add -g reevesagents
|
|
172
99
|
|
|
173
|
-
|
|
174
|
-
|
|
100
|
+
# npm
|
|
101
|
+
npm install -g reevesagents
|
|
175
102
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
reevesagents doctor
|
|
179
|
-
reevesagents
|
|
103
|
+
# one-shot checks
|
|
104
|
+
pnpm dlx reevesagents doctor
|
|
105
|
+
npx reevesagents doctor
|
|
180
106
|
```
|
|
181
107
|
|
|
182
|
-
|
|
108
|
+
Pin a version by replacing `<version>`:
|
|
183
109
|
|
|
184
110
|
```sh
|
|
185
|
-
|
|
111
|
+
pnpm add -g reevesagents@<version>
|
|
186
112
|
```
|
|
187
113
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
<details>
|
|
191
|
-
<summary><b>Homebrew</b></summary>
|
|
114
|
+
Source install:
|
|
192
115
|
|
|
193
116
|
```sh
|
|
194
|
-
|
|
195
|
-
|
|
117
|
+
git clone https://github.com/mertkayacs/reevesagents.git
|
|
118
|
+
cd reevesagents
|
|
119
|
+
pnpm install
|
|
120
|
+
pnpm build
|
|
121
|
+
pnpm link --global
|
|
196
122
|
reevesagents doctor
|
|
197
|
-
reevesagents
|
|
198
123
|
```
|
|
199
124
|
|
|
200
125
|
</details>
|
|
201
126
|
|
|
127
|
+
<a id="screenshots"></a>
|
|
202
128
|
<details>
|
|
203
|
-
<summary><
|
|
129
|
+
<summary><strong>Screenshots</strong></summary>
|
|
204
130
|
|
|
205
|
-
|
|
206
|
-
repository.
|
|
131
|
+
The TUI and Web UI drive the same local runs:
|
|
207
132
|
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
pnpm link --global
|
|
214
|
-
reevesagents doctor
|
|
215
|
-
reevesagents
|
|
216
|
-
```
|
|
133
|
+

|
|
134
|
+
|
|
135
|
+

|
|
136
|
+
|
|
137
|
+

|
|
217
138
|
|
|
218
139
|
</details>
|
|
219
140
|
|
|
220
|
-
|
|
141
|
+
<a id="commands"></a>
|
|
142
|
+
<details>
|
|
143
|
+
<summary><strong>Commands</strong></summary>
|
|
221
144
|
|
|
222
|
-
|
|
223
|
-
at least one provider CLI already installed.
|
|
145
|
+
No arguments launches the TUI.
|
|
224
146
|
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
147
|
+
| Command | Purpose |
|
|
148
|
+
| --- | --- |
|
|
149
|
+
| `reevesagents` | Launch the TUI. |
|
|
150
|
+
| `spawn [spec...]` | Start a run. Each spec is `provider[:nickname[:model]]`. |
|
|
151
|
+
| `add [spec...]` | Add agents to the most recent active run. |
|
|
152
|
+
| `runs` | List active runs. |
|
|
153
|
+
| `agents [run-id]` | List agents across runs or inside one run. |
|
|
154
|
+
| `open <id>` | Jump to a run or agent tmux window. |
|
|
155
|
+
| `peek <agent-id>` | Print recent output from one agent. |
|
|
156
|
+
| `send <agent-id> <text...>` | Paste text into an agent without submitting. |
|
|
157
|
+
| `key <agent-id> <key>` | Send `enter`, `escape`, arrows, `tab`, `space`, `backspace`, or `ctrl-c`. |
|
|
158
|
+
| `interrupt <agent-id>` | Send Ctrl-C to one agent. |
|
|
159
|
+
| `stop <run-id>` | Stop a run. Requires `--yes` or `ALLOW_DESTRUCTIVE=1`. |
|
|
160
|
+
| `kill <agent-id>` | Stop one agent. Requires `--yes` or `ALLOW_DESTRUCTIVE=1`. |
|
|
161
|
+
| `doctor` | Check Node, tmux, state, and provider CLIs. |
|
|
162
|
+
| `web` | Start the loopback-only Web UI. |
|
|
163
|
+
| `providers` | List provider ids, aliases, models, and availability. |
|
|
164
|
+
| `approvals` | List pending approval requests. |
|
|
165
|
+
| `approve` / `deny` | Resolve one approval request. |
|
|
166
|
+
| `hosts` | Show which host CLIs have ReevesAgents attached. |
|
|
167
|
+
| `attach [cli]` | Connect the Agent Control MCP to one host CLI, or all installed hosts. |
|
|
168
|
+
| `detach <cli>` | Remove that MCP connection from one host CLI. |
|
|
169
|
+
| `skills [action]` | Install, remove, or inspect the ReevesAgents skill. |
|
|
170
|
+
| `mcp` | Start the MCP server over stdio. Host CLIs run this. |
|
|
171
|
+
| `config [key] [value]` | Show or update editable settings. |
|
|
172
|
+
| `presets` | List saved run presets. |
|
|
173
|
+
| `save-preset` | Save a live run as a preset. |
|
|
174
|
+
| `start-preset` | Start a run from a preset. |
|
|
175
|
+
| `delete-preset` | Delete a preset. |
|
|
176
|
+
| `delete` | Delete one ended agent record. Requires confirmation. |
|
|
177
|
+
| `delete-run` | Delete one ended run and archive it. Requires confirmation. |
|
|
178
|
+
| `history` | List archived runs. |
|
|
179
|
+
| `delete-history` | Delete one archived history record. Requires confirmation. |
|
|
180
|
+
| `reap` | End zombie agents and agents past `max_lifetime_ms`. |
|
|
181
|
+
|
|
182
|
+
Common flags:
|
|
183
|
+
|
|
184
|
+
- `--json`: available on script-facing list and action commands.
|
|
185
|
+
- `--name <name>`: name a run.
|
|
186
|
+
- `--cwd <dir>`: run agents from a directory.
|
|
187
|
+
- `--prompt <text>`: paste startup text into each spawned agent.
|
|
188
|
+
- `--skip`: skip provider permission prompts for unattended workers.
|
|
189
|
+
- `--run <run-id>`: add agents to a specific run.
|
|
190
|
+
- `--port <n>` and `--no-open`: Web UI startup options.
|
|
230
191
|
|
|
231
|
-
|
|
232
|
-
authenticated on your machine: Claude Code, Codex CLI, OpenCode, Hermes, Kimi,
|
|
233
|
-
DeepSeek, Pi, Qwen, and Aider. Each CLI keeps its own login, models, quotas,
|
|
234
|
-
and permission prompts, exactly as if you had started it yourself, which is
|
|
235
|
-
why ReevesAgents never needs to hold an API key or sit in the traffic path.
|
|
192
|
+
</details>
|
|
236
193
|
|
|
237
|
-
|
|
194
|
+
<a id="agent-control"></a>
|
|
195
|
+
<details>
|
|
196
|
+
<summary><strong>Agent Control</strong></summary>
|
|
197
|
+
|
|
198
|
+
Agent Control is an optional MCP server. Attach it only to a CLI you trust to
|
|
199
|
+
drive local tools:
|
|
238
200
|
|
|
239
201
|
```sh
|
|
240
|
-
reevesagents
|
|
241
|
-
reevesagents
|
|
242
|
-
reevesagents doctor # check the machine
|
|
202
|
+
reevesagents attach claude
|
|
203
|
+
reevesagents hosts
|
|
243
204
|
```
|
|
244
205
|
|
|
245
|
-
|
|
246
|
-
|
|
206
|
+
After restart, that CLI receives tools to `spawn`, `read`, `send_text`,
|
|
207
|
+
`send_key`, `interrupt`, `kill`, `stop`, manage approvals, manage presets, and
|
|
208
|
+
inspect hosts. The provider catalog is also exposed as `reevesagents://providers`.
|
|
247
209
|
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
--name "launch week build" \
|
|
251
|
-
--prompt "Plan the backend, product surface, design system, and research notes."
|
|
252
|
-
```
|
|
210
|
+
Workers do not receive the MCP by default. If a worker should create its own
|
|
211
|
+
workers, attach ReevesAgents to that worker's CLI explicitly.
|
|
253
212
|
|
|
254
|
-
|
|
255
|
-
|
|
213
|
+
Codex sandboxes MCP calls by default, which blocks tmux launches. When using
|
|
214
|
+
Codex as the host that drives agents, run it with full access, for example
|
|
215
|
+
`codex --sandbox danger-full-access`, or use a Codex profile that sets
|
|
216
|
+
`sandbox_mode = "danger-full-access"`.
|
|
256
217
|
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
```
|
|
218
|
+
Full tool reference: [docs/mcp.md](docs/mcp.md). Agent-facing operator guide:
|
|
219
|
+
[AGENTS.md](AGENTS.md).
|
|
220
|
+
|
|
221
|
+
</details>
|
|
262
222
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
No arguments launches the TUI. The subcommands are the operator surface for
|
|
268
|
-
humans and scripts.
|
|
269
|
-
|
|
270
|
-
The everyday surface:
|
|
271
|
-
|
|
272
|
-
- `reevesagents`: Launch the TUI (no subcommand).
|
|
273
|
-
- `spawn [spec...]`: Start a run with one or more provider agents. Each `spec` is `provider[:nickname[:model]]`. The first spec is the lead, the rest are workers. No spec defaults to `codex`. Key flags: `--name <name>` (default `run`), `--cwd <dir>` (default current dir), `--prompt <text>` (pasted into each agent), `--skip` (skip permission prompts), `--run <run-id>` (add agents to an existing run), `--auth-mode <mode>`, `--effort <level>`, `--extra-args <args>` (flags appended to every agent launch, e.g. `"--remote-control"`), `--json`.
|
|
274
|
-
- `add [spec...]`: Add one or more agents to the current workspace, the most recent active run, without passing a run id. Use it to grow a workspace one agent at a time. Same per-agent flags as `spawn`, plus `--run <run-id>` to target a specific run instead of the latest.
|
|
275
|
-
- `runs`: List active runs, one per line. Key flags: `--json` (full run records as a JSON array).
|
|
276
|
-
- `agents [run-id]`: List agents across all runs, or the agents in one run. Key flags: `--json`.
|
|
277
|
-
- `open <id>`: Switch tmux to a run's Reeves window or an agent window. Inside tmux it switches; outside tmux on a TTY it attaches; otherwise it prints a pasteable tmux command. Accepts a run id/name or an agent id/nickname (prefix match allowed).
|
|
278
|
-
- `peek <agent-id>`: Print recent output from one agent. Key flags: `-n, --lines <n>` (default `20`), `--json` (lines as an array).
|
|
279
|
-
- `send <agent-id> <text...>`: Paste text at an agent's prompt. It does not submit; follow with `key <agent-id> enter`.
|
|
280
|
-
- `key <agent-id> <key>`: Send one key: `enter`, `escape`, `backspace`, `tab`, `space`, `up`, `down`, `left`, `right`, or `ctrl-c`.
|
|
281
|
-
- `interrupt <agent-id>`: Send ctrl-c to one agent.
|
|
282
|
-
- `stop <run-id>`: Stop one run. Key flags: `-y, --yes` (or `ALLOW_DESTRUCTIVE=1`).
|
|
283
|
-
- `kill <agent-id>`: Stop one agent. Key flags: `-y, --yes` (or `ALLOW_DESTRUCTIVE=1`).
|
|
284
|
-
- `doctor`: Run environment health checks (Node, tmux, state path, provider CLIs). Exits non-zero on any failed check. Key flags: `--json`.
|
|
285
|
-
- `web`: Start the on-demand, loopback-only Web UI. Runs in the foreground; agents keep running after you stop it. Key flags: `--port <n>` (preferred port, falls back to the next free port), `--no-open` (do not open the browser).
|
|
286
|
-
|
|
287
|
-
Discovery, approvals, agent control, config, and cleanup:
|
|
288
|
-
|
|
289
|
-
- `providers`: List every provider with availability, aliases, and known models. Key flags: `--models`, `--json`.
|
|
290
|
-
- `approvals`: List pending approval requests from agents. Key flags: `--json`.
|
|
291
|
-
- `approve <approval-id> [note]`: Resolve an approval request as approved.
|
|
292
|
-
- `deny <approval-id> [note]`: Resolve an approval request as denied.
|
|
293
|
-
- `hosts`: List the agent CLIs on this machine and show which ones ReevesAgents is connected to.
|
|
294
|
-
- `attach [cli]`: Connect ReevesAgents to one agent CLI, or to every installed one when no name is given. Runs that CLI's own `mcp add` (or edits `opencode.json` for OpenCode). For a one-shot "set everything up" (attach every host and install the skill), use `reevesagents setup --attach`.
|
|
295
|
-
- `detach <cli>`: Disconnect ReevesAgents from one agent CLI. Runs that CLI's own `mcp remove`.
|
|
296
|
-
- `skills [action]`: Install the ReevesAgents skill (a `SKILL.md`) so skill-aware CLIs (Claude Code, Codex, Kimi, OpenCode) learn to drive ReevesAgents on their own. Actions: `status` (default), `install`, `remove`. Key flags: `--json`.
|
|
297
|
-
- `mcp`: Start the Agent control MCP server over stdio. Not run by hand; the CLI you connect it to runs it.
|
|
298
|
-
- `config [key] [value]`: Show all editable settings, read one, or set one. Key flags: `--json`.
|
|
299
|
-
- `presets`: List saved run presets. Key flags: `--json`.
|
|
300
|
-
- `save-preset <run-id> <name> [description...]`: Capture a live run as a reusable preset.
|
|
301
|
-
- `start-preset <name>`: Start a new run from a preset. Key flags: `--name <run>`, `--cwd <dir>`.
|
|
302
|
-
- `delete-preset <name>`: Delete a preset. Key flags: `-y, --yes`.
|
|
303
|
-
- `delete <agent-id>`: Delete one ended agent's record. Key flags: `-y, --yes`.
|
|
304
|
-
- `delete-run <run-id>`: Delete one ended run and archive it to history. Key flags: `-y, --yes`.
|
|
305
|
-
- `history`: List archived ended and stale runs. Key flags: `--json`.
|
|
306
|
-
- `delete-history <id>`: Delete one archived history record. Key flags: `-y, --yes`.
|
|
307
|
-
- `reap`: End zombie agents: any whose tmux window is gone, plus any older than `max_lifetime_ms` (when set above 0). ReevesAgents also reaps on its own in the background; this forces an immediate sweep. Key flags: `--json`.
|
|
308
|
-
|
|
309
|
-
`stop`, `kill`, and the `delete` commands are destructive. They refuse to run
|
|
310
|
-
without `--yes` or `ALLOW_DESTRUCTIVE=1`.
|
|
311
|
-
|
|
312
|
-
## Agent control
|
|
313
|
-
|
|
314
|
-
ReevesAgents ships an optional MCP server that lets one AI CLI spawn and drive
|
|
315
|
-
other AI CLIs: start an agent, paste a prompt, send keys, read output, and
|
|
316
|
-
resolve approval requests. It is a flat mechanism, not an orchestration policy:
|
|
317
|
-
no roles, no autonomous loops, no coordination protocol.
|
|
318
|
-
|
|
319
|
-
It is off by default. ReevesAgents never attaches it to a CLI on its own.
|
|
320
|
-
|
|
321
|
-
You turn it on from the **Agent control** screen in the TUI or the Web UI. That
|
|
322
|
-
screen lists the CLIs on this machine that can host an MCP server (claude,
|
|
323
|
-
codex, kimi, qwen, opencode, hermes) and lets you attach, detach, or attach all.
|
|
324
|
-
Attaching runs that CLI's own `mcp add` command (for example
|
|
325
|
-
`claude mcp add reevesagents -- reevesagents mcp`); detaching runs the matching
|
|
326
|
-
remove. ReevesAgents only calls each CLI's own command and never edits provider
|
|
327
|
-
config files by hand. OpenCode is the exception: it has no scriptable `mcp add`
|
|
328
|
-
for a local server, so ReevesAgents attaches it by writing the `reevesagents`
|
|
329
|
-
entry into its `~/.config/opencode/opencode.json` directly (and removes just that
|
|
330
|
-
entry on detach). Kimi Code is handled the same way: when the `kimi` on PATH is
|
|
331
|
-
Kimi Code rather than the legacy Kimi CLI, ReevesAgents reads its plugin and
|
|
332
|
-
`~/.kimi-code/mcp.json` for status and attaches through that config file.
|
|
333
|
-
|
|
334
|
-
Codex sandboxes MCP tool calls by default, which blocks reevesagents from
|
|
335
|
-
launching agents in tmux. Run Codex with full access when driving agents, for
|
|
336
|
-
example `codex --sandbox danger-full-access`, or add a profile that sets
|
|
337
|
-
`sandbox_mode = "danger-full-access"` and run `codex --profile <name>`.
|
|
338
|
-
|
|
339
|
-
Once a CLI is attached, it has the Agent Control tools whenever it starts.
|
|
340
|
-
Installing it is your explicit choice, and that choice is the consent. One run
|
|
341
|
-
is the controlling CLI as the head plus the agents it spawned, and the whole
|
|
342
|
-
group shows up in the TUI and Web UI like any other run.
|
|
343
|
-
|
|
344
|
-
Spawned workers do not receive the MCP by default, so they cannot spawn further
|
|
345
|
-
agents. To let a worker drive its own sub-workers, attach the MCP to that
|
|
346
|
-
worker's CLI from the same screen. Guardrails sit at the resource level: a
|
|
347
|
-
per-run agent cap (`max_agents`, default 100), enforced when the spawn tool adds
|
|
348
|
-
to a run, and the fact that each agent is a real CLI process in its own tmux pane.
|
|
349
|
-
|
|
350
|
-
ReevesAgents also reaps zombie agents on its own. On a timer (and on the `reap`
|
|
351
|
-
tool or CLI command), it ends any agent whose tmux window has died and any agent
|
|
352
|
-
older than `max_lifetime_ms`. That lifetime cap is off by default (`0`); set it to
|
|
353
|
-
auto-kill runaway agents that never exit, for example one hour with
|
|
354
|
-
`config max_lifetime_ms 3600000`.
|
|
355
|
-
|
|
356
|
-
An attached CLI can also discover what it can launch: the `list_providers` tool
|
|
357
|
-
and the `reevesagents://providers` resource return the providers on this machine
|
|
358
|
-
with their ids, install status, aliases, and known models, so an agent passes a
|
|
359
|
-
real id to `spawn` instead of guessing.
|
|
360
|
-
|
|
361
|
-
To help a CLI use these tools well, `reevesagents skills install` drops a
|
|
362
|
-
ReevesAgents skill (a single `SKILL.md`) into the two shared skill directories,
|
|
363
|
-
`~/.claude/skills` and `~/.agents/skills`, that Claude Code, Codex, Kimi, and
|
|
364
|
-
OpenCode read. The skill teaches the drive loop; it does not attach the MCP, which
|
|
365
|
-
stays the separate `attach` step.
|
|
366
|
-
|
|
367
|
-
See [docs/mcp.md](docs/mcp.md) for the full design and tool list.
|
|
368
|
-
|
|
369
|
-
## Configuration
|
|
370
|
-
|
|
371
|
-
All state and config are plain JSON files on your disk, so there is nothing to
|
|
372
|
-
administer and nothing running when you are not using it.
|
|
223
|
+
<a id="configuration"></a>
|
|
224
|
+
<details>
|
|
225
|
+
<summary><strong>Configuration</strong></summary>
|
|
373
226
|
|
|
374
227
|
State lives under `~/.reeves`:
|
|
375
228
|
|
|
376
229
|
```text
|
|
377
230
|
~/.reeves/
|
|
378
|
-
config.json
|
|
379
|
-
presets/
|
|
380
|
-
runs/
|
|
381
|
-
history/
|
|
231
|
+
config.json
|
|
232
|
+
presets/
|
|
233
|
+
runs/
|
|
234
|
+
history/
|
|
382
235
|
```
|
|
383
236
|
|
|
384
|
-
Two environment variables override the
|
|
385
|
-
multi-profile use:
|
|
237
|
+
Two environment variables override the default paths:
|
|
386
238
|
|
|
387
|
-
- `REEVES_REGISTRY`: state root override
|
|
388
|
-
|
|
389
|
-
- `REEVES_CONFIG`: config file path override. Replaces `~/.reeves/config.json`.
|
|
239
|
+
- `REEVES_REGISTRY`: state root override for `runs/`, `history/`, and `presets/`.
|
|
240
|
+
- `REEVES_CONFIG`: config file path override.
|
|
390
241
|
|
|
391
242
|
Anything that might contain a secret is scrubbed before it reaches a file.
|
|
392
243
|
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
Spread one project across the CLIs that fit each job:
|
|
244
|
+
</details>
|
|
396
245
|
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
```
|
|
246
|
+
<a id="examples"></a>
|
|
247
|
+
<details>
|
|
248
|
+
<summary><strong>Examples</strong></summary>
|
|
401
249
|
|
|
402
|
-
|
|
250
|
+
Spread one project across multiple CLIs:
|
|
403
251
|
|
|
404
252
|
```sh
|
|
405
|
-
reevesagents
|
|
406
|
-
|
|
253
|
+
reevesagents spawn deepseek:backend claude-code:product codex:review \
|
|
254
|
+
--name "feature x" \
|
|
255
|
+
--prompt "Backend, product copy, and a review pass."
|
|
407
256
|
```
|
|
408
257
|
|
|
409
|
-
Watch
|
|
410
|
-
you:
|
|
258
|
+
Watch one agent and then open its window:
|
|
411
259
|
|
|
412
260
|
```sh
|
|
413
261
|
reevesagents peek backend -n 40
|
|
414
262
|
reevesagents open backend
|
|
415
263
|
```
|
|
416
264
|
|
|
417
|
-
|
|
265
|
+
Stop the run when the work is done:
|
|
418
266
|
|
|
419
267
|
```sh
|
|
420
268
|
reevesagents stop "feature x" --yes
|
|
421
269
|
```
|
|
422
270
|
|
|
423
|
-
|
|
271
|
+
</details>
|
|
424
272
|
|
|
425
|
-
|
|
273
|
+
<a id="web-ui"></a>
|
|
274
|
+
<details>
|
|
275
|
+
<summary><strong>Web UI</strong></summary>
|
|
426
276
|
|
|
427
277
|
```sh
|
|
428
278
|
reevesagents web
|
|
429
279
|
```
|
|
430
280
|
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
the page. From the browser you can create runs, add agents with a chosen model
|
|
434
|
-
and permission mode, stop what needs stopping, and dig through history while
|
|
435
|
-
the real CLIs keep working underneath.
|
|
281
|
+
The Web UI binds to `127.0.0.1` only and runs in the foreground. Agents keep
|
|
282
|
+
running after the page closes because they live in tmux.
|
|
436
283
|
|
|
437
|
-
The Web UI uses
|
|
438
|
-
installs them by default.
|
|
439
|
-
`web`
|
|
284
|
+
The Web UI uses optional runtime modules, `ws` and `@lydell/node-pty`. npm
|
|
285
|
+
installs them by default. CLI and TUI commands keep working without them, and
|
|
286
|
+
`reevesagents web` explains what is missing.
|
|
440
287
|
|
|
441
|
-
To reach
|
|
442
|
-
There is no built-in tunnel:
|
|
288
|
+
To reach it from another machine, forward the loopback port over SSH:
|
|
443
289
|
|
|
444
290
|
```sh
|
|
445
291
|
ssh -L 8080:127.0.0.1:8080 user@host
|
|
446
|
-
# then browse to http://localhost:8080
|
|
447
292
|
```
|
|
448
293
|
|
|
449
|
-
|
|
294
|
+
</details>
|
|
450
295
|
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
`reeves`; set `REEVES_NO_TMUX_WRAPPER=1` to skip that behavior.
|
|
296
|
+
<a id="troubleshooting"></a>
|
|
297
|
+
<details>
|
|
298
|
+
<summary><strong>Troubleshooting</strong></summary>
|
|
455
299
|
|
|
456
|
-
**
|
|
457
|
-
|
|
458
|
-
`
|
|
459
|
-
then install or log in to the provider CLI you need.
|
|
300
|
+
**tmux is not installed.** Install tmux and run `reevesagents doctor`. The TUI
|
|
301
|
+
auto-wraps itself in a tmux session named `reeves`; set
|
|
302
|
+
`REEVES_NO_TMUX_WRAPPER=1` to skip that behavior.
|
|
460
303
|
|
|
461
|
-
**
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
Reinstall with optional dependencies enabled, then run `reevesagents doctor`.
|
|
304
|
+
**A provider CLI is missing or signed out.** ReevesAgents launches provider CLIs
|
|
305
|
+
that are already on `PATH` and authenticated. `reevesagents doctor` shows what
|
|
306
|
+
is detected. If a launched window is waiting at login, `peek` shows it.
|
|
465
307
|
|
|
466
|
-
**
|
|
467
|
-
|
|
468
|
-
chosen URL. Pass `--port <n>` to pick a different starting port.
|
|
308
|
+
**The Web UI reports missing packages.** Reinstall with optional dependencies
|
|
309
|
+
enabled, then run `reevesagents doctor`.
|
|
469
310
|
|
|
470
|
-
|
|
311
|
+
**Port already in use.** `reevesagents web` starts at `8080` by default. If it is
|
|
312
|
+
taken, the server binds the next free port in a small range and prints the URL.
|
|
471
313
|
|
|
472
|
-
|
|
473
|
-
service, or MCP setup for normal stable agent runs. Install never rewrites your
|
|
474
|
-
provider configuration: the only thing a global install adds is a one-line hint
|
|
475
|
-
pointing you at `reevesagents attach`. Attaching the Agent Control MCP is the one
|
|
476
|
-
explicit, opt-in step that touches provider config, and only through each CLI's
|
|
477
|
-
own `mcp add` command.
|
|
314
|
+
</details>
|
|
478
315
|
|
|
479
|
-
|
|
316
|
+
<a id="contributing"></a>
|
|
317
|
+
<details>
|
|
318
|
+
<summary><strong>Contributing</strong></summary>
|
|
480
319
|
|
|
481
|
-
|
|
482
|
-
[
|
|
483
|
-
[
|
|
484
|
-
[REEVESAGENTS_DESIGN.md](docs/REEVESAGENTS_DESIGN.md) and the contributor docs are
|
|
485
|
-
under [docs/](docs).
|
|
320
|
+
Contributor docs live under [docs/](docs). Start with
|
|
321
|
+
[CONTRIBUTING.md](.github/CONTRIBUTING.md), [testing](docs/testing.md), and
|
|
322
|
+
[releasing](docs/releasing.md).
|
|
486
323
|
|
|
487
324
|
End users do not need the development toolchain. Contributors use pnpm,
|
|
488
325
|
TypeScript, tsup, Vitest, and ESLint from the repository.
|
|
489
326
|
|
|
327
|
+
</details>
|
|
328
|
+
|
|
490
329
|
## Links
|
|
491
330
|
|
|
492
331
|
- Website: https://reevesagents.mertkayacs.com
|