pi 8e2c7e49e0 Task 2: Preset-driven subagent tool
- Replace chain mode with preset-driven single and parallel modes
- Schema: require per-task preset; remove top-level required model
- Tool: resolve presets via discoverSubagentPresets(), normalize models, resolve effective model per run, pass preset meta
- Update tests and remove chain test
2026-04-12 11:59:07 +01:00
2026-04-12 11:59:07 +01:00
2026-04-12 07:55:37 +01:00
2026-04-12 07:55:37 +01:00

pi-subagents

pi-subagents is a Pi extension package that runs generic subagent tasks in separate child sessions and ships workflow prompt templates plus the wrapper code needed to execute those runs.

Install

Local path:

pi install /absolute/path/to/subagents

Git:

pi install https://gitea.rwiesner.com/pi/pi-subagents

Resources

  • Extension: ./index.ts
  • Prompts: ./prompts/*.md

Runner modes

  • default: background child process runner
  • optional tmux runner: set {"runner":"tmux"} in .pi/subagents.json or ~/.pi/agent/subagents.json

What a subagent run gets

  • delegated task text
  • selected model
  • optional working directory

Child runs are normal Pi sessions. This package does not add built-in role behavior, markdown-discovered subagents, per-agent tool restrictions, or appended role prompts.

Requirements

  • default process runner: no tmux requirement
  • optional tmux runner: tmux must be available on PATH

Development

npm install
npm test
Description
No description provided
Readme 448 KiB
Languages
TypeScript 91.8%
JavaScript 8.2%