piagent_
← ~/map

$ cat ~/map/pi-duo.md

pi-duo

Two persistent, resumable peer agents — Austin implements up front, Tony verifies behind — sharing each other's live session context.

extensions✓ Sep 19

Facts

repository
github.com/atfa/pi-duo ↗
GitHub Stars
★ 0
Forks
1
license
—
npm / mo
—
last push
Sep 22, 2026

install

Run pi install git:github.com/atfa/pi-duo, then /reload; pi -e git:github.com/atfa/pi-duo loads the extension for one session without writing the install config. Requires pi 0.85.1 or newer.

## TL;DR

A pi extension that runs two persistent, resumable pi sessions on one project: Austin implements in the foreground while Tony investigates, tests, and reviews in the background, exchanging messages through each other's real session context under a shared goal, todo, and decision surface.

## Key points

## FAQ

Q Is Tony just a subagent?

No. A conventional subagent call returns a result and drops its context; Austin and Tony are both independent, resumable pi sessions, and peer messages land in the other session's real context where they stay.

Q Who writes to my project files?

By default only Austin: austin-only mode fixes Austin as the writer while Tony works read-only on analysis and tests. The transferable mode allows an explicit handover of workspace ownership between the two.

Q How does it keep the two agents from chatting forever?

The loop protections cap the conversation: a total message budget, limits on consecutive peer-only turns, suppression of similar messages, and deferred delivery slots for key messages.

## References

## Related entries

## Guides

Last updated: Sep 19, 2026