You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+36-23Lines changed: 36 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ The model should reason. The harness should decide what context is load-bearing,
20
20
Most coding agents fail for boring reasons:
21
21
22
22
- too many tools are injected into every prompt
23
-
- raw search results, test logs, and subagent transcripts flood the context
23
+
- raw search results, test logs, and delegated-task transcripts flood the context
24
24
- memory, skills, MCP, hooks, and project hints all inject context through separate paths
25
25
- safety is split across permissions, confirmations, skills, and custom guards
26
26
- agents stop after "I changed it" instead of proving the change works
@@ -118,7 +118,7 @@ memory
118
118
file search
119
119
MCP
120
120
AHP
121
-
subagents
121
+
delegated task runs
122
122
tool observations
123
123
-> ContextItem
124
124
-> rank
@@ -127,7 +127,7 @@ tool observations
127
127
-> render
128
128
```
129
129
130
-
Raw logs, full grep output, and complete subagent transcripts should be stored as artifacts or trace data, not repeatedly injected into the prompt.
130
+
Raw logs, full grep output, and complete delegated-task transcripts should be stored as artifacts or trace data, not repeatedly injected into the prompt.
131
131
132
132
### 3. Tools Are Selected, Not Dumped
133
133
@@ -150,7 +150,6 @@ Intent-gated tools:
150
150
| Web |`web_fetch`, `web_search`|
151
151
| Git |`git`|
152
152
| Batch |`batch`|
153
-
| Skill admin |`manage_skill`|
154
153
| External | MCP tools |
155
154
156
155
This follows the same direction as modern agent harnesses: remove routine tool clutter from the model's context and expose capabilities only when the task asks for them.
@@ -189,9 +188,31 @@ script can call every registered tool except `program`; use `allowedTools` or
189
188
structured summaries, findings, artifact references, and suggested next actions.
190
189
Raw output belongs in trace storage.
191
190
192
-
### 5. Subagents Isolate Context
191
+
Node and Python expose the same session controls as the Rust core:
193
192
194
-
Subagents are not there to create more chat. They isolate local work.
193
+
```js
194
+
agent.session('/repo', { planningMode:'disabled' }) // auto | enabled | disabled
195
+
awaitsession.delegateTask({
196
+
agent:'explore',
197
+
description:'Find auth files',
198
+
prompt:'Inspect auth-related files and return evidence.',
0 commit comments