@duarteocarmo/pi-subagents

Run bounded isolated Pi subagents.

Packages

Package details

extension

Install @duarteocarmo/pi-subagents from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@duarteocarmo/pi-subagents
Package
@duarteocarmo/pi-subagents
Version
0.1.8
Published
Aug 28, 2026
Downloads
1,297/mo · 1,297/wk
Author
duarteocarmo
License
Apache-2.0
Types
extension
Size
5.4 MB
Dependencies
0 dependencies · 4 peers
Pi manifest JSON
{
  "image": "https://raw.githubusercontent.com/duarteocarmo/pi-tools/master/packages/pi-subagents/preview.png",
  "video": "https://github.com/user-attachments/assets/776a310a-65cb-4721-8a0b-2235f330bd36",
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-subagents

npm package Pi package

Pi Subagents runs bounded tasks in separate Pi sessions. It adds the subagent tool so Pi can delegate work without adding it to the current conversation.

The extension is based on Armin Ronacher's subagent.ts from mitsuhiko/agent-stuff.

Install

Install only Pi Subagents from npm:

pi install npm:@duarteocarmo/pi-subagents

Install every Pi package in this repository from Git:

pi install git:github.com/duarteocarmo/pi-tools

Part of pi-tools.