reevesagents 2.1.0 → 2.2.1

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/README.md CHANGED
@@ -1,54 +1,143 @@
1
- <p align="center"><a href="https://reevesagents.mertkayacs.com/"><img src="assets/banner.webp" width="1050" alt="ReevesAgents is free and open source under the Apache-2.0 license"></a></p>
1
+ <p align="center">
2
+ <picture>
3
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mertkayacs/reevesagents/master/docs/brand/svg/reevesagents-logo-on-dark.svg">
4
+ <img src="https://raw.githubusercontent.com/mertkayacs/reevesagents/master/docs/brand/svg/reevesagents-logo-on-light.svg" alt="ReevesAgents" width="260">
5
+ </picture>
6
+ </p>
7
+
8
+ <h1 align="center">Spawn the team. Steer every agent.</h1>
2
9
 
3
10
  <p align="center">
4
- <a href="https://github.com/mertkayacs/reevesagents"><img src="https://img.shields.io/github/stars/mertkayacs/reevesagents?style=flat&logo=github" alt="GitHub stars" /></a>
5
- <a href="https://www.npmjs.com/package/reevesagents"><img src="https://img.shields.io/npm/v/reevesagents.svg" alt="npm version" /></a>
6
- <a href="https://www.npmjs.com/package/reevesagents"><img src="https://img.shields.io/npm/dm/reevesagents" alt="monthly npm downloads" /></a>
7
- <a href="https://www.npmjs.com/package/reevesagents"><img src="https://img.shields.io/npm/dt/reevesagents" alt="total npm downloads" /></a>
8
- <a href="https://nodejs.org"><img src="https://img.shields.io/node/v/reevesagents.svg" alt="node" /></a>
9
- <a href="LICENSE"><img src="https://img.shields.io/npm/l/reevesagents.svg" alt="license" /></a>
10
- <a href="LICENSE"><img src="https://img.shields.io/badge/free%20and%20open%20source-006d77" alt="free and open source" /></a>
11
- <a href="https://github.com/mertkayacs/reevesagents/actions/workflows/test.yml"><img src="https://img.shields.io/github/actions/workflow/status/mertkayacs/reevesagents/test.yml?branch=master&label=CI" alt="CI" /></a>
11
+ Open-source workspace that runs AI coding CLIs side by side on your machine.<br>
12
+ <b>25 CLIs, each in its own tmux window. One of them can drive the rest over MCP.</b>
12
13
  </p>
13
14
 
14
- ReevesAgents is free and open source under the Apache-2.0 license.
15
+ <p align="center">
16
+ <a href="https://www.npmjs.com/package/reevesagents"><img alt="npm version" src="https://img.shields.io/npm/v/reevesagents?style=flat-square&logo=npm&label=npm&color=006D77"></a>
17
+ <a href="LICENSE"><img alt="License: Apache-2.0" src="https://img.shields.io/badge/license-Apache--2.0-3b82f6?style=flat-square"></a>
18
+ <img alt="Node.js 22.12 or newer and tmux" src="https://img.shields.io/badge/Node.js%2022.12%2B%20and%20tmux-5FA04E?style=flat-square&logo=nodedotjs&logoColor=white">
19
+ <img alt="25 supported coding CLIs" src="https://img.shields.io/badge/CLIs-25%20supported-1A202C?style=flat-square">
20
+ <a href="https://github.com/mertkayacs/reevesagents"><img alt="GitHub stars" src="https://img.shields.io/github/stars/mertkayacs/reevesagents?style=flat-square&logo=github&color=8A6D3B"></a>
21
+ </p>
15
22
 
16
23
  <p align="center">
