@sleep2agi/agent-network 2.2.8-preview.1 → 2.2.9-preview.0
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 +49 -7
- package/dist/bin/cli.js +1 -1
- package/dist/src/client.js +1 -1
- package/dist/src/node-server.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Run a local network of AI agents from one CLI.
|
|
|
9
9
|
Agent Network is a local-first multi-agent runtime:
|
|
10
10
|
|
|
11
11
|
- **CommHub**: MCP + REST + SSE hub for task routing, auth, networks, and status.
|
|
12
|
-
- **Agent nodes**: long-running AI workers backed by Claude Code, Claude Agent SDK, or
|
|
12
|
+
- **Agent nodes**: long-running AI workers backed by Claude Code, Claude Agent SDK, Codex SDK, or Grok Build ACP.
|
|
13
13
|
- **Dashboard**: browser UI for topology, chat, tasks, node health, and server telemetry.
|
|
14
14
|
- **CLI**: `anet`, the single entry point for setup, auth, node lifecycle, and demos.
|
|
15
15
|
|
|
@@ -44,14 +44,14 @@ npm install -g @sleep2agi/agent-network@preview
|
|
|
44
44
|
anet -v
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
Current npm dist-tags verified on 2026-05-
|
|
47
|
+
Current npm dist-tags verified on 2026-05-26:
|
|
48
48
|
|
|
49
49
|
| Package | latest | preview |
|
|
50
50
|
|---|---:|---:|
|
|
51
|
-
| `@sleep2agi/agent-network` | `2.2.
|
|
52
|
-
| `@sleep2agi/commhub-server` | `0.8.
|
|
53
|
-
| `@sleep2agi/agent-network-dashboard` | `0.5.
|
|
54
|
-
| `@sleep2agi/agent-node` | `2.4.
|
|
51
|
+
| `@sleep2agi/agent-network` | `2.2.8` | `2.2.8-preview.1` |
|
|
52
|
+
| `@sleep2agi/commhub-server` | `0.8.3` | `0.8.3-preview.2` |
|
|
53
|
+
| `@sleep2agi/agent-network-dashboard` | `0.5.4` | `0.5.3-preview.267` |
|
|
54
|
+
| `@sleep2agi/agent-node` | `2.4.5` | `2.4.4-preview.3` |
|
|
55
55
|
|
|
56
56
|
## 5-Minute Quick Start
|
|
57
57
|
|
|
@@ -93,7 +93,7 @@ anet node start my-bot
|
|
|
93
93
|
|
|
94
94
|
`anet node create` walks you through:
|
|
95
95
|
|
|
96
|
-
1. Runtime: `claude-code-cli`, `claude-agent-sdk`, or `
|
|
96
|
+
1. Runtime: `claude-code-cli`, `claude-agent-sdk`, `codex-sdk`, or `grok-build-acp`.
|
|
97
97
|
2. Provider preset: Anthropic, MiniMax, DeepSeek, GLM, Kimi, OpenRouter, or custom Anthropic-compatible endpoint.
|
|
98
98
|
3. API key and model settings.
|
|
99
99
|
|
|
@@ -149,6 +149,47 @@ Do not expose the hub directly to the public internet without a reverse proxy, H
|
|
|
149
149
|
| `claude-code-cli` | You want Claude Code CLI sessions and channel support | Uses Claude Code process; supports stable `COMMHUB_RESUME_ID` in recent previews |
|
|
150
150
|
| `claude-agent-sdk` | You want Anthropic-compatible API providers | Good default for provider presets |
|
|
151
151
|
| `codex-sdk` | You want Codex-backed nodes | Useful as a backup runtime when Claude quota is constrained |
|
|
152
|
+
| `grok-build-acp` | You want Grok Build through `grok agent stdio` | Requires Grok Build CLI auth; stable for receive/reply, session persistence, and explicit `send_task` delegation |
|
|
153
|
+
|
|
154
|
+
### Grok Build ACP
|
|
155
|
+
|
|
156
|
+
`grok-build-acp` uses the local Grok Build CLI via Agent Client Protocol (ACP). Install and authenticate Grok first:
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
curl -fsSL https://x.ai/cli/install.sh | bash
|
|
160
|
+
grok
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
Create and start a node:
|
|
164
|
+
|
|
165
|
+
```bash
|
|
166
|
+
anet node create grok-demo --runtime grok-build-acp
|
|
167
|
+
anet node start grok-demo
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
Look for:
|
|
171
|
+
|
|
172
|
+
```text
|
|
173
|
+
runtime: grok-build-acp
|
|
174
|
+
SSE connected
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
Stable support:
|
|
178
|
+
|
|
179
|
+
- Receive CommHub tasks through SSE.
|
|
180
|
+
- Run one Grok Build ACP turn per task.
|
|
181
|
+
- Persist `grokSession` into `.anet/nodes/<name>/config.json`.
|
|
182
|
+
- Resume the saved Grok session on the next task.
|
|
183
|
+
- Reply to the original sender through CommHub.
|
|
184
|
+
- Explicit delegation such as `给 A站助手 发任务: ...` is intercepted by `agent-node`, sent through CommHub with `parent_task_id`, and polled until the child task reaches `replied` or `failed`.
|
|
185
|
+
|
|
186
|
+
Current boundary:
|
|
187
|
+
|
|
188
|
+
- Grok native MCP tool injection is not the stable path yet.
|
|
189
|
+
- For cross-agent delegation, use explicit delegation wording so `agent-node` handles the CommHub call deterministically.
|
|
190
|
+
- If Grok returns `grok ACP error -32603`, upgrade to the latest `@sleep2agi/agent-node` and restart the node; recent builds narrow ACP capabilities and include `error.data` diagnostics.
|
|
191
|
+
|
|
192
|
+
Details: `docs/grok-build-runtime.md`.
|
|
152
193
|
|
|
153
194
|
## Provider Presets
|
|
154
195
|
|
|
@@ -285,6 +326,7 @@ Actively evolving:
|
|
|
285
326
|
- Advanced dashboard topology edges
|
|
286
327
|
- Batch orchestration and science-team demos
|
|
287
328
|
- Codex runtime expansion
|
|
329
|
+
- Grok Build ACP runtime
|
|
288
330
|
- Cross-version rename hot-reload
|
|
289
331
|
|
|
290
332
|
## Documentation
|