pi-simple-subagents
Minimal Pi extension for fresh synchronous subagents
Package details
Install pi-simple-subagents from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-simple-subagents- Package
pi-simple-subagents- Version
0.1.1- Published
- May 19, 2026
- Downloads
- not available
- Author
- javier_de_diego_guzman
- License
- MIT
- Types
- extension
- Size
- 16.4 KB
- Dependencies
- 0 dependencies · 4 peers
Pi manifest JSON
{
"extensions": [
"./src/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-simple-subagents
Minimal Pi extension that registers a single subagent tool.
Entry point: src/index.ts.
Install
From npm:
pi install npm:pi-simple-subagents
Or test without installing:
pi -e npm:pi-simple-subagents
You can also install directly from GitHub:
pi install git:github.com/JavierDeDiegoGuzman/pi-simple-subagents
Reload Pi after editing/installing:
/reload
Behavior
- always synchronous
- always fresh (
--no-session) - runs from the same working directory as the parent agent
- inherits the current model and thinking level
- inherits the current active tools, except subagent-spawning tools
- records and renders the child agent's full input task
- records and renders the child agent's tool-call history
- disables nested
subagentregistration in child processes
Tool schema
subagent({ task: string })
Development
npm install --legacy-peer-deps
npm test
Pi core packages are declared as peer dependencies because Pi provides them at runtime.