17
- <a href="https://reevesagents.mertkayacs.com/demo/"><b>Demo</b></a> ·
18
- <a href="https://reevesagents.mertkayacs.com/docs/"><b>Docs</b></a> ·
19
- <a href="https://reevesagents.mertkayacs.com/faq/"><b>FAQ</b></a> ·
20
- <a href="https://github.com/mertkayacs/reevesagents/issues"><b>Issues</b></a>
24
+ <a href="#quick-start"><img alt="Install" src="https://img.shields.io/badge/Install-006D77?style=for-the-badge&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48ZyBmaWxsPSJub25lIiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIj48cGF0aCBkPSJNMTIgMjJWMTIiLz48cGF0aCBkPSJtMTYgMTcgMiAyIDQtNCIvPjxwYXRoIGQ9Ik0yMSAxMS4xMjdWOGEyIDIgMCAwIDAtMS0xLjczbC03LTRhMiAyIDAgMCAwLTIgMGwtNyA0QTIgMiAwIDAgMCAzIDh2OGEyIDIgMCAwIDAgMSAxLjcyOWw3IDRhMiAyIDAgMCAwIDIgLjAwMWwxLjMyLS43NTMiLz48cGF0aCBkPSJNMy4yOSA3IDEyIDEybDguNzEtNSIvPjxwYXRoIGQ9Im03LjUgNC4yNyA4Ljk5NyA1LjE0OCIvPjwvZz48L3N2Zz4%3D&logoColor=white"></a>
25
+ <a href="https://reevesagents.mertkayacs.com/demo/?utm_source=github&utm_medium=readme&utm_campaign=reevesagents-repo&utm_content=demo-badge"><img alt="Demo" src="https://img.shields.io/badge/Demo-006D77?style=for-the-badge&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiBkPSJNNSA1YTIgMiAwIDAgMSAzLjAwOC0xLjcyOGwxMS45OTcgNi45OThhMiAyIDAgMCAxIC4wMDMgMy40NThsLTEyIDdBMiAyIDAgMCAxIDUgMTl6Ii8%2BPC9zdmc%2B&logoColor=white"></a>
26
+ <a href="https://reevesagents.mertkayacs.com/docs/?utm_source=github&utm_medium=readme&utm_campaign=reevesagents-repo&utm_content=docs-badge"><img alt="Docs" src="https://img.shields.io/badge/Docs-1A202C?style=for-the-badge&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiBkPSJNMTIgNXYxNm04LjAwMS0yQTIgMiAwIDAgMCAyMiAxN1Y1YTIgMiAwIDAgMC0xLjk5OS0yTDE2IDMuMDAyQTUgNSAwIDAgMCAxMiA1YTUgNSAwIDAgMC00LTJINGEyIDIgMCAwIDAtMiAydjEyYTIgMiAwIDAgMCAxLjk5OSAySDhhNSA1IDAgMCAxIDQgMmE1IDUgMCAwIDEgNC0yeiIvPjwvc3ZnPg%3D%3D&logoColor=white"></a>
27
+ <a href="https://reevesagents.mertkayacs.com/?utm_source=github&utm_medium=readme&utm_campaign=reevesagents-repo&utm_content=website-badge"><img alt="Website" src="https://img.shields.io/badge/Website-1A202C?style=for-the-badge&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48ZyBmaWxsPSJub25lIiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIj48Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIvPjxwYXRoIGQ9Ik0xMiAyYTE0LjUgMTQuNSAwIDAgMCAwIDIwYTE0LjUgMTQuNSAwIDAgMCAwLTIwTTIgMTJoMjAiLz48L2c%2BPC9zdmc%2B&logoColor=white"></a>
28
+ <a href="https://www.npmjs.com/package/reevesagents"><img alt="npm" src="https://img.shields.io/badge/npm-1A202C?style=for-the-badge&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48ZyBmaWxsPSJub25lIiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIj48cGF0aCBkPSJNMTEgMjEuNzNhMiAyIDAgMCAwIDIgMGw3LTRBMiAyIDAgMCAwIDIxIDE2VjhhMiAyIDAgMCAwLTEtMS43M2wtNy00YTIgMiAwIDAgMC0yIDBsLTcgNEEyIDIgMCAwIDAgMyA4djhhMiAyIDAgMCAwIDEgMS43M3oiLz48cGF0aCBkPSJNMTIgMjJWMTIiLz48cG9seWxpbmUgcG9pbnRzPSIzLjI5IDcgMTIgMTIgMjAuNzEgNyIvPjxwYXRoIGQ9Im03LjUgNC4yNyA5IDUuMTUiLz48L2c%2BPC9zdmc%2B&logoColor=white"></a>
29
+ <a href="https://registry.modelcontextprotocol.io/?q=io.github.mertkayacs/reevesagents"><img alt="MCP Registry" src="https://img.shields.io/badge/MCP%20Registry-1A202C?style=for-the-badge&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48ZyBmaWxsPSJub25lIiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIj48cmVjdCB3aWR0aD0iMjAiIGhlaWdodD0iOCIgeD0iMiIgeT0iMiIgcng9IjIiIHJ5PSIyIi8%2BPHJlY3Qgd2lkdGg9IjIwIiBoZWlnaHQ9IjgiIHg9IjIiIHk9IjE0IiByeD0iMiIgcnk9IjIiLz48cGF0aCBkPSJNNiA2aC4wMU02IDE4aC4wMSIvPjwvZz48L3N2Zz4%3D&logoColor=white"></a>
21
30
  </p>
22
31
 
23
32
  <p align="center">
24
- <img src="docs/assets/providers/cc.svg" width="40" height="40" alt="Claude Code" title="Claude Code">
25
- <img src="docs/assets/providers/codex.svg" width="40" height="40" alt="Codex CLI" title="Codex CLI">
26
- <img src="docs/assets/providers/gemini.svg" width="40" height="40" alt="Gemini CLI" title="Gemini CLI">
27
- <img src="docs/assets/providers/copilot.svg" width="40" height="40" alt="GitHub Copilot CLI" title="GitHub Copilot CLI">
28
- <img src="docs/assets/providers/cursor.svg" width="40" height="40" alt="Cursor CLI" title="Cursor CLI">
29
- <img src="docs/assets/providers/opencode.svg" width="40" height="40" alt="OpenCode" title="OpenCode">
30
- <img src="docs/assets/providers/kimi.svg" width="40" height="40" alt="Kimi Code" title="Kimi Code">
31
- <img src="docs/assets/providers/aider.svg" width="40" height="40" alt="Aider" title="Aider">
33
+ <picture>
34
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mertkayacs/reevesagents/master/docs/assets/readme/hero-dark.webp">
35
+ <img src="https://raw.githubusercontent.com/mertkayacs/reevesagents/master/docs/assets/readme/hero-light.webp" alt="The ReevesAgents Web UI with a run of four Kilo Code agents. The fix agent&#x27;s live terminal shows its steps and npm test passing 4 of 4." width="960">
36
+ </picture>
32
37
  </p>
33
- <p align="center"><b>25+ coding CLIs, one workspace.</b></p>
34
38
 
35
- **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)
39
+ ReevesAgents is a free, open-source workspace for AI coding agents. It runs Claude Code, Codex, Kimi, OpenCode, Gemini CLI and 20 other coding CLIs side by side, each in its own tmux window, and gives you a terminal UI, a browser UI and a scriptable CLI over the same runs. Attach its MCP server to one CLI and that agent can spawn, read, steer and stop the others. Every CLI keeps its own login, and ReevesAgents keeps its state in a few JSON files under `~/.reeves`.
40
+
41
+ ---
42
+
43
+ ## Why ReevesAgents
36
44
 
