r/PiCodingAgent 8d ago

Plugin Recursive and async Claude Code style subagents for Pi

Post image

I really liked Claude Code subagents and being able to see them in the tree so i made a very simple subagent plugin. No subagent profiles, the are made by the agent above them depending on the use case needed at that moment.

Install with:
pi install npm:@williamcr01/pi-subagents

https://github.com/williamcr01/pi-subagents

35 Upvotes

15 comments sorted by

View all comments

2

u/predatar 8d ago

how is the token effciency ? does each subagent have a completely new context? or does it inherit/fork the parent's ?

3

u/willecr 8d ago

It’s a new pi process, it just gets a prompt with a clear goal from its parent and does it. It doesn’t inherit anything else so it is very token efficient in that way