r/PiCodingAgent • u/miroshpak • 20d ago
Resource Pi GPUI: a native desktop app for pi, written in Rust with GPUI (open source)
I use pi every day and wanted a desktop window around my sessions, so I built one on GPUI, the UI framework behind Zed.
It runs your installed pi in RPC mode, one process per open session, with the same models, skills, extensions and sessions you have in the terminal.
What it has:
- projects and sessions in a sidebar, several sessions working at once
- session tree with keyboard navigation, forks from any message
- extension questions (select, confirm, input, editor) answered inline in the chat
- Changes and Files panels, diffs with syntax highlighting
- context ring with cache hit rate and plan limits
- plugins in any language; the example plugin runs DOOM inside a tool call
/gpuifrom a terminal pi moves the session into the app (pi install npm:pi-gpui)
Not there yet: extension status lines and widgets have no UI, and it's Apple silicon only (macOS 13+). Linux is next.
On my M1 Pro the app is 16 MB, its window is up in about 0.4 s, and it idles around 74 MB. Three Electron clients for pi took 0.5 to 1.1 s and 190 to 430 MB. That's the app alone with no projects open, pi left out for every app; method and script are in the repo.
The model replies in the video are scripted so the take is repeatable. The app, the edits and the cargo test run are real.
Install: brew install --cask bytesbay/tap/pi-gpui (needs pi 1.4+) Repo: https://github.com/bytesbay/pi-gpui
What would make you use a GUI for pi over the terminal?




