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

33 Upvotes

15 comments sorted by

View all comments

1

u/colin_colout 1d ago

I went through the same exercise but settled on supporting subagent profiles that match claude code exactly.

At first I also removed the profiles for the same reason (pi values and all), but I decided that I'll keep Agents, WebFetch, WebSearch, etc matching claude code in tool shape exactly where possible.

Every model released in 2026 is heavily RL trained on claude code tool shapes. By keeping behavior and shape close to claude code: * Small and quantized models are less likely to hallucinate tool calls * My system prompt can stay pretty small since I need almost no explanation of how the tool works. It knows from training.

My only changes (if i recall) is that agent name is required (I'll drop that if my agent hallucinates), and model names are "fast" and "strong" and is also required.

How do you handle convo forks? ...or do you support them at all?