Your machines, every screen
Hosts run Pi as you, with your repositories, worktrees and logins, and dial out to the coordinator. Phone, browser and terminal show the same live session; closing one never stops the work.
PiFi runs Pi on your laptop, workstation or home server and puts every session in your pocket. Answer its question from the train; take over in a terminal when you sit down. The work never stops because you walked away.




storefront · Retry declined cardnow
Needs input: How many times should a temporary decline be retried?
A day with PiFi
Starting an issue assigned to you makes its branch, a worktree for it and a Pi session on your home server.
Pi asks how often to retry a declined card. Your phone buzzes, because no computer has seen you for five minutes. One tap and it keeps going.
pifi tui, or the herdr tab it already opened, attaches to the same Pi. Nothing restarts, nothing is lost.
The branch follows its pull request to In review and Merged; the worktree is removed and its sessions archived.
What it does
For people who already work with Pi and want their agents to keep going when they leave the keyboard.
Hosts run Pi as you, with your repositories, worktrees and logins, and dial out to the coordinator. Phone, browser and terminal show the same live session; closing one never stops the work.
Installs as an app on your phone, with the Board, Sessions and Attention one thumb away.


When Pi or a plugin asks, the question shows in every client and as a notification on the device you are using. Answer once, anywhere; the terminal dialog closes by itself.


Sessions run Pi's own TUI: open one from any terminal with pifi tui. In herdr or tmux, Pi you start shows up in PiFi, and a bound session mirrors a tab per active branch.


Branches, GitHub scopes and a board: issues assigned to you wait in Not started, starting one makes its worktree and session, and the branch follows its pull request to In review and Merged.


Phones buzz only once no computer has seen your input for a while. Watching a session counts as reading it.
Off localhost the coordinator refuses to start without single sign-on. Add passkeys; revoke any device.
Hosts dial out to the coordinator, so a laptop behind NAT or a server at home just works.
Changes, files, commits and the pull request sit next to the conversation, and a guarded squash merge is one confirmation away.
Why it exists
Every big name will now let you poke an agent from your phone, through their cloud, their account and their agent. PiFi is for when the agent, the control plane and the data should all be yours.
Self-hosted, headless
The coordinator runs in Docker on a box you own. Hosts are always-on services that dial out, many under one roof. No vendor account, relay or transcript store in the path.
Pi, all the way down
One agent, on purpose. Any Pi extension's dialogs become cards on your phone, and an adapter turns a plugin's state into panels and tool cards. Install a plugin; the app grows its interface.
A real model
Scopes say what work, hosts say where it runs, clients say where you look. An issue is work before any session exists, and a session is one attempt at a branch, not the work itself.
| PiFi | Cloud agentsCodex, Cursor, Copilot, Claude on the web | Vendor remote controlClaude Remote Control, Codex on your computer | Open-source meta-harnessesOrca, t3code, Paseo, Omnigent, Happy, herdr | |
|---|---|---|---|---|
| A server you host, for all your machines | Yes | No | No | Rarely |
| Agent loop on your machines | Yes | No | Yes | Yes |
| Headless servers as hosts | Yes | Some | Some | Some |
| Same live session in terminal and phone | Yes | No | Some | Most |
| Issues wait on a board before a session | Yes | Some | No | Rarely |
| The agent's own extensions become UI | Yes | Not documented | Not documented | Not documented |
| Open source | Yes | No | No | Yes |
How it works
So a session is the same thing wherever you look at it.
What work
A named part of your work: some projects, or the GitHub issues assigned to you, and your pins.
Where it runs
A session runs on a host, in a worktree: as a terminal session PiFi holds, or in a pane you started it in. The coordinator never runs code.
Where you look
The web app and your phone, or a herdr or tmux session that mirrors nothing, everything or one scope.
Self-host it
Ready-to-run Docker Compose setups for every common front door. Copy one, fill in .env, run docker compose up -d.
Automatic Let's Encrypt on a public name.
Label-based routing; drop into an existing Traefik.
Bring your own certificate: certbot, DNS challenge or a private CA.
Only your devices reach it, with a real ts.net certificate.
A public name without opening a single port.
Run the Pi side in a container too, on a machine you manage with Compose.
git clone --depth 1 https://github.com/justmytwospence/pifi && cd pifi/deploy/compose/tailscale cp .env.example .env # your tailnet and single sign-on docker compose up -d
Build on it
A typed client SDK drives sessions and tasks from your own tools, and modules add sources, clients and triggers without touching the core.
// start a session and wait for it to finish const session = await client.sessions.create({ projectId, workspace: { existingId }, prompt: "Inspect the tests", }); await client.sessions.send(session.id, { text: "Fix it" }); await client.sessions.waitForFinish(session.id);
Pi runs on your hosts, with your checkouts and your model credentials. The coordinator keeps state and relays events between hosts and clients; it never runs code.
No. pifi up runs the coordinator and a host in one process on one machine. Move the coordinator to a server, with one of the Compose recipes, when you want your phone to reach it from anywhere.
The web app installs to your home screen and sends push notifications; there is nothing to download from a store.
Yes. Pi you start yourself in herdr or tmux shows up in PiFi, and a terminal session opens in Pi's own TUI from any terminal. Pick whether PiFi or your terminal tools own starting and cleaning up work.
Node 24 or newer, git and Pi on your PATH. up runs the coordinator and a host in one process and opens a sign-in link.
npm install -g @spencerboucher/pifi pifi up # http://localhost:7400