Latest release·macOSLinux

A native GUI
for pi

Pi GPUI runs your installed pi coding agent in a native desktop app for macOS and Linux. Your models, extensions, skills and sessions are ready at launch. It's written in Rust with GPUI and drawn on the GPU.

Needs pi 1.4+ · macOS 13 on Apple silicon, or Linux on x86_64 and arm64 (beta) · free, MIT licensed

Recorded in the app: pi adds retries to a Rust client, runs the tests, and the diff opens in Changes while two other sessions keep working. Model replies are scripted so the take is repeatable; the app, edits and cargo test are real.

LanguageRust
UIGPUI
RenderingMetal · Vulkan
Agentyour pi

Get started

Install in three steps.

1

Install pi

Skip this if pi 1.4 or newer is already installed.

$ curl -fsSL https://pi.dev/install.sh | sh
2

Log in

Connect a subscription or an API key, in the app (Settings, or /login in a chat) or in the terminal. pi keeps it, the app never reads it.

$ pi
> /login
3

Open Pi GPUI

It finds pi on its own, nvm installs included, and lists your projects and sessions.

macOS, or download the app

$ brew install --cask bytesbay/tap/pi-gpui

Linux, x86_64 and arm64 (beta)

$ curl -fsSL https://pi-gpui.dev/install.sh | sh

Features

Made for working with pi all day.

⌘1 … ⌘9

Sessions side by side

Projects and sessions live in the sidebar, open sessions in tabs. Each one has its own pi, so one keeps working while you are in another.

⌘⇧T

Session tree

See every branch of a session and jump back to any message from the keyboard. pi can summarize the branch you leave.

/fork

Fork from any message

Try a different direction from any message. The original session stays untouched.

/

Slash commands

Your extension commands, prompt templates and skills, plus /compact, /model, /name, /copy, /export and more.

drop · paste

Files and images

Paste or drop files and screenshots into a message. pi gets their paths, as in the terminal.

◔ 42%

Context ring

A ring by the model name shows how full the context is and when pi will compact. Click it for cache hits and plan limits.

Y / N

Questions in the chat

When an extension asks you something, it shows up as a card in the chat. Answer with a click, a number or the arrow keys.

⌘⇧M

Model per session

Change the model or thinking level for one session. pi's defaults stay as they are.

auto

Updates on your terms

The app updates itself. New versions of pi and your extensions show up next to the pi version and install only when you click.

How it works

Each session runs your own pi.

For every session the app starts your installed pi with pi --mode rpc and talks to it over stdin and stdout. No copy of pi ships inside the app. It loads one small extension for session tree navigation and usage numbers. Extension questions work inline; extension status lines and widgets are not shown yet.

The interface is built with GPUI, the framework behind the Zed editor, and drawn with Metal on macOS and Vulkan on Linux.

Pi GPUI  Rust · GPUI · Metal/Vulkan
   │
   │  JSONL over stdin / stdout
   ▼
pi --mode rpc  your install
   │
   ▼
models · tools · extensions · your files

Tour

More sessions, from an earlier build.

Plugins

Can it run DOOM?

Yes. Plugins can be written in any language. They add buttons, give pi new tools and draw live views inside the chat. This one plays Freedoom right in a tool call.

How plugins work · The DOOM plugin · The Secrets plugin

Real recording. E1M1, inside the chat.

Open source

Don't like something? Change it.

Pi GPUI is MIT licensed Rust. Clone it, run it with cargo run and change what you like. A lot can be done with a plugin, without touching the app at all.

Source on GitHub · Issues · MIT license

$ git clone https://github.com/bytesbay/pi-gpui
$ cd pi-gpui
$ cargo run
  Compiling pi-gpui
  Running target/debug/pi-gpui

FAQ

Common questions

What is Pi GPUI?

A desktop app for the pi coding agent, for macOS and Linux. It runs the pi you have installed and shows your projects, sessions, tool calls and answers in one window.

Is there a GUI for pi?

Yes, several. Pi GPUI is a free native GUI for the pi coding agent on macOS and Linux, written in Rust with GPUI, without Electron or a webview. Orbit is native too, pi-gui, PI-Desktop, Pi Desktop and PiDeck use Electron, and Pi Web runs in a browser; they are compared here. awesome-pi-agent lists more, including Tauri apps and editor plugins.

Is there a desktop app for pi on Linux?

Yes. Pi GPUI runs on Linux on x86_64 and arm64, on X11 and Wayland, and one command installs it into ~/.local without root: curl -fsSL https://pi-gpui.dev/install.sh | sh. The Linux app is in beta: so far it was only tested on Ubuntu 24.04 on arm64 in a VM. More on the Linux page. pi-gui, PI-Desktop, Pi Desktop, PiDeck and Orbit have Linux builds too; see the comparison.

How is Pi GPUI different from pi-gui?

pi-gui is an Electron app with parallel threads, optional git worktrees, a review tab and a built-in terminal, and it also has Windows builds. Pi GPUI is a native Rust app built around pi's session tree and forks; it has no terminal or worktrees. On 8 November 2026, with no projects open, Pi GPUI 0.1.11 was a 7.3 MB download and used 74 MB of memory at idle; pi-gui 1.0.1 was 137 MB and 280 MB (how we measured). More in the comparison.

Does it work with my pi extensions?

Yes, with one gap. Pi GPUI starts your own pi, so extensions, skills and prompt templates load as they do in the terminal. Questions from extensions (select, confirm, input, editor) appear in the chat. Extension status lines, widgets and window titles are not shown yet.

Can I use Claude models?

Yes, if your pi is set up for them. pi works with Claude and other providers, and Pi GPUI runs your pi with its models, extensions and skills.

Is it written in Rust?

Yes, Rust with GPUI, drawn with Metal on macOS and Vulkan on Linux. The agent itself is pi, and the app talks to it over JSON lines.

Do I need pi installed?

Yes, pi 1.4 or newer within 1.x. The app finds it in PI_EXECUTABLE, PATH or your login shell, so nvm installs work. It never installs or updates pi on its own.

Which systems does it run on?

macOS 13 or newer on Apple silicon. Mac releases are signed with a Developer ID certificate and notarized by Apple.

Linux on x86_64 and arm64, on X11 and Wayland. It needs glibc 2.35 or newer (Ubuntu 22.04, Debian 12, Fedora 36) and a Vulkan driver. The Linux app is in beta: so far it was tested on Ubuntu 24.04 in a VM, so tell us how it runs on your setup. Shortcuts use Ctrl where the Mac app uses ⌘.

On both, new versions arrive through GitHub releases, and the app offers "Restart to update" when one is ready. Windows isn't supported.

Is it free?

Yes. It is open source under the MIT license, with the source on GitHub. You only pay your model provider.

Give pi a window.