pi-gui

A desktop shell for the pi coding agent: parallel threads, per-file diff review, and tests in an integrated terminal without leaving the window.

Stars
★ 1.5k
Last updated
23d ago
FARS reviewed
Nov 25, 2026
License
MIT
Primary language
TypeScript

At a glance

How it runs
Desktop app
Works with
Universal · cross-platform
Cost
Free software; you pay for model usage
Setup effort
Low · running in minutes
You'll need
Node.js 22.19+ (source builds only)Git (for worktree threads)Shell / CLINetwork accessLocal filesystem
Typical use
Backend or full-stack engineers pushing several fixes at once: give each bug its own worktree thread so parallel edits never collide.
Not a fit if
  • Users on Intel Macs, ARM Linux or 32-bit systems — only Apple Silicon, x64 Linux and x64 Windows are supported
  • Fleets that require code-signed installers — Windows builds are unsigned and trigger SmartScreen
  • Teams needing built-in browser or desktop automation — that lives in the separate computer-use-mcp server
Website
pi-gui.com ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-02
Source review
63/100 · Some gaps

What does this agent do, and when should you use it?

pi-gui is an Electron desktop application that wraps the pi coding agent runtime (@earendil-works/pi-coding-agent) in a GUI instead of reimplementing it. Each task is its own thread, running either in an existing checkout or in a fresh git worktree, with a sidebar that shows what is running, finished or waiting on you. The main process owns windows, session supervision, worktrees, terminal PTYs, scheduled tasks, notifications and persistence, while the React renderer reaches it only through a typed IPC surface exposed by a narrow preload script. The workbench beside the conversation holds a real terminal, a file explorer and editor, the Review tab, worktrees, and tabs contributed by desktop extensions. pi's JSONL session transcripts on disk are the source of truth, so models, auth, skills and history stay shared with the pi CLI. It ships as a signed and notarized macOS .dmg, Linux .AppImage/.deb and Windows .exe, plus a Homebrew cask for macOS.

You add a workspace (a local project folder), create a thread in Local or Worktree mode, and send a prompt; the prompt travels through packages/pi-sdk-driver into the pi runtime, which runs it against the configured provider, model and thinking level. The composer supports @-mentions of files and pasted or dropped images; Enter during a run queues a follow-up while ⌘Enter steers the current run. Every thread keeps its own workbench layout: an integrated PTY terminal for running the test suite, a file explorer and editor, the Review tab, worktree management and desktop-extension tabs. The Review tab diffs three scopes — uncommitted work, a branch against its base, or a single turn — and stages or unstages changes file by file. Scheduled tasks re-run a prompt on a schedule while the app is open; skills and extensions can be toggled and tried from the composer; fork/rewind and the /tree command move around the session tree; threads can start, read and message other threads. All sessions are read from and written to pi's JSONL transcript files rather than a private store.

  1. Backend or full-stack engineers pushing several fixes at once: give each bug its own worktree thread so parallel edits never collide.
  2. Tech leads reviewing agent output: inspect diffs in the Review tab by uncommitted work, branch against base, or single turn, then stage per file.
  3. Developers who want tests run in place: use the integrated terminal to execute the suite without switching to an external terminal.
  4. Existing pi CLI users: keep the same session files, credentials and skills and continue the same workflow on the desktop.
  5. Teams with recurring chores: schedule a prompt such as a weekly dependency check that reruns while the app stays open.
  6. Extension authors: build custom workbench tabs following examples/desktop-extensions.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • brew install --cask pi-gui
Runtime
Node.js 22.19
Install notes cover
Windows · macOS · Linux

How do you install or deploy this agent?

Download the package for your platform from the Releases page: .dmg for macOS, .AppImage or .deb for Linux, .exe for Windows.

On macOS, drag pi-gui.app into Applications; releases are signed and notarized.

macOS users can also install through Homebrew. Homebrew refuses untrusted third-party taps, so the brew trust step is required on first install:

brew tap minghinmatthewlam/tap
brew trust minghinmatthewlam/tap
brew install --cask pi-gui

Upgrade afterwards with:

brew upgrade --cask pi-gui

On Linux, make the AppImage executable before running it:

chmod +x pi-gui-*.AppImage
./pi-gui-*.AppImage

On Windows, run the setup .exe or the portable .exe; builds are not code-signed yet, so SmartScreen may ask you to confirm.

Running from source is for contributors and requires Node 22.19 or newer with pnpm through corepack:

corepack enable
pnpm install
pnpm dev

How do you use this agent?

  1. Install pi-gui and open it.
  2. Open Settings → Providers and connect a model provider with OAuth, an API key, or a custom endpoint.
  3. Add a workspace: a local project folder.
  4. Click New thread, choose Local or Worktree, and send your first prompt.

