36 lines
785 B
Markdown
36 lines
785 B
Markdown
# pi-subagents
|
|
|
|
`pi-subagents` is a Pi extension package that runs subagent tasks in separate child sessions and ships the prompts and wrapper code needed to execute those runs.
|
|
|
|
## Install
|
|
|
|
Use it as a local package root today:
|
|
|
|
```bash
|
|
pi install /absolute/path/to/subagents
|
|
```
|
|
|
|
After this folder is moved into its own repository, the same package can be installed from git.
|
|
|
|
## 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`
|
|
|
|
## Requirements
|
|
|
|
- default process runner: no tmux requirement
|
|
- optional tmux runner: `tmux` must be available on `PATH`
|
|
|
|
## Development
|
|
|
|
```bash
|
|
npm install
|
|
npm test
|
|
```
|