agent-relay 7.1.0 → 7.1.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.
Files changed (26) hide show
  1. package/README.md +32 -49
  2. package/dist/index.cjs +937 -21332
  3. package/dist/src/cli/commands/on/relayfile-binary.js +1 -1
  4. package/dist/src/cli/commands/on/relayfile-binary.js.map +1 -1
  5. package/package.json +12 -27
  6. package/scripts/build-cjs.mjs +6 -2
  7. /package/node_modules/{@relayfile/local-mount/node_modules/chokidar → chokidar}/LICENSE +0 -0
  8. /package/node_modules/{@relayfile/local-mount/node_modules/chokidar → chokidar}/README.md +0 -0
  9. /package/node_modules/{@relayfile/local-mount/node_modules/chokidar → chokidar}/esm/handler.d.ts +0 -0
  10. /package/node_modules/{@relayfile/local-mount/node_modules/chokidar → chokidar}/esm/handler.js +0 -0
  11. /package/node_modules/{@relayfile/local-mount/node_modules/chokidar → chokidar}/esm/index.d.ts +0 -0
  12. /package/node_modules/{@relayfile/local-mount/node_modules/chokidar → chokidar}/esm/index.js +0 -0
  13. /package/node_modules/{@relayfile/local-mount/node_modules/chokidar → chokidar}/esm/package.json +0 -0
  14. /package/node_modules/{@relayfile/local-mount/node_modules/chokidar → chokidar}/handler.d.ts +0 -0
  15. /package/node_modules/{@relayfile/local-mount/node_modules/chokidar → chokidar}/handler.js +0 -0
  16. /package/node_modules/{@relayfile/local-mount/node_modules/chokidar → chokidar}/index.d.ts +0 -0
  17. /package/node_modules/{@relayfile/local-mount/node_modules/chokidar → chokidar}/index.js +0 -0
  18. /package/node_modules/{@relayfile/local-mount/node_modules/chokidar → chokidar}/package.json +0 -0
  19. /package/node_modules/{@relayfile/local-mount/node_modules/readdirp → readdirp}/LICENSE +0 -0
  20. /package/node_modules/{@relayfile/local-mount/node_modules/readdirp → readdirp}/README.md +0 -0
  21. /package/node_modules/{@relayfile/local-mount/node_modules/readdirp → readdirp}/esm/index.d.ts +0 -0
  22. /package/node_modules/{@relayfile/local-mount/node_modules/readdirp → readdirp}/esm/index.js +0 -0
  23. /package/node_modules/{@relayfile/local-mount/node_modules/readdirp → readdirp}/esm/package.json +0 -0
  24. /package/node_modules/{@relayfile/local-mount/node_modules/readdirp → readdirp}/index.d.ts +0 -0
  25. /package/node_modules/{@relayfile/local-mount/node_modules/readdirp → readdirp}/index.js +0 -0
  26. /package/node_modules/{@relayfile/local-mount/node_modules/readdirp → readdirp}/package.json +0 -0
