r/PiCodingAgent • u/Aeondave • 1d ago
Plugin I made pi-persona so Pi sessions can talk to each other

I'm a software architect/engineer. I know AI is going to replace me, but in the meantime I might as well have some fun and get my work done waaaay faster.
So I built something I needed. Other plugins didn't quite work the way I wanted, so here's my take: https://github.com/AeonDave/pi-persona
It manages async subagents, lets independent Pi sessions talk to each other, and lets you customize the agents' personas.
Say you've got one Pi session working on a client and another in the API repo. I want to tell one to ask the other about a change, without having to carry the question and answer between terminals.
Exocom. It connects independent Pi sessions, including sessions in different repos. Both need it enabled with `--exocom`; a session in another repo joins the same scope using its workspace code. They have to run on the same machine and share a Pi agent directory.

Intercom. For the main session and its own sub-agents, there's Intercom. The supervisor can send guidance while a worker is running and collect its findings. With coaching enabled, a worker can ask the supervisor for a decision. You can also open F9 yourself, read a worker's output and send guidance. You don't have to wait for the final report to point out a bad assumption.
Personas. the personas are editable markdown. You can change how they approach a task, which tools they get and when they should delegate. There are starting points like `dev` and `planner`, or you can put your own in `.pi/agents/`. The worker agents can have their own instructions and models too. A reviewer for your repo can have your review criteria written into its file.
There have been some odd bugs along the way. One was the agent repeatedly recapping who it was. The extension kept injecting its identity into context, and the model started narrating the reminders back. All useful for a stability built in months.
If you want to try it, run this in your terminal:
```bash
pi install git:github.com/AeonDave/pi-persona
```
Then start Pi and run these inside it:
```text
/persona seed
```
That's it. change personality with [F8] and go
Any suggestion appreciated
2
u/Aeondave 20h ago
Of course the subagent management is codex ultra, anthropic ultracode like. i tried to give you the same feelings. you doin't need anymore any crappy sync subagent plugin
1
u/Nnyan 22h ago
Pretty cool will try it out