@mjfuertesf/pi-ask-pi
extensionRun isolated Pi subagents from Pi via the AskPi tool
by — · v0.1.4 · published 2mo ago
$ pi install npm:@mjfuertesf/pi-ask-pidownloads/mo
57
stars
—
last push
—
open issues
—
Signals
license: MITtestspi manifest: missinginstall size: —deps: 0peer deps: 0
Download trend
93 downloads · last 12 weeks (weekly)
README
pi-ask-pi
Run isolated Pi subagents from Pi with the AskPi tool.
pi-ask-pi is a Pi extension for local development workflows. It registers an AskPi tool that launches a fresh pi --print subprocess, passes it an isolated prompt, and returns the subagent output to the parent Pi session.
Install
pi install git:gitlab.com/mjfuertesf/pi-ask-pi
pi install npm:@mjfuertesf/pi-ask-pi
Repo: https://gitlab.com/mjfuertesf/pi-ask-pi
Usage
After installing, Pi exposes an AskPi tool with:
prompt— task or question for the isolated subagentmodel— optional model override; defaults to the parent modeltimeout— optional timeout in milliseconds
Example:
Use AskPi to review this implementation plan for edge cases.
Demo


What it does
- registers the
AskPitool - always runs a fresh raw
pi --printsubprocess as an isolated subagent - defaults to the parent model when
modelis omitted - returns the subagent's inline output directly
- accepts an optional
timeoutin milliseconds
Development
npm install
npm test
npm test runs:
tsx --test ./*.test.ts