Pi GPUI

Pi GPUI

Native desktop app for pi coding agent

Description

Juggling several pi sessions in terminal tabs means remembering which tab runs which project, then opening git diff separately to see what changed. Pi GPUI wraps the pi coding agent in a native desktop window written in Rust with GPUI, the UI framework behind Zed, with no Electron and no webview.

The app is 16 MB, opens in about 0.4 s and idles at about 75 MB of memory, against 190 to 430 MB for Electron clients. It drives the pi you already have installed, on macOS (Apple silicon) and Linux.

Features



Projects and sessions: a sidebar of projects and their pi sessions; each session runs its own pi, so switching never stops work.

Changes panel: project files colored by git status and the current changes in a floating panel you can dock on either side.

Session tree and forks: keyboard-driven session tree with branch summaries, and forking from any message.

Context ring: context used, compaction point, prompt cache hit rate and plan limits next to the model.

Files and images: paste or drop files and images into the message field; they are sent as paths like in pi's terminal.

Plugins: plugins in any language add buttons, keys, tools and live views inside tool calls; one example runs DOOM.

Move terminal sessions: with the /gpui command installed, a session started in the terminal moves into the app in one step.