Install
Install with PiG
pig install npm:@harrarz/pi-agnostic-subagentsInstall with Pi
pi install npm:@harrarz/pi-agnostic-subagentsPackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./src/index.ts"
]
}README
Written by the package's publisher, shown as published in version 0.2.0 (README.md). PiG does not review it.
Pi Agnostic Subagents
Launch and control whichever Pi subagent fits your task—no forced roles or workflows.
- Agent-agnostic: bundled Pi, Codex, and Claude Code profiles; add another CLI through trusted user JSON.
- Explicit delegation: assign custom tasks to general-purpose agents, with concurrent execution and writes in shared folders or worktrees—no automatic fanout or nested delegation.
- Observability:
/agentbrowser and status widget, clean answers, transcripts, diagnostics, and confirmed stop/rerun. - Live controls: human- or agent-directed steering and saved-session follow-up for RPC-capable profiles.
- Owned lifecycle: timeouts, descendant cleanup, crash recovery, private records, and bounded diagnostic logs.
- Worker extensions: none, inherited user extensions, or custom sets; choose per profile or run.
Install
Requires Node.js ≥22.19, Pi ≥1.5, and macOS or Linux. Install and authenticate each agent CLI separately.
pi install npm:@harrarz/pi-agnostic-subagents
Use
/agent run --profile pi -- Fix token refresh and run the relevant tests
/agent run --profile codex --isolation worktree -- Update setup documentation
/agent
Use the browser to inspect, steer, stop, follow up, or rerun. /agent settings saves preferences; /agent extensions selects worker extensions; /agent profiles lists trusted launch profiles. Unsupported interactive actions are hidden. The model-facing tools are agent_start, agent_get, and agent_stop.
Know the boundaries
- Shared runs without separate worktrees can overwrite each other's edits. Worktrees start at committed HEAD, do not copy dirty files, and are not security sandboxes.
- No automatic commits, merges, dependency installation, spending limits, or default timeout. There is no agent-count cap or scheduler queue.
- Worktrees, records, and saved conversations remain until explicitly cleaned up.
Development
npm ci
npm run check # typecheck, offline tests, package-content checks
npm run test:tui # actual terminals with fake children; no inference
pi -e ./src/index.ts # one-off local trial
Development tests require Git; Linux zombie regression and terminal checks also require Python 3. Provider-backed checks are separately opt-in and may consume quota; see the guides before running them.