Skip to content

docs(pi): add the child-conversation subagent pattern and when to pick each - #429

Merged
eersnington merged 1 commit into
stack/fix-pi-on-answer-after-runfrom
stack/docs-pi-subagent-patterns
Dec 3, 2026
Merged

eersnington merged 1 commit into
stack/fix-pi-on-answer-after-runfrom
stack/docs-pi-subagent-patterns

Conversation

@eersnington

Copy link
Copy Markdown
Member

Adds a second subagent pattern: a tool that runs the task in a child conversation of the lead's own agent, and a table to choose between it and a separate agent.

Child conversation Separate agent
Runs in The lead's Actor Its own Actor
Sandbox and credentials The lead's Its own
Cancel Aborting the lead aborts the child The tool aborts the run
  • The example parks the tool call until the child's submission settles, and finds the same child and submission on a rerun.
  • The crash wording follows Pi Durable's contract: a rerun happens only before the call parks or after it wakes. It links to Pi's tools-that-park section instead of restating it.

This is part 9 of 10 in a stack:

@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown

📟 Pip-Boy · 6513ebd

📦 Packages

Skipped: this PR doesn't change any published package.

🧹 Rust dependencies

Skipped: this PR doesn't change any Rust code or dependencies.

🦀 Binaries

Skipped: this PR doesn't change any Rust code.

⏱ Timing

job wall time slowest step
changes 22s checkout · 17s
zizmor 26s checkout · 16s
report 28s checkout · 11s
⏭ native · ${{ matrix.platform }} — skipped
⏭ footprint — skipped
⏭ self-test — skipped
⏭ hygiene — skipped
🔭 Full CI trace for this commit

One OpenTelemetry trace of CI and Pip-Boy for 6513ebd: every job and step, with the sizes above attached. Run after CI finishes.

pnpm install --frozen-lockfile --filter 'pipboy...'
pnpm --filter pipboy pipboy trace --sha 6513ebd53e2a6a40eb94a4b704072e4e5d91e00f

Add --otlp <url> to send it to any OTLP/HTTP collector.

Agent instruction: From a rivet-dev/agents checkout, run the commands above, then read the trace file the last command prints. List the slowest jobs and steps and explain where CI time went.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant