pi-herdsman 0.5.1 → 0.6.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 +27 -14
- package/dist/agent-definitions/generalist.md +0 -2
- package/dist/agent-definitions/implementer.md +0 -2
- package/dist/agent-definitions/researcher.md +0 -2
- package/dist/agent-definitions/reviewer.md +0 -2
- package/dist/agent-definitions/scout.md +0 -2
- package/dist/index.js +75 -68
- package/docs/concepts/agents.md +11 -6
- package/docs/concepts/lifecycle.md +12 -9
- package/docs/development/smoke-testing.md +7 -5
- package/docs/development/validation.md +0 -1
- package/docs/getting-started.md +16 -13
- package/docs/guides/agent-definitions.md +3 -2
- package/docs/guides/customizing-agents.md +12 -11
- package/docs/guides/handoffs.md +3 -1
- package/docs/guides/recovery.md +3 -1
- package/docs/reference/agent-definition-schema.md +43 -23
- package/docs/reference/agent.md +5 -3
- package/docs/reference/commands.md +14 -10
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
# Pi Herdsman 🐏
|
|
2
2
|
|
|
3
|
-

|
|
4
4
|
|
|
5
|
-
**Asynchronous
|
|
5
|
+
**Asynchronous [Pi](https://github.com/earendil-works/pi) subagents and agent fleet orchestration with nested delegation, parallel execution, and supervision in [herdr](https://github.com/herdrdev/herdr).**
|
|
6
6
|
|
|
7
7
|
Keep the conversation. Delegate the work.
|
|
8
8
|
|
|
9
|
-
Pi Herdsman is a Pi extension for asynchronous subagents
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
coordinated hierarchy.
|
|
9
|
+
Pi Herdsman is a Pi extension for asynchronous subagents. Delegate coding
|
|
10
|
+
tasks to managed background agents running in independent Pi sessions while
|
|
11
|
+
the lead conversation stays interactive. Run agents in parallel, nest
|
|
12
|
+
delegation, steer active agents, route questions and results back to their
|
|
13
|
+
owning agent, and supervise multiple leads through one coordinated hierarchy.
|
|
15
14
|
|
|
16
15
|
Pi Herdsman calls its managed subagents **agents**.
|
|
17
16
|
|
|
@@ -22,6 +21,9 @@ You ↔ lead
|
|
|
22
21
|
└─ agent
|
|
23
22
|
```
|
|
24
23
|
|
|
24
|
+
A lead and its nested agent hierarchy form a herd, Herdsman's model of an
|
|
25
|
+
agent fleet.
|
|
26
|
+
|
|
25
27
|
Pi Herdsman is opinionated about coordination, not workflow. A lead owns its
|
|
26
28
|
agents, and a delegation-enabled agent may own permitted agents of its own.
|
|
27
29
|
Agent definitions, models, tools, extensions, and development process remain up
|
|
@@ -45,20 +47,29 @@ chief
|
|
|
45
47
|
|
|
46
48
|
```sh
|
|
47
49
|
pi install npm:pi-herdsman
|
|
50
|
+
herdr integration install pi
|
|
48
51
|
```
|
|
49
52
|
|
|
50
|
-
|
|
53
|
+
Start Herdr in your project:
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
herdr
|
|
57
|
+
```
|
|
51
58
|
|
|
52
|
-
|
|
59
|
+
Then run Pi in the Herdr pane:
|
|
60
|
+
|
|
61
|
+
```sh
|
|
62
|
+
pi
|
|
63
|
+
```
|
|
53
64
|
|
|
54
65
|
Ask Pi normally:
|
|
55
66
|
|
|
56
67
|
```text
|
|
57
|
-
Use
|
|
68
|
+
Use scout to inspect this repository.
|
|
58
69
|
```
|
|
59
70
|
|
|
60
|
-
That
|
|
61
|
-
|
|
71
|
+
That's enough. The agent runs asynchronously while the lead conversation remains
|
|
72
|
+
available.
|
|
62
73
|
|
|
63
74
|
Other useful requests look the same:
|
|
64
75
|
|
|
@@ -137,9 +148,11 @@ tools, extensions, skills, and instructions.
|
|
|
137
148
|
## Requirements
|
|
138
149
|
|
|
139
150
|
- [herdr](https://github.com/herdrdev/herdr) `>=0.9.0`
|
|
140
|
-
- Pi `>=0.84.2 <0.86.0` (
|
|
151
|
+
- Pi `>=0.84.2 <0.86.0` (supported)
|
|
141
152
|
- Node `>=22.19.0`
|
|
142
153
|
|
|
154
|
+
CI validates Node 22.19.0 with the locked dependency set.
|
|
155
|
+
|
|
143
156
|
Install or refresh the herdr Pi integration:
|
|
144
157
|
|
|
145
158
|
```sh
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: generalist
|
|
3
3
|
description: General-purpose execution agent for scoped tasks that do not fit scout, researcher, implementer, or reviewer
|
|
4
|
-
model: openai-codex/gpt-5.6-luna
|
|
5
|
-
thinking: medium
|
|
6
4
|
agents: ["scout", "researcher"]
|
|
7
5
|
systemPromptMode: replace
|
|
8
6
|
inheritProjectContext: true
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: implementer
|
|
3
3
|
description: Focused implementation agent for a resolved change; use when the required behavior is already decided and the task is to edit, test, and report
|
|
4
|
-
model: openai-codex/gpt-5.6-luna
|
|
5
|
-
thinking: high
|
|
6
4
|
agents: ["scout"]
|
|
7
5
|
systemPromptMode: replace
|
|
8
6
|
inheritProjectContext: true
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: researcher
|
|
3
3
|
description: External research specialist for questions that require web, documentation, standards, vendor, or other authoritative evidence beyond the repository; use for current facts, API behavior, comparisons, and source-backed recommendations
|
|
4
|
-
model: openai-codex/gpt-5.6-luna
|
|
5
|
-
thinking: medium
|
|
6
4
|
systemPromptMode: replace
|
|
7
5
|
inheritProjectContext: true
|
|
8
6
|
inheritGlobalContext: false
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: reviewer
|
|
3
3
|
description: Independent read-only reviewer for plans, diffs, implementations, and codebase health; use when work needs verification, missing-case analysis, or regression review rather than modification
|
|
4
|
-
model: openai-codex/gpt-5.6-luna
|
|
5
|
-
thinking: medium
|
|
6
4
|
agents: ["scout", "researcher"]
|
|
7
5
|
systemPromptMode: replace
|
|
8
6
|
inheritProjectContext: true
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: scout
|
|
3
3
|
description: Read-only codebase reconnaissance for unfamiliar areas; use to find entry points, trace flows, dependencies, constraints, and risks before deciding or editing
|
|
4
|
-
model: openai-codex/gpt-5.6-luna
|
|
5
|
-
thinking: medium
|
|
6
4
|
systemPromptMode: replace
|
|
7
5
|
inheritProjectContext: true
|
|
8
6
|
inheritGlobalContext: false
|