37
- ReevesAgents is a local workspace for AI coding CLIs. It runs Claude Code,
38
- Codex, OpenCode, Hermes, Kimi, DeepSeek, Qwen, Pi, Aider, Gemini CLI, Cline CLI,
39
- Crush, Goose, Kilo Code, Letta Code, Mistral Vibe, Grok Build, Kiro CLI,
40
- Factory Droid, Qoder CLI, Warp, Junie CLI, GitHub Copilot CLI, Cursor CLI,
41
- Rovo Dev CLI, and other provider CLIs side by side in tmux. You can use it as a
42
- normal CLI/TUI/Web UI, or attach its opt-in MCP so one agent can spawn, read,
43
- steer, and stop the rest.
45
+ You already use these CLIs, and you are already signed in to them. ReevesAgents runs them as a team on your machine and leaves every login where it was.
44
46
 
45
- Provider logins stay inside each provider CLI. ReevesAgents keeps its own state
46
- as a few plain JSON files under `~/.reeves`, and it runs only while you or an
47
- attached CLI are using it.
47
+ | | |
48
+ |---|---|
49
+ | <img src="https://raw.githubusercontent.com/mertkayacs/reevesagents/master/docs/assets/readme/icons/layers.svg" width="18" height="18" alt=""> **25 CLIs, one workspace** | Claude Code, Codex, Kimi, OpenCode, Hermes, Gemini CLI and [19 more](#supported-clis) start from one command. Each runs as the real CLI in its own tmux window, so agents keep running after you close the UI. |
50
+ | <img src="https://raw.githubusercontent.com/mertkayacs/reevesagents/master/docs/assets/readme/icons/network.svg" width="18" height="18" alt=""> **One agent drives the rest** | `reevesagents attach cc` gives Claude Code the MCP tools to spawn, read, steer and stop other agents. Codex, Kimi Code, Qwen Code, Hermes and OpenCode can host it too, and it stays off until you attach it ([details](docs/mcp.md)). |
51
+ | <img src="https://raw.githubusercontent.com/mertkayacs/reevesagents/master/docs/assets/readme/icons/key-round.svg" width="18" height="18" alt=""> **Your logins stay put** | Each CLI signs in the way it always does. ReevesAgents stores no API keys, adds no proxy, and redacts token-like text in tasks, notes and approvals before it writes state. |
52
+ | <img src="https://raw.githubusercontent.com/mertkayacs/reevesagents/master/docs/assets/readme/icons/app-window.svg" width="18" height="18" alt=""> **Four ways in** | A terminal UI, a Web UI with a live pane per agent, a CLI with `--json` output for scripts, and the MCP. All four read and write the same runs. |
53
+ | <img src="https://raw.githubusercontent.com/mertkayacs/reevesagents/master/docs/assets/readme/icons/folder-lock.svg" width="18" height="18" alt=""> **Plain local state** | A few JSON files under `~/.reeves`, with no database and no Docker. The Web UI answers on 127.0.0.1 only and rejects foreign Host and Origin headers ([guards](src/surfaces/webui/guards.ts)). |
54
+ | <img src="https://raw.githubusercontent.com/mertkayacs/reevesagents/master/docs/assets/readme/icons/monitor-check.svg" width="18" height="18" alt=""> **macOS, Linux, WSL, Windows** | tmux 3.0 or newer on macOS, Linux and WSL. Native Windows 10 1809 or later runs on the built-in winmux multiplexer over ConPTY, without WSL ([2.1.0](CHANGELOG.md)). |
48
55
 
49
- <img src="https://raw.githubusercontent.com/mertkayacs/reevesagents/master/docs/assets/reevesagents-hero.webp" width="720" alt="A gold-framed lead pane joined by fine gold threads to eight glowing glass panes, one for each tool in a run">
56
+ ## A quick tour
50
57
 
51
- ## Quick Start
58
+ <p align="center">
59
+ <img src="https://raw.githubusercontent.com/mertkayacs/reevesagents/master/docs/assets/readme/tour.gif" alt="A short tour of the ReevesAgents Web UI: the fix and tests agents&#x27; live terminals, then the New run dialog with the list of CLIs" width="900">
60
+ </p>
61
+
62
+ <table>
63
+ <tr>
64
+ <td width="50%" valign="top">
65
+ <picture>
66
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mertkayacs/reevesagents/master/docs/assets/readme/live-panes-dark.webp">
67
+ <img src="https://raw.githubusercontent.com/mertkayacs/reevesagents/master/docs/assets/readme/live-panes-light.webp" alt="The tests agent&#x27;s live terminal in the ReevesAgents Web UI, with its steps and npm test reporting two failing cases">
68
+ </picture>
69
+ <h3>Watch every agent live</h3>
70
+ Pick an agent to open its live terminal. Here the tests agent has added three cases and npm test reports two failures.
71
+ </td>
72
+ <td width="50%" valign="top">
73
+ <picture>
74
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mertkayacs/reevesagents/master/docs/assets/readme/new-run-dark.webp">
75
+ <img src="https://raw.githubusercontent.com/mertkayacs/reevesagents/master/docs/assets/readme/new-run-light.webp" alt="The New run dialog with a run name field and a grid of coding CLIs with their install state">
76
+ </picture>
77
+ <h3>Start a run from the browser</h3>
78
+ Choose one of the 25 CLIs, a model and a permission mode. CLIs that are not installed are marked.
79
+ </td>
80
+ </tr>
81
+ <tr>
82
+ <td width="50%" valign="top">
83
+ <picture>
84
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mertkayacs/reevesagents/master/docs/assets/readme/agent-control-dark.webp">
85
+ <img src="https://raw.githubusercontent.com/mertkayacs/reevesagents/master/docs/assets/readme/agent-control-light.webp" alt="The Agent control dialog listing six host CLIs, with Claude Code, Codex and OpenCode attached">
86
+ </picture>
87
+ <h3>Let one agent drive the rest</h3>
88
+ Attach the MCP to Claude Code, Codex, Kimi Code, Qwen Code, Hermes or OpenCode, then restart that CLI to load the tools.
89
+ </td>
90
+ <td width="50%" valign="top">
91
+ <picture>
92
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mertkayacs/reevesagents/master/docs/assets/readme/cli-dark.webp">
93
+ <img src="https://raw.githubusercontent.com/mertkayacs/reevesagents/master/docs/assets/readme/cli-light.webp" alt="A terminal running reevesagents spawn with Claude Code, Codex, Kimi Code and OpenCode, then reevesagents agents listing both runs">
94
+ </picture>
95
+ <h3>Script it from the terminal</h3>
96
+ One spawn line starts a mixed team and prints the commands to watch and steer it.
97
+ </td>
98
+ </tr>
99
+ </table>
100
+
101
+ <p align="center"><sub>The Web UI screenshots show a demo run of four Kilo Code agents on a sample repository. Any of the 25 CLIs works the same way.</sub></p>
102
+
103
+ ## Features
104
+
105
+ **Run a team**
106
+
107
+ - `reevesagents spawn provider[:nickname[:model]]` starts a run. The first agent leads and the rest join as workers, and `reevesagents add` grows the latest run.
108
+ - Per agent you choose the model, the permission mode (ask first, or skip with each CLI's own bypass flag), reasoning effort for Claude Code and Codex, and extra launch flags.
109
+ - Presets save a live run and start it again later. Ended runs move to history, and `reap` ends zombie agents and orphan tmux sessions.
110
+
111
+ **Watch and steer**
112
+
113
+ - `peek` reads recent output, `send` pastes text and `key <id> enter` submits it, `interrupt` sends Ctrl-C and `open` jumps to the agent's tmux window. `stop` and `kill` need `--yes`.
114
+ - The Web UI shows every run, a live terminal for the selected agent, approvals, presets and history, in a light or dark theme and ten languages.
115
+ - A CLI with the MCP attached can ask for approval before a risky step, and you approve or deny it from the CLI or the Web UI.
116
+
117
+ **Develop, review, fix**
118
+
119
+ - `reevesagents flow start` attaches a flow to an existing run: a developer agent, a reviewer agent and the repository. Each `flow tick` moves it one step: the developer gets the next spec, the reviewer checks the commit, and the item is closed or sent back for a fix within the round budgets.
120
+ - Specs wait in a queue (`flow add-spec`) or come from a plan imported from a document in the repository (`flow plan`). `status`, `notes`, `logs` and `incidents` show where each flow stands, what the reviewer found, the journal, and questions or failures that need attention. The TUI, the Web UI and the MCP tools show the same flows, and the MCP server runs a step only when asked.
121
+
122
+ **Agent Control (MCP)**
123
+
124
+ - `reevesagents attach` connects every installed host CLI, or one by its id: `cc`, `codex`, `kimi`, `qwen`, `hermes` or `opencode`. `hosts` shows the state and `detach <id>` removes it.
125
+ - The host gets tools to spawn agents, read their output, send text and keys, interrupt, stop, and handle approvals and presets. Workers get none of them unless you attach their CLI too.
126
+ - A Claude Code plugin ships in this repository, and the server is listed in the official MCP Registry as io.github.mertkayacs/reevesagents.
127
+
128
+ **Local by design**
129
+
130
+ - State is plain JSON under `~/.reeves`, and `REEVES_REGISTRY` and `REEVES_CONFIG` move it elsewhere.
131
+ - Provider credentials are never stored and model traffic goes straight from each CLI to its provider. Known token patterns are redacted before state is written.
132
+ - The Web UI binds to 127.0.0.1, checks the Host header on every request and checks the Origin header on every request that changes state.
133
+
134
+ **Helper tools**
135
+
136
+ - `reevesagents tools` lists Perplexity CLI, Google Colab CLI, Hugging Face CLI and Ollama with a purpose, an example command and their install and sign-in state. Agents call them from their own shell.
137
+
138
+ ## Quick start
139
+
140
+ Install with pnpm, check the machine, then open the terminal UI:
52
141
 
53
142
  ```sh
54
143
  pnpm add -g reevesagents
@@ -56,7 +145,15 @@ reevesagents doctor
56
145
  reevesagents
57
146
  ```
58
147
 
59
- Start a run from the CLI:
148
+ npm, Homebrew and a one-off check work too:
149
+
150
+ ```sh
151
+ npm install -g reevesagents
152
+ brew install mertkayacs/reevesagents/reevesagents
153
+ npx reevesagents doctor
154
+ ```
155
+
156
+ Start a team from the command line:
60
157
 
61
158
  ```sh
62
159
  reevesagents spawn claude-code:lead codex:tests hermes:research \
@@ -64,342 +161,159 @@ reevesagents spawn claude-code:lead codex:tests hermes:research \
64
161
  --prompt "Review the release path, test coverage, and docs."
65
162
  ```
66
163
 
67
- Open the Web UI:
164
+ Open the Web UI, which listens on 127.0.0.1 only:
68
165
 
69
166
  ```sh
70
167
  reevesagents web
71
168
  ```
72
169
 
73
- Let one attached agent drive the others:
170
+ Let Claude Code drive the others, then restart it so it loads the MCP tools:
74
171
 
75
172
  ```sh
76
- reevesagents attach codex
173
+ reevesagents attach cc
77
174
  reevesagents hosts
78
175
  ```
79
176
 
80
- Restart that CLI after attach so it loads the MCP tools.
81
-
82
- ## Windows
83
-
84
- Native Windows 10 1809+ needs no WSL: reevesagents ships a built-in, tmux-compatible
85
- multiplexer (winmux) that runs panes over ConPTY. Agents keep running after you close
86
- the UI because winmux runs as a background server, just like tmux. When you attach in
87
- the TUI or CLI, the usual prefix keys work: Ctrl-b d to detach, Ctrl-b n / p to move
88
- between agent windows, Ctrl-b 0-9 to jump to a window.
89
-
90
- ## What It Gives You
91
-
92
- | Surface | Use it for |
93
- | --- | --- |
94
- | **TUI** | Keyboard-first run control inside the terminal. |
95
- | **Web UI** | Local visual view of runs, panes, agents, approvals, and history. |
96
- | **CLI** | Scripts, smoke checks, spawning, state cleanup, and tmux jumps. |
97
- | **Agent Control MCP** | One trusted CLI can spawn and drive other CLIs through local tools. |
98
- | **tmux** | Real provider CLI windows that keep running after the UI closes. |
99
-
100
- ReevesAgents is local by design. State is plain JSON under `~/.reeves`, and the
101
- CLIs it starts are the same CLIs you already use by hand.
102
-
103
- ## Tools
104
-
105
- Four tools sit next to the coding CLIs. Perplexity CLI searches the web,
106
- Google Colab CLI runs scripts and notebooks on CPU, GPU and TPU runtimes,
107
- Hugging Face CLI downloads and uploads models and datasets and runs jobs on the
108
- Hub, and Ollama runs local or cloud models from the terminal. Agents call them
109
- from their own shell.
110
-
111
- `reevesagents tools` lists the four with a purpose, an example command, and
112
- whether each is installed and signed in (for Ollama: reachable). Add `--json`
113
- for scripts. An agent with the MCP attached gets the same list from
114
- `list_tools`.
115
-
116
- <a id="install"></a>
117
- <details>
118
- <summary><strong>Install</strong></summary>
119
-
120
- ReevesAgents needs Node.js `22.12+`, tmux `3.0+`, and at least one supported
121
- provider CLI installed and authenticated. It supports macOS, Linux, and WSL.
122
-
123
- ```sh
124
- # Homebrew
125
- brew tap mertkayacs/reevesagents
126
- brew install reevesagents
127
-
128
- # pnpm
129
- pnpm add -g reevesagents
130
-
131
- # npm
132
- npm install -g reevesagents
133
-
134
- # one-shot checks
135
- pnpm dlx reevesagents doctor
136
- npx reevesagents doctor
137
- ```
138
-
139
- Pin a version by replacing `<version>`:
177
+ In Claude Code you can install the connection and its operating instructions as a plugin instead:
140
178
 
141
179
  ```sh
142
- pnpm add -g reevesagents@<version>
180
+ claude plugin marketplace add mertkayacs/reevesagents
181
+ claude plugin install reevesagents@reevesagents
143
182
  ```
144
183
 
145
- Source install:
184
+ ### Requirements
185
+
186
+ - Node.js 22.12 or newer.
187
+ - tmux 3.0 or newer on macOS, Linux and WSL. Native Windows 10 1809 or later uses the built-in winmux multiplexer instead.
188
+ - At least one supported coding CLI, installed and signed in. `reevesagents doctor` checks Node, tmux and which CLIs it can launch.
189
+ - The Web UI uses the optional `ws` and `@lydell/node-pty` modules, which npm installs by default.
190
+
191
+ ## Supported CLIs
192
+
193
+ Use the id in a spawn spec such as `codex:tests`. Aliases like `claude` work there too, while `attach` and `detach` take the id.
194
+
195
+ | CLI | id | MCP host |
196
+ |---|---|---|
197
+ | Claude Code | `cc` | yes |
198
+ | Codex CLI | `codex` | yes |
199
+ | OpenCode CLI | `opencode` | yes |
200
+ | Hermes | `hermes` | yes |
201
+ | Kimi Code | `kimi` | yes |
202
+ | DeepSeek CLI | `deepseek` | |
203
+ | Pi | `pi` | |
204
+ | Qwen Code | `qwen` | yes |
205
+ | Aider | `aider` | |
206
+ | Gemini CLI | `gemini` | |
207
+ | Cline CLI | `cline` | |
208
+ | Crush | `crush` | |
209
+ | Goose | `goose` | |
210
+ | Kilo Code | `kilo` | |
211
+ | Letta Code | `letta` | |
212
+ | Mistral Vibe | `vibe` | |
213
+ | Grok Build | `grok` | |
214
+ | Kiro CLI | `kiro` | |
215
+ | Factory Droid | `droid` | |
216
+ | Qoder CLI | `qoder` | |
217
+ | Warp | `warp` | |
218
+ | Junie CLI | `junie` | |
219
+ | GitHub Copilot CLI | `copilot` | |
220
+ | Cursor CLI | `cursor` | |
221
+ | Rovo Dev CLI | `rovo` | |
222
+
223
+ <sub>The binary on your PATH matches the id, except `claude` (cc), `kiro-cli` (kiro), `qodercli` (qoder), `cursor-agent` (cursor) and `acli` (rovo). `reevesagents providers` shows which of them it finds, with their aliases and suggested models.</sub>
224
+
225
+ ## FAQ
146
226
 
147
- ```sh
148
- git clone https://github.com/mertkayacs/reevesagents.git
149
- cd reevesagents
150
- pnpm install
151
- pnpm build
152
- pnpm link --global
153
- reevesagents doctor
154
- ```
227
+ <details>
228
+ <summary><b>Does ReevesAgents store my API keys?</b></summary>
155
229
 
230
+ No. Each CLI keeps its own login and keys, the same as when you run it by hand. ReevesAgents keeps run records under `~/.reeves` and redacts text that looks like a token before writing it.
156
231
  </details>
157
232
 
158
- <a id="screenshots"></a>
159
233
  <details>
160
- <summary><strong>Screenshots</strong></summary>
161
-
162
- The TUI and Web UI drive the same local runs:
163
-
164
- ![ReevesAgents Web UI: runs and live agent panes](https://raw.githubusercontent.com/mertkayacs/reevesagents/master/docs/assets/reevesagents-web-en.png)
165
-
166
- ![ReevesAgents Web UI: starting a new run](https://raw.githubusercontent.com/mertkayacs/reevesagents/master/docs/assets/reevesagents-newrun-en.png)
234
+ <summary><b>Does my code leave my machine?</b></summary>
167
235
 
236
+ Each coding CLI sends your code to its own model provider, as it always does, and ReevesAgents adds nothing in between. The Web UI answers only on 127.0.0.1. To use it from another machine, forward the port over SSH with `ssh -L 8080:127.0.0.1:8080 user@host`.
168
237
  </details>
169
238
 
170
- <a id="commands"></a>
171
239
  <details>
172
- <summary><strong>Commands</strong></summary>
173
-
174
- No arguments launches the TUI.
175
-
176
- | Command | Purpose |
177
- | --- | --- |
178
- | `reevesagents` | Launch the TUI. |
179
- | `spawn [spec...]` | Start a run. Each spec is `provider[:nickname[:model]]`. |
180
- | `add [spec...]` | Add agents to the most recent active run. |
181
- | `runs` | List active runs. |
182
- | `agents [run-id]` | List agents across runs or inside one run. |
183
- | `open <id>` | Jump to a run or agent tmux window. |
184
- | `peek <agent-id>` | Print recent output from one agent. |
185
- | `send <agent-id> <text...>` | Paste text into an agent without submitting. |
186
- | `key <agent-id> <key>` | Send `enter`, `escape`, arrows, `tab`, `space`, `backspace`, or `ctrl-c`. |
187
- | `interrupt <agent-id>` | Send Ctrl-C to one agent. |
188
- | `stop <run-id>` | Stop a run. Requires `--yes` or `ALLOW_DESTRUCTIVE=1`. |
189
- | `kill <agent-id>` | Stop one agent. Requires `--yes` or `ALLOW_DESTRUCTIVE=1`. |
190
- | `setup` | First-run check. `--attach` connects every installed host CLI. |
191
- | `doctor` | Check Node, tmux, state, and provider CLIs. |
192
- | `web` | Start the loopback-only Web UI. |
193
- | `providers` | List provider ids, aliases, models, and availability. |
194
- | `tools` | List Perplexity, Google Colab, Hugging Face and Ollama with purpose, example, and install and sign-in state. |
195
- | `approvals` | List pending approval requests. |
196
- | `approve` / `deny` | Resolve one approval request. |
197
- | `hosts` | Show which host CLIs have ReevesAgents attached. |
198
- | `attach [cli]` | Connect the Agent Control MCP to one host CLI, or all installed hosts. |
199
- | `detach <cli>` | Remove that MCP connection from one host CLI. |
200
- | `skills [action]` | Install, remove, or inspect the ReevesAgents skill. |
201
- | `mcp` | Start the MCP server over stdio. Host CLIs run this. |
202
- | `config [key] [value]` | Show or update editable settings. |
203
- | `presets` | List saved run presets. |
204
- | `save-preset` | Save a live run as a preset. |
205
- | `start-preset` | Start a run from a preset. |
206
- | `delete-preset` | Delete a preset. |
207
- | `delete` | Delete one ended agent record. Requires confirmation. |
208
- | `delete-run` | Delete one ended run and archive it. Requires confirmation. |
209
- | `history` | List archived runs. |
210
- | `delete-history` | Delete one archived history record. Requires confirmation. |
211
- | `reap` | End zombie agents and agents past `max_lifetime_ms`, and kill orphan tmux sessions no run record owns. |
212
-
213
- Common flags:
214
-
215
- - `--json`: available on script-facing list and action commands.
216
- - `--name <name>`: name a run.
217
- - `--cwd <dir>`: run agents from a directory.
218
- - `--prompt <text>`: paste startup text into each spawned agent.
219
- - `--skip`: skip provider permission prompts for unattended workers.
220
- - `--run <run-id>`: add agents to a specific run.
221
- - `--port <n>` and `--no-open`: Web UI startup options.
240
+ <summary><b>Do I have to let one agent control the others?</b></summary>
222
241
 
242
+ No. Agents can work side by side with nobody in charge. Agent Control is an MCP server you attach to one CLI with `reevesagents attach cc` (or another id), and `reevesagents detach cc` removes it.
223
243
  </details>
224
244
 
225
- <a id="agent-control"></a>
226
245
  <details>
227
- <summary><strong>Agent Control</strong></summary>
228
-
229
- Agent Control is an optional MCP server. Attach it only to a CLI you trust to
230
- drive local tools:
231
-
232
- ```sh
233
- reevesagents attach claude
234
- reevesagents hosts
235
- ```
236
-
237
- After restart, that CLI receives tools to `spawn`, `read`, `send_text`,
238
- `send_key`, `interrupt`, `kill`, `stop`, manage approvals, manage presets, and
239
- inspect hosts. The provider catalog is also exposed as `reevesagents://providers`.
240
-
241
- In Claude Code you can install the connection and its operating instructions together as a plugin:
242
-
243
- ```sh
244
- claude plugin marketplace add mertkayacs/reevesagents
245
- claude plugin install reevesagents@reevesagents
246
- ```
247
-
248
- The server is listed in the [official MCP Registry](https://registry.modelcontextprotocol.io/?q=io.github.mertkayacs/reevesagents) as `io.github.mertkayacs/reevesagents`.
249
-
250
- <img src="https://raw.githubusercontent.com/mertkayacs/reevesagents/master/docs/assets/reevesagents-steer.webp" width="560" alt="A gold-framed lead pane sending messages along gold threads to three other panes">
251
-
252
- Workers do not receive the MCP by default. If a worker should create its own
253
- workers, attach ReevesAgents to that worker's CLI explicitly.
254
-
255
- Codex sandboxes MCP calls by default, which blocks tmux launches. When using
256
- Codex as the host that drives agents, run it with full access, for example
257
- `codex --sandbox danger-full-access`, or use a Codex profile that sets
258
- `sandbox_mode = "danger-full-access"`.
259
-
260
- Full tool reference: [docs/mcp.md](docs/mcp.md). Agent-facing operator guide:
261
- [AGENTS.md](AGENTS.md).
246
+ <summary><b>Can Codex drive the team?</b></summary>
262
247
 
248
+ Yes. Codex sandboxes MCP calls by default, which blocks tmux launches, so run it with full access when it hosts the MCP, for example `codex --sandbox danger-full-access`, or use a Codex profile that sets `sandbox_mode = "danger-full-access"`.
263
249
  </details>
264
250
 
265
- <a id="configuration"></a>
266
251
  <details>
267
- <summary><strong>Configuration</strong></summary>
268
-
269
- State lives under `~/.reeves`:
270
-
271
- ```text
272
- ~/.reeves/
273
- config.json
274
- presets/
275
- runs/
276
- history/
277
- ```
278
-
279
- Two environment variables override the default paths:
280
-
281
- - `REEVES_REGISTRY`: state root override for `runs/`, `history/`, and `presets/`.
282
- - `REEVES_CONFIG`: config file path override.
283
-
284
- In the Web UI, open **Config** and choose **Web theme → Light** or **Dark**, then
285
- save. The choice is stored in `config.json` and also applies to the embedded
286
- terminal. The default is Dark. From the CLI, use `reevesagents config web_theme light`.
287
-
288
- One registry per tmux server: the background orphan sweep judges session
289
- ownership against the current registry, so two registries must not share one
290
- tmux server.
291
-
292
- Agent tasks, task notes, inbox messages and approval text are redacted for known token patterns before their state files are written.
252
+ <summary><b>What happens when I close the UI?</b></summary>
293
253
 
254
+ The agents keep working. Each one lives in its own tmux window, or a winmux window on native Windows, and `reevesagents open <id>` takes you back to it.
294
255
  </details>
295
256
 
296
- <a id="examples"></a>
297
257
  <details>
298
- <summary><strong>Examples</strong></summary>
299
-
300
- Spread one project across multiple CLIs:
301
-
302
- ```sh
303
- reevesagents spawn deepseek:backend claude-code:product codex:review \
304
- --name "feature x" \
305
- --prompt "Backend, product copy, and a review pass."
306
- ```
307
-
308
- Watch one agent and then open its window:
309
-
310
- ```sh
311
- reevesagents peek backend -n 40
312
- reevesagents open backend
313
- ```
258
+ <summary><b>Does it run on Windows?</b></summary>
314
259
 
315
- Stop the run when the work is done:
260
+ Yes. Since 2.1.0 it runs natively on Windows 10 1809 and later through the built-in winmux multiplexer, and it also runs in WSL.
261
+ </details>
316
262
 
317
- ```sh
318
- reevesagents stop "feature x" --yes
319
- ```
263
+ <details>
264
+ <summary><b>Can I script it?</b></summary>
320
265
 
266
+ Yes. `spawn`, `runs`, `agents`, `providers` and `doctor` accept `--json`, and `REEVES_REGISTRY` and `REEVES_CONFIG` keep a scripted run away from your own `~/.reeves`.
321
267
  </details>
322
268
 
323
- <a id="web-ui"></a>
324
269
  <details>
325
- <summary><strong>Web UI</strong></summary>
270
+ <summary><b>What does it cost?</b></summary>
326
271
 
327
- ```sh
328
- reevesagents web
329
- ```
272
+ ReevesAgents is free under Apache-2.0. Your providers bill you as usual, and ReevesAgents adds nothing on top.
273
+ </details>
330
274
 
331
- The Web UI binds to `127.0.0.1` only and runs in the foreground. Agents keep
332
- running after the page closes because they live in tmux.
275
+ ## Documentation
333
276
 
334
- The Web UI uses optional runtime modules, `ws` and `@lydell/node-pty`. npm
335
- installs them by default. CLI and TUI commands keep working without them, and
336
- `reevesagents web` explains what is missing.
277
+ - [User guide](docs/GUIDE.md), also in nine other languages
278
+ - [Agent Control MCP](docs/mcp.md): attaching, the tool list and the safety model
279
+ - [AGENTS.md](AGENTS.md): how an AI agent drives ReevesAgents
280
+ - [Online docs](https://reevesagents.mertkayacs.com/docs/?utm_source=github&utm_medium=readme&utm_campaign=reevesagents-repo&utm_content=docs-link): every command, configuration key and provider
281
+ - [FAQ](https://reevesagents.mertkayacs.com/faq/?utm_source=github&utm_medium=readme&utm_campaign=reevesagents-repo&utm_content=faq-link)
282
+ - [Changelog](CHANGELOG.md)
283
+ - README in [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) and [العربية](docs/i18n/README.ar.md)
337
284
 
338
- To reach it from another machine, forward the loopback port over SSH:
285
+ ## Build from source
339
286
 
340
287
  ```sh
341
- ssh -L 8080:127.0.0.1:8080 user@host
288
+ git clone https://github.com/mertkayacs/reevesagents.git
289
+ cd reevesagents
290
+ pnpm install
291
+ pnpm build
292
+ pnpm link --global
293
+ reevesagents doctor
342
294
  ```
343
295
 
344
- </details>
345
-
346
- <a id="troubleshooting"></a>
347
- <details>
348
- <summary><strong>Troubleshooting</strong></summary>
349
-
350
- **tmux is not installed.** Install tmux and run `reevesagents doctor`. The TUI
351
- auto-wraps itself in a tmux session named `reeves`; set
352
- `REEVES_NO_TMUX_WRAPPER=1` to skip that behavior.
353
-
354
- **A provider CLI is missing or signed out.** ReevesAgents launches provider CLIs
355
- that are already on `PATH` and authenticated. `reevesagents doctor` shows what
356
- is detected. If a launched window is waiting at login, `peek` shows it.
357
-
358
- **The Web UI reports missing packages.** Reinstall with optional dependencies
359
- enabled, then run `reevesagents doctor`.
360
-
361
- **Port already in use.** `reevesagents web` starts at `8080` by default. If it is
362
- taken, the server binds the next free port in a small range and prints the URL.
296
+ ## Development
363
297
 
364
- </details>
365
-
366
- <a id="contributing"></a>
367
- <details>
368
- <summary><strong>Contributing</strong></summary>
298
+ Contributors use pnpm, TypeScript, tsup, Vitest and ESLint from the repository. Run the focused checks before a pull request:
369
299
 
370
- Contributor docs live under [docs/](docs). Start with
371
- [CONTRIBUTING.md](.github/CONTRIBUTING.md), [testing](docs/testing.md), and
372
- [releasing](docs/releasing.md).
300
+ ```sh
301
+ pnpm typecheck
302
+ pnpm lint
303
+ pnpm test
304
+ pnpm verify
305
+ ```
373
306
 
374
- End users do not need the development toolchain. Contributors use pnpm,
375
- TypeScript, tsup, Vitest, and ESLint from the repository.
307
+ `pnpm verify` runs the type check, lint, unit tests, the build, a CLI smoke test against fake provider binaries and a check of the npm package contents. [Testing](docs/testing.md) and [releasing](docs/releasing.md) have the details.
376
308
 
377
- </details>
309
+ ## Contributing and security
378
310
 
379
- ## Cite this
380
-
381
- ```bibtex
382
- @software{kaya2026reevesagents,
383
- author = {Mert Kaya},
384
- title = {ReevesAgents: Local tmux workspace for AI coding CLIs},
385
- year = {2026},
386
- license = {Apache-2.0},
387
- url = {https://github.com/mertkayacs/reevesagents},
388
- version = {1.8.2}
389
- }
390
- ```
311
+ Issues and pull requests are welcome. See [CONTRIBUTING.md](.github/CONTRIBUTING.md). Report vulnerabilities privately as described in [SECURITY.md](.github/SECURITY.md).
391
312
 
392
- ## Links
313
+ If ReevesAgents is useful to you, a ⭐ helps other people find it.
393
314
 
394
- - Website: https://reevesagents.mertkayacs.com
395
- - npm: https://www.npmjs.com/package/reevesagents
396
- - GitHub: https://github.com/mertkayacs/reevesagents
397
- - Eschatia Labs: https://eschatialabs.com
398
- - Mert Kaya: https://mertkayacs.com
399
- - Releases: https://github.com/mertkayacs/reevesagents/releases
400
- - Issues: https://github.com/mertkayacs/reevesagents/issues
401
- - Changelog: [CHANGELOG.md](CHANGELOG.md)
402
- - License: [Apache-2.0](LICENSE)
315
+ ## License
403
316
 
317
+ [Apache-2.0](LICENSE). ReevesAgents is built by Mert Kaya at Eschatia Labs, an independent, non-profit open-source AI research lab. Photos behind the screenshots are credited in [docs/assets/readme/CREDITS.md](docs/assets/readme/CREDITS.md).
404
318
 
405
- <a href="https://eschatialabs.com"><picture><source media="(prefers-color-scheme: dark) and (min-resolution: 2dppx)" srcset="https://eschatialabs.com/brand/lockup-46-dark@2x.png"><source media="(prefers-color-scheme: dark)" srcset="https://eschatialabs.com/brand/lockup-46-dark@1x.png"><source media="(min-resolution: 2dppx)" srcset="https://eschatialabs.com/brand/lockup-46@2x.png"><img src="https://eschatialabs.com/brand/lockup-46@1x.png" width="124" height="46" alt="Eschatia Labs"></picture></a><br>An [Eschatia Labs](https://eschatialabs.com) project by [Mert Kaya](https://mertkayacs.com).
319
+ [![views](https://hits.sh/github.com/mertkayacs/reevesagents.svg?view=today-total&style=flat-square&label=views&color=006D77&labelColor=1A202C)](https://reevesagents.mertkayacs.com/?utm_source=github&utm_medium=readme&utm_campaign=reevesagents-repo&utm_content=views-badge)