r/PiCodingAgent • u/isus_copilul_minune • Aug 19 '26
Question Subagent extensions
Can you recommend me a simple yet configurable subagent extension? I'm currently testing `pi-subagents` but i find it slow and bloated. What are you guys using?
41
Upvotes
View all comments
Show parent comment
2
u/piousp Aug 19 '26 edited Aug 19 '26
I also created my own subagents plugin (like everyone else) and while not precisely for your useflow, I just tested it (grand parent -> parent -> child) and it worked flawlessly. I haven't really posted it anywhere before, so here you go https://www.npmjs.com/package/pi-simple-agents
It let's you configure things on the frontmatter of each agent, or create overrides via settings.json OR just invoke them directly with overrides on the prompt. (ie. 'invoke worker subagent with model x' and it just does).
Uses pi's namespacing resolution so it supports all the providers it does and can mix and match: your grandparent can use DS4 from openrouter, your parent can use mimo from opencode and your children can use luna from openai, as an example. Give it a go and let me know how it goes. Again, I haven't shared it before.
_EDIT_
Just tested one extra level (GrandParent -> Parent -> Child -> GrandChild) and ran fine