package/README.md CHANGED
@@ -1,55 +1,49 @@
1
- <img src="./readme-banner.png" alt="Agent Relay" height="392">
2
-
3
- **Website:** [agentrelay.com](https://agentrelay.com) · **Docs:** [agentrelay.com/docs](https://agentrelay.com/docs)
4
-
1
+ <img src="./readme-banner.png" alt="Agent Relay">
5
2
  <a href="https://www.npmjs.com/package/@agent-relay/sdk"><img alt="npm" src="https://img.shields.io/npm/v/@agent-relay/sdk"></a>
6
3
  <a href="https://github.com/AgentWorkforce/relay/actions/workflows/test.yml"><img alt="Tests" src="https://img.shields.io/github/actions/workflow/status/AgentWorkforce/relay/test.yml?branch=main&label=tests"></a>
7
4
  <a href="./LICENSE"><img alt="License" src="https://img.shields.io/badge/license-Apache--2.0-blue.svg"></a>
5
+ <br/><br/>
6
+ Real-time communication between coding harnesses. Let Claude send messages to codex and stop babysitting your agents.
8
7
 
9
- </div>
8
+ ## What you can build with it today
10
9
 
11
- ## Multi Agent Orchestration
10
+ - **Claude orchestrates, Codex implements.** <br/>Spawn a Claude lead that hands work to Codex workers, reads their progress live, and steers mid-task when one goes off the rails.
11
+ - **Adversarial review loops.** <br/>Run an implementer alongside one or two critics. They iterate until the critic ratifies — no human in the loop.
12
+ - **Walk-away autonomy.** <br/>Kick off a multi-step job, close the laptop. Agents keep talking, finishing, and verifying each other's work.
12
13
 
13
- Enable your Claude Code, Codex, OpenCode agent spawn agent teams that can communicate and collaborate. Not subagents, but real agents who
14
- could spawn their own subagents. This allows for powerful AI cross-collaboration so you can get the best harnesses + models working
15
- together.
14
+ ## Get started
16
15
 
17
- ## Benefits Over Subagents
16
+ 1. Install the agent-relay CLI:
18
17
 
19
- 1. The agent orchestrating has full insight what the spawned agents are doing. It can read the logs and steer mid turn if needed
20
- 2. Enables advanced swarm techniques as each agent can communicate with each other and coordinate to form agent teams for different types: review/fix loops, adversarial/debate pairs, fan-out -> pipeline -> gather, or lead + workers to name a few
21
- 3. Diversity of thought and implementation. Codex implement, Claude review, Gemini do the final verification leads to better results as different models + harnesses excel in different things.
22
- 4. Review happens as a conversation between the live reviewer and the live implementer, not as a report handed back to the parent after each one finishes.
23
- 5. Audit trail exists outside the agent and outside the parent. With the [Agent Relay Observer](https://agentrelay.com/observer) you get full auditability into every single DM and group message sent by the agents.
18
+ ```bash
19
+ curl -fsSL https://raw.githubusercontent.com/AgentWorkforce/relay/main/install.sh | bash
20
+ ```
24
21
 
25
- ## Get Started
22
+ 2. Install the orchestration skill:
26
23
 
27
- 1. Install the agent-relay cli
24
+ ```bash
25
+ npx skills add https://github.com/agentworkforce/skills --skill orchestrating-agent-relay
26
+ ```
28
27
 
29
- ```
30
- curl -fsSL https://raw.githubusercontent.com/AgentWorkforce/relay/main/install.sh | bash
28
+ 3. Tell your agent to use it:
31
29
 
32
- ```
30
+ ```
31
+ use the orchestrating-agent-relay skill to spawn a claude and codex agent and [YOUR_TASK]
32
+ ```
33
33
 
34
- 2. Install the skill
34
+ ## Why not subagents?
35
35
 
36
- ```
37
- npx skills add https://github.com/agentworkforce/skills --skill orchestrating-agent-relay
38
- ```
36
+ Subagents are the right tool when work is a single well-scoped one-shot. Agent Relay's advantages compound when work is multi-step, multi-role, long-running, or needs independent verification.
39
37
 
40
- 3. Tell your agent to use it
41
-
42
- ```
43
- use the orchestrating-agent-relay skill to spawn a claude and codex agent and [YOUR_TASK]
44
- ```
45
-
46
- For single, well-scoped, one-shot tasks, subagents still win. Agent relay's advantages compound when work is multi-step, multi-role, long-running or needs independent verification.
38
+ - **Mix models and harnesses.** Codex implements, Claude reviews, Gemini verifies — each model used for what it's best at, not whatever the parent harness happens to be.
39
+ - **Live steering.** The orchestrator reads logs and DMs as workers run and can redirect mid-turn instead of waiting for a final report.
40
+ - **Review as a conversation.** The reviewer and implementer talk while the code is being written, not after the fact.
41
+ - **Swarm patterns out of the box.** Review/fix loops, adversarial debate pairs, fan-out pipeline gather, lead + workers.
42
+ - **Audit trail outside the agent.** Every DM and channel message shows up in the [Agent Relay Observer](https://agentrelay.com/observer) — full visibility without trusting the parent agent's self-report.
47
43
 
48
44
  ## SDK
49
45
 
50
- Use the Agent Relay SDK to spawn and control agents programmatically.
51
-
52
- ### Install
46
+ Spawn and control agents programmatically.
53
47
 
54
48
  **TypeScript / Node.js**
55
49
 
@@ -102,24 +96,15 @@ await AgentRelay.waitForAny([x, o], 5 * 60 * 1000);
102
96
  await relay.shutdown();
103
97
  ```
104
98
 
105
- Want more than a toy example? Start with:
99
+ More:
106
100
 
107
101
  - [Introduction](https://agentrelay.com/docs/introduction)
108
102
  - [TypeScript SDK README](https://agentrelay.com/docs/typescript-sdk)
109
103
  - [Python SDK README](https://agentrelay.com/docs/python-sdk)
110
104
 
111
- ### What you can build
112
-
113
- - Multi-agent coding flows with shared channels and worker handoffs
114
- - Agent inboxes for status updates, blockers, and review loops
115
- - Tooling that lets existing agents communicate without rewriting their runtime
116
- - Local or remote coordination patterns where multiple agents need shared context
117
-
118
- Then use Agent Relay to bring agents into a shared workspace and route work between them.
119
-
120
105
  ## Supported agents and runtimes
121
106
 
122
- Agent Relay is designed for terminal-native agents and SDK-driven workflows. This repo currently includes first-class support for:
107
+ First-class support for terminal-native agents:
123
108
 
124
109
  - Claude Code
125
110
  - Codex CLI
@@ -128,9 +113,7 @@ Agent Relay is designed for terminal-native agents and SDK-driven workflows. Thi
128
113
 
129
114
  The broader SDK and workflow surface also includes additional integrations in the codebase. See the package docs for details.
130
115
 
131
- ### Development
132
-
133
- If you want to work on the repo itself:
116
+ ## Development
134
117
 
135
118
  ```bash
136
119
  npm install
@@ -138,7 +121,7 @@ npm run build
138
121
  npm test
139
122
  ```
140
123
 
141
- Useful references:
124
+ References:
142
125
 
143
126
  - [CHANGELOG.md](./CHANGELOG.md)
144
127
  - [GitHub Issues](https://github.com/AgentWorkforce/relay/issues)