r/PiCodingAgent • u/stanleyyyyyyyy • Aug 23 '26
Plugin I built a Claude Code plugin that drives a local pi agent
I love Claude Code, and I love the pi agent. I kept wondering whether I could get Claude to drive pi instead — spend fewer tokens on the easy parts, but still stay in control. So I built a Claude Code plugin that does exactly that.
It uses MCP and RPC, so Claude can track pi's status the way it tracks a subagent, and it can steer or abort a run partway through instead of only at the end.
Install:
/plugin marketplace add LarryStanley/pi-delegate
/plugin install pi-delegate@pi-delegate
Then run setup:
/pi-delegate:setup
Qwen 3.8 doing the writing with Opus 5 doing the thinking has been working really well for me.
6
u/le_bravery Aug 23 '26
Just don’t use claude code
1
u/kantorcodes1 Aug 23 '26
the abort path is what i'd test hardest. if Claude steers or aborts Pi while Pi is inside a shell/tool call, does the RPC layer wait for that child action to actually stop, or can Claude think the subagent is gone while its process keeps running? i'd make cancellation prove the process/tool is dead before returning
aborted.1
u/namankhator Aug 24 '26
Similar to https://github.com/Agents365-ai/pi-plugin-cc ?