8000 docs(adr): drop deployment-specific sandbox sizes from ADR 0028 by geminixiang · Pull Request #191 · geminixiang/mikan · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/adr/0028-retire-the-subagent-tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ mikan no longer offers the `subagent` tool. A conversation does the work itself;
| Three 90-second waits, channel or DM | 100 s when batched, $0.018 | 108 s, $0.026–0.081 |
| Same three repositories, sandbox CPU and RAM | 124 s one after another | 316 s at once, one `npm install` OOM-killed |

Parallel subagents share one office sandbox (one CPU and 512 MB in production), so CPU- and memory-bound work runs slower in parallel than in sequence. Waits and network calls already overlap without subagents, because pi-durable executes one turn's tool calls in parallel by default (`toolExecution: "parallel"`). Each child also starts a new conversation that misses the provider cache for the system prompt. Two prompt lines stating these facts did not stop the model from delegating.
Parallel subagents share one office sandbox (one CPU in production; the measurements above used one CPU and 512 MB, where parallel installs were OOM-killed), so CPU-bound work runs slower in parallel than in sequence. Waits and network calls already overlap without subagents, because pi-durable executes one turn's tool calls in parallel by default (`toolExecution: "parallel"`). Each child also starts a new conversation that misses the provider cache for the system prompt. Two prompt lines stating these facts did not stop the model from delegating.

The remaining reason for the tool, keeping a large investigation out of the parent's context, did not hold either (experiment 7 of the research doc). In production the parent's context grew a median 0 tokens per run without a subagent (p90 18.8k), while children read a median 56k because they start without context. A single-task subagent kept for isolation cost about twice as much in the lab without making later prompts smaller, and the simpler tool made the model delegate more often. This matches Pi's own choice to keep subagents out of its core.

Expand Down
Loading
0