r/PiCodingAgent • u/Aeondave • 17d ago
Resource pi-persona 1.19: watch your subagents work
Hey all. Around two months ago I posted pi-persona here and a lot has changed since then.

and led with the wrong thing. That's still in there, but it isn't the main point, so here's a second try now that 1.19 is out.
The complaint that keeps coming up in the subagent threads here is the one I had too: the main agent doesn't know a worker went wrong until it's finished and the tokens are spent. Neither do you.
So this is built around being able to look. Workers run in the background. Press F9 and you get the list: what each one is doing right now, its model, its effort, tokens so far. Open one and you're reading its conversation as it happens, tool calls included. If it's heading the wrong way, press s, type a sentence, and it arrives as a new message in that worker's own context. If you don't need it any more, x stops that one and leaves the others alone. The supervisor isn't blocked during any of this, and reports come back to it on their own when they're ready. Nothing polls.
1.19 is mostly that part getting better:
Worker chats in F9 with expandable tool calls and reasoning, search, and /agents send <name> <message> for when you don't want to open the panel.
Every row that shows a model now shows the effort next to it.
F9, the model picker and the settings page share one window frame. They used to look like three different apps.
Things I'd want to know before installing it:
Workers share your repo. Parallel writers declare which paths they own, but that's coordination, not a sandbox. If you want isolation there's a git worktree mode that hands back a diff, and you can attach a check like npm test that runs before the diff is exported.
It has been coded with AI of course. not vibed with it. That's cause it's also my main job (sw engineer).
Also don't forget that the pi2pi communication is still there:

Needs Pi 1.5.2 and Node 22.19 or later.
The GIFs in the README are the real TUI, but the model replies are scripted so I could re-record them without spending tokens.
Install:
pi install npm:@aeondave/pi-persona
then inside Pi:
/persona seed
/persona dev
or just F8...
https://github.com/AeonDave/pi-persona
With this you can start a team with fable/mithos/astra/deepseek4.1 all together.
A question for people who do use subagents: when one goes wrong, how do you find out today? I'd like to know whether redirecting mid-run is something you'd use, or whether you'd rather kill it and re-prompt.
1
u/Extra_Loquat_7667 15d ago
My own implementation of a subagent includes this capability as well.
However, I do not allow users to directly guide the subagent themselves.
The reason is that the main agent remains unaware of any guidance provided to the subagent, which could potentially lead to discrepancies when interpreting the final work results.
Instead, my approach is to notify the main agent whenever I detect an issue with a subagent, allowing the main agent to adjust the task accordingly. (I provide tools that enable the main agent to review logs and send messages.)
There are also tools available to periodically report the subagent's status back to the main agent, facilitating full automation.
Just a personal perspective.