@hyperprior/pi-subagent
v0.1.0
Published
Delegate tasks to isolated sub-agents (pi subprocesses)
Maintainers
Readme
@hyperprior/pi-subagent
Launch isolated subagent runs through pi subprocesses.
Installation
pi install npm:@hyperprior/pi-subagentFeatures
hyperpi_subagenttool with execution modes:single: one taskparallel: run multiple tasks with bounded concurrencychain: sequential tasks where each task can reference{previous}
- Per-task model/tool/cwd overrides
/subagent <task>quick command for one-off runs
Example payloads
{
"mode": "single",
"task": "List the top 3 risks in the current diff.",
"model": "sonnet",
"tools": "bash,git"
}{
"mode": "parallel",
"tasks": [
{ "task": "Run targeted tests for payment module.", "agent": "qa" },
{ "task": "Run static scan for hardcoded secrets.", "agent": "security" }
]
}{
"mode": "chain",
"chain": [
{ "task": "Summarize open PR comments." },
{ "task": "Create a patch plan based on previous summary: {previous}" }
]
}Notes
All plugins in this monorepo are namespaced under @hyperprior and built to be loaded as individual pi packages.
