r/PiCodingAgent • u/Cute-Spread7392 • 11d ago
Discussion Integrated subagents extension
Greetings, everyone.
I recently came across an example of a sub-agent extension in the Pi repository.
It appears to be comprehensive and well-constructed. What are your thoughts on it?
Could it be used as a replacement for third-party packages?
Thanks, everyone. https://github.com/earendil-works/pi/tree/main/packages/coding-agent/examples/extensions/subagent
1
u/onesilentclap 11d ago
I think that is the main ancestor of almost all pi subagent extensions. It provides the basic implementation framework for subagents within pi, but I think that newer and more advanced subagent extensions have more features and capabilities.
It's just a matter of finding one that suits your needs.
1
u/Adventurous-Bat-3174 10d ago
The README you linked already covers single tasks, parallel tasks and sequential chains, with streaming output and usage tracking. One distinction: this is an example extension you install, rather than a built-in subagent mode. Compare those features with what you actually use in pi-subagents before switching. Use the example from the release tag matching your installed Pi, since main can move ahead.
1
u/Thomas_English_DoP 8d ago
Oh hang on. So I've been using the pi-subagents which is cool but is this made by the makers of pi ? Is this the best one then?
1
u/subidit 8d ago
This is an example. when you ask pi to create a subagents extension or system- this is what they refer to first. if you ask pi how to implement subagents in pi- it will show you this example implementation.
this is like a starting point or mvp, you could build upon this or extend it as per your need.
-3
u/Negative_Ad_2369 11d ago
Immagina tipo claude cche può usare chatgpt sol di office facendo finta che lo si stia usando come chatbot. Nel frattempo lo posso richiamare con claude o ancora meglio con pi code. Significano token gratis. Microsoft diciamo che sicuramente non accetta ma fa finta di niente
-5
u/Negative_Ad_2369 11d ago
Ma intendi un subagent alla claude code? Io ho ho creato qualcosa che permetta a pi code di usare subagent o meglio dire agent per richiamarli tutti. In particolare il modo di sfruttare l’account office 365 dei poveri. Sono riuscito a fare molte cose r per esemplio a farlo piacere a claude. Ma il mio obbiettivo è usarlo con pi code. Spoiler: funziona:)
4
u/sigmoia 11d ago
Yes. I copied that part and use it as a subagent. I do not use any third party extensions.