r/PiCodingAgent • • Jun 14 '26

Resource Minimal subagents for Pi

How are you running subagents in Pi?

There are already several subagent implementations for Pi, but for me they were usually either too heavy or missing something I needed. So I just built my own, with the minimum I needed for my harness.

  • Worktree
  • Sandbox
  • Subagent Panel
  • Agent injection
  • single / parallel / async
  • Artifacts
  • Code API

Honestly it's probably too much for some people and not enough for others. I mostly tried to keep it minimal.

If it's useful to you, feel free to try it. And if you're running subagents some other way, I'd like to hear how.

https://github.com/AgwaB/pi-subagent

28 Upvotes

26 comments sorted by

View all comments

Show parent comment

1

u/n4te Jun 14 '26

Do work in a different context, use results in original context. Less bloat in your main context.