Handy shortcuts (macOS; use Ctrl on Linux and Windows): ⌘K searches chats, workspaces and actions, ⌘P opens any file in the current checkout, Ctrl+Tab cycles recent threads, ⌘J toggles the terminal, ⌘R toggles the Review tab, ⌘⌥B shows or hides the workbench.

Local verification from the repo root:

pnpm check          # format, lint, renderer boundaries, types, guard and driver tests
pnpm test           # per-workspace tests; desktop runs the core E2E lane
pnpm --filter @pi-gui/desktop run test:e2e:all   # core + live + native

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • Threads run on pi's own runtime through packages/pi-sdk-driver, so session files, auth and skills are shared with the pi CLI instead of duplicated in a second store.
  • Per-thread git worktrees let several agents edit one repository in parallel without stepping on each other.
  • The Review tab covers three diff scopes (uncommitted work, branch against base, single turn) and supports per-file stage and unstage.
  • The renderer gets no broad Node access; it talks to the main process only through a typed IPC surface behind a narrow preload.
  • Distribution is complete: a signed and notarized macOS build, a Homebrew cask, AppImage, .deb and a portable .exe.
Limitations
  • Desktop-only: there is no headless, server or browser-hosted mode, and scheduled tasks plus running threads need the app to stay open.
  • Windows builds are not code-signed yet, so SmartScreen warns during installation.
  • macOS support is Apple Silicon only and the Linux/Windows builds are x64 only, leaving other architectures out.
  • No model is bundled, so a provider account or API key is required before anything runs, and usage is billed by that provider.
  • It is tightly coupled to @earendil-works/pi-coding-agent's session format; swapping runtimes means replacing the driver and transcript handling.

How does this agent compare with similar options?

The closest alternative named in the README is the pi CLI itself: same runtime, same JSONL sessions and settings, but terminal-only. pi-gui layers the workbench, Review tab, worktree management and notifications on top; if a terminal is enough for you, the CLI alone covers it. Desktop and browser control are not a pi-gui feature — they come from the standalone computer-use-mcp server.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
pi-gui This agent 63 · Some gaps Desktop appFree + model costs ★ 1.5k 23d ago TypeScript —
Parallel Code 69 · Some gaps Desktop appFree + model costs ★ 1.1k 1d ago TypeScript Codex · Claude Code
Prometeu 73 · Some gaps Desktop appFree + model costs ★ 67 today Rust Codex · Claude Code
FanBox 67 · Some gaps Desktop appFree + model costs ★ 1.1k 1d ago JavaScript Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
63/ 100 5-point scale 3.2 / 5
Trust 18/29
Reliability 8/14
Adaptability 12/18
Convention 11/18
Effectiveness 9/13
Verifiability 5/8
Why each dimension lost points
Trust18 / 29 · 3.1/5

README states a tight main/preload/renderer boundary with no broad Node access for the renderer, and package.json test:guards lists check-renderer-boundary, check-host-boundary and ipc-main-frame-boundary guard scripts, which is checkable enforcement evidence, so least_privilege scores 2; the deduction is that preload.ts and main-process source are not in the packet, so the boundary cannot be verified directly. For user confirmation, only the Review tab's change review and AGENTS.md contributor safety rules (repo guidance, not product behavior) are visible; no product-level confirmation flow for destructive actions is shown, so user_confirmation scores 1. The verify-pi-gui skill shows credentials copied only into a mode-0700 private temp dir with a mode-0600 auth file and an explicit ban on printing it, so sensitive_data_handling scores 2; data_flow_transparency scores 2 because README explains session files as source of truth and credential sharing with the pi CLI. Dependency security has an authoritative pnpm-lock and CI --frozen-lockfile installs but no visible audit/vulnerability scan, so 2. External effects stay local to workspaces/worktrees and are gated by the Review tab, 2. Rollback covers fork/rewind, archive/restore, worktrees and per-file stage/unstage, 2. Source attribution is explicit in the README acknowledgements and MIT copyright, 2.

Reliability8 / 14 · 2.9/5

The README package layout matches package.json workspaces and the per-package index.ts files, and the Node version is consistent across README, skills and CI (22.19+/CI Node 22), so self_consistency scores 2. Dependency availability is supported by corepack, an authoritative pnpm-lock and frozen installs, 2. Failure messages are only evidenced by the skill's 'missing configuration exits 2', 'invalid credentials fail the run' and the Windows skill's ban on 'spawn pnpm ENOENT'; there is no systematic error-message design evidence, so failure_messages scores 1.

Adaptability12 / 18 · 3.3/5

