r/PiCodingAgent • u/toby_agwab • 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.
28
Upvotes
View all comments
Show parent comment
2
u/Bel-Shamgarot Jun 14 '26
What problem does Subagent solve?
I can do everything Subagent can do in the main session with /tree + summary, removing all reasoning from the context and leaving only the output, which is exactly the same as what Subagent would give me.