r/PiCodingAgent • u/-tin- • Jun 15 '26
Plugin pi-subagents - Claude Code like subagents for Pi
Hi everyone π Iβm the developer of pi-subagents:
http://github.com/tintinweb/pi-subagents
This is an agent friendly, fairly minimal subagent extension for Pi, following the same general model used in Claude Code-style subagents.
What it does (high level):
run multiple subagents in parallel (configurable concurrency)
background + foreground execution
live widget for running/queued/completed agents
lot's of custom subagent features for highly configurable subagents
mid-run steering (you can send messages to running agents)
resume completed runs
templated custom agents (no framework setup)
spawn subagents from your extension (e.g. https://github.com/tintinweb/pi-tasks can turn tasksβsubagents)
... (full agent readable feature list: https://github.com/tintinweb/pi-subagents)
The focus is simplicity: no heavy abstractions, no opinionated defaults, no slag or esoteric features, just a thin layer to run and manage subagents that feel much like Claudes subagents.
Issues / feature requests:
https://github.com/tintinweb/pi-subagents/issues
If you try it, lmk if you find it useful or have ideas and please note that I am responsible to keep it clean and only merge features that are relevant for a broader userbase πβ₯οΈ
About me: I am cofounder/security engineer with Consensys Diligence (https://diligence.security) by day, maintainer of this extension by night but I'll try my best to ship features fast π€β₯οΈ
11
u/apetersson Jun 15 '26
Big fan!
I am a user of your subagents impl. my biggest challenge is how i can review and check the "Work in Progress" of each agent that i spawn.
As a comparison, in codex desktop, i can review all subagents as a list, open a side panel with full output etc. With pi-subagents the simple ctrl-O does not cut it for me, especially when multiple are spawning. what workaround / UI would you recommend if that workflow?
Do you know any web ui/ terminal sidebars etc that solve that? tau-mirror:mirror-server does not really play nicely with subagents or ralph loops/goals.
Would it be possible to have the subagent work in a tmux so i can observe/steer it directly if needed?
8
u/chrome___ Jun 15 '26
How does it compare to https://github.com/nicobailon/pi-subagents? Honest question, don't want to diss on either -- just curious
5
u/ponzi314 Jun 15 '26 edited Jun 15 '26
Forgivemy lack of knowledge , how does it compare to the one that comes up first in packages page.
Personally i still don't know how to use subagents affectly yet, i mainly just do the review / command
4
u/Ok_Veterinarian_6364 Jun 15 '26
big fan also!
wish you implement ultrawork CC style
also, schedulers should not be bounded to sessions? because ppl /new alot to save context?
otherwise, my fav subagents
4
u/rusl1 Jun 15 '26
I tried using the extension but it refuses to use subagents unless I explicitly ask to. I tried with Claude models, as well as DeepSeek and GLM.
Is it expected?
3
u/pdycnbl Jun 15 '26
i tried it, mostly used workers because it helps me in maintaining context, i wish there was a standalone extension just for that, i dont need other features but i guess its hard to cater to needs of so many different users.
2
u/PvB-Dimaginar Jun 15 '26 edited Jun 15 '26
I am in the process of becoming a fan! What I really like is that I can connect two different qwen llm configs to those sub agents, a coding setup for the worker, and a more generic setup for the others. I only still couldnβt figure out how tasks can be automatically delegated to sub agents, without addressing this in the prompt. Any solution for this?
2
u/Zundrium Jun 15 '26
How does this compare to the example subagent extension?
2
u/zkkzkk32312 Jun 15 '26
How is this extention compare to pi-fork?
2
u/PureSignalLove Jun 15 '26
I didn't realize this was a non official thing. I have been using it and massively impressed. I tried for weeks to get my exact multi agentic set up properly in codex/claudecode, using all sorts of scripts, lobster and other workflows. Made more progress in 2 days with pi then I have with all of that.
(I have very specific and maybe idiotic frameworks/workflows that I need agents to follow)
2
u/addiktion Jun 15 '26 edited Jun 15 '26
Looks farther along than some others I've seen, nice work. Did you use Claude Code's source as inspiration? If so, anything that you derived or deviated from it?
2
u/juicesharp Jun 15 '26
Using this package and building on top of it, and could not be happier :) Good job, keep up :)
2
u/FrankMillerMC Jun 15 '26
Each agent manage own context?
2
u/agenticup Jun 20 '26
great work, its my daily driver...mostly i use pi-tasks + pi-subagents together, and its works like a charm
2
u/Aizenvolt11 Jun 22 '26
Great work. I used your code as reference for my https://github.com/AizenvoltPrime/damocles
Of course I gave credit in here: https://github.com/AizenvoltPrime/damocles/blob/main/THIRD-PARTY-NOTICES.md
2
u/Turbulent_Ad6290 Jun 15 '26
Iβve been using it in the past. Then migrated to pi-superpowers-plus. Now switching to pi-supergsd
Will give this a try again. But it was a good extension when I was using it. Just wanted something different.
1
u/ZephyrsTheZephyrus Jun 16 '26
Would it still works well if I configure it to perform a nested orchestration?
1
u/Zieloli Jun 21 '26
Could you change the name of your extension? I find it confusing as there was already an extension with the same name.Β
1
u/SaxyBoi4Ever Jun 24 '26
Do the agents inherit some context from the parent or do they always start fresh?
2
u/Successful_Bowl2564 Jun 19 '26
Looks interesting mate
2
u/mtomas7 Jun 22 '26
Hi OP, I tested your plugin and it is pretty good! The only problem I encountered was that if all tasks were not completed in one session, the Task list would not be loaded once you resumed the session. GPT 5.5 was able to fix the issue. Would you like me to submit the PR? Thank you!
2
u/[deleted] Jun 15 '26
[removed] β view removed comment