README names the target users (pi users/developers) and scenarios (parallel threads, review, terminal, worktrees), so audience_and_scenarios scores 2. Capability boundaries are clear: not a separate agent, no native computer use, no custom endpoints requiring models.json, 2. Skill descriptions give precise triggers (when to use Windows verification, when to use core conversation verification), so trigger_precision scores 2. Platform support (macOS Apple Silicon/Linux x64/Windows x64) and the cosmetic macOS-style labels on Windows are documented, so environment_fit scores 2; the deduction is that environment fit relies on documentation rather than automatic detection and there is no guidance for non-developer users.

Convention11 / 18 · 3.1/5

README is well structured with install, quickstart, architecture, repository layout, development and acknowledgements, so information_architecture scores 2. Install notes cover all three platforms, signing status and the Homebrew trust step, so install_notes scores 3. The LICENSE file and package.json license agree, so license scores 3. Naming is consistent across workspace packages but there is no naming-stability commitment, so naming_stability scores 1. Quickstart and example extensions exist but there is no FAQ, so examples_and_faq scores 2. Known limitations (unsigned Windows builds, no native computer use, custom-endpoint limits) are listed, so known_limitations scores 2. Version 1.0.1 and Releases exist but there is no in-repo CHANGELOG, so versioning_changelog scores 1. Maintenance responsibility points to a single author, CONTRIBUTING content is not in the packet and the publisher is unverified, so maintenance_responsibility scores 1.

Effectiveness9 / 13 · 3.5/5

Product outputs (diff review, per-file stage/unstage, real terminal, worktrees) are usable for ordinary work, so output_usability scores 2. Marginal value over the pi CLI is clear (parallel threads, review, desktop integration) but the product is a shell rather than new agent capability, so marginal_value scores 2. Cost/benefit: Electron footprint and bring-your-own model credentials are costs traded for a desktop workflow; reasonable but unquantified, so cost_benefit scores 2.

Verifiability5 / 8 · 3.1/5

README claims trace to docs/architecture.md, docs/ci-baseline.md, media files and CI workflows, but without per-claim citations, so claim_traceability scores 2. Cross-source corroboration is decent: README package layout, scripts and platform claims agree with package.json, CI and test specs, so cross_source_corroboration scores 2. Fact/inference separation is handled: README distinguishes built-in from not-built-in (computer use is a separate MCP) and skills distinguish untested from failed, so fact_inference_separation scores 2.

Risks and how to mitigate them
  • Publisher identity is not verified by FollowAgents; maintenance rests on a single author, so the long-term maintenance and update path is uncertain.
  • preload.ts and main-process source are not in the packet; least-privilege and IPC boundaries are inferred from README and guard-script names rather than directly verified.
  • No dependency vulnerability audit or automated update mechanism is visible, and some dependencies use caret ranges.
  • Product-level confirmation flows for destructive actions (deleting session history, history rewrites) are not clear in the evidence.
  • There is no CHANGELOG, so version evolution is not traceable.
Evidence confidence: Low Reviewed Nov 25, 2026 Reviewed revision faf8edd6d7a7
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/pi-gui.svg)](https://followagents.com/en/agents/pi-gui)
<a href="https://followagents.com/en/agents/pi-gui"><img src="https://followagents.com/badge/pi-gui.svg" alt="FARS review"></a>

FAQ

Do I still need the pi CLI installed?
No. pi-gui brings the pi runtime with it, and sessions, models, auth and tools all run through pi; because it reads and writes pi's own session files and settings, anything you set up in the CLI carries over.
Which model providers are supported?
The README documents OAuth sign-in, pasting an API key, or pointing at a custom endpoint, with model and thinking level chosen per thread. No specific vendors are named, so what you get depends on the provider you connect.
Does my code leave the machine?
Prompts and the code they reference go to whichever provider you configure. Session transcripts stay on local disk as JSONL files, and the app uses the network to check for new releases.
Can the agent control my desktop or browser?
Not through pi-gui. Native computer use is not built in; it is available separately through the standalone computer-use-mcp server, which any MCP-capable agent can use.
Do scheduled tasks keep running when the app is closed?
No. Scheduled tasks rerun a prompt on a schedule while the app is open, so they depend on the desktop app being running.
Is pi-gui free?
The software is free, but pi-gui calls an AI model, and you pay that model provider for usage (or run a local model).
Is pi-gui open source?
Yes. The source code is on GitHub (minghinmatthewlam/pi-gui) under the MIT licence.
Is pi-gui safe to use?
FollowAgents' FARS review (Nov 25, 2026) scored pi-gui 18/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is pi-gui still maintained?
Yes. The latest commit on GitHub is from 2026-11-02, within the last 30 days.
Who makes pi-gui?
pi-gui is published on GitHub by the account minghinmatthewlam. FollowAgents has not verified which person or company is behind that account.
What is pi-gui's official website?
The project's GitHub repository lists https://www.pi-gui.com/ as its website. That link is set by the repository owner; the source code itself is on GitHub (minghinmatthewlam/pi-gui).
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts