Pi Agent Desktop

A cross-platform desktop shell for the Pi coding agent — install it and start coding, no environment setup or terminal commands.

Stars
★ 945
Last updated
2d ago
FARS reviewed
Nov 25, 2026
License
MIT
Primary language
TypeScript

At a glance

How it runs
Desktop app
Works with
Portable with changes
Cost
Free software; you pay for model usage
Setup effort
Low · running in minutes
You'll need
Node.js 22Rust 1.85+WebKitGTK 4.1GTK 3Microsoft WebView2Xcode Command Line Tools (macOS)Microsoft C++ Build Tools (Windows)Shell / CLINetwork accessLocal filesystem
Typical use
Developers who already use Pi in a terminal and have sessions under ~/.pi/agent they want to browse and resume graphically.
Not a fit if
  • Users on Linux ARM or 32-bit systems outside the supported matrix
  • People who expect a global pi CLI to come with the app install
Website
pi.348580.xyz ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-23

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

pi-agent-desktop is a local AI coding agent packaged as a Tauri desktop application for macOS, Windows and Linux. It combines the agent capabilities of earendil-works/pi with the web interface of agegr/pi-web and ships the Next.js standalone server, a Node.js runtime and the current Pi SDK inside the app, so the local server starts with the window instead of from a terminal. By default it reads Pi's local data directory at ~/.pi/agent/, which means existing sessions, model configuration and authentication carry over after install; PI_CODING_AGENT_DIR points it elsewhere. The chat view surfaces thinking, tool calls, context usage, cost and compaction state in real time, and any earlier message can be resumed as a branch or forked into an independent session. Releases are produced by GitHub Actions that sync pi and pi-web daily and build signed installers for macOS 11+ (Apple Silicon and Intel), Windows 10/11 x64 and Linux x64 with WebKitGTK 4.1.

The Tauri shell launches the bundled Next.js server and opens it in a WebView authenticated with a per-process token; the UI talks to the Next.js APIs under app/api for agent, sessions, models, files and update checks. Sessions are read from ~/.pi/agent/sessions/<encoded-cwd>/<timestamp>_<uuid>.jsonl, grouped by project, resumable, and branchable or forkable from any past message. The app also manages models, OAuth/API keys, custom model configuration, skills and plugins, switches Git worktrees from the sidebar, and browses project files. Scheduled tasks replay a saved prompt in a new session hourly, daily, weekly, on a custom cron expression or once, run while the app is open even with its window hidden, default to read-only tools, catch up once after sleep and notify on success or failure. A preview pane renders source code, diffs, Markdown, images, audio, PDF and DOCX. Update checks hit the latest stable GitHub release at most every seven days and only enable the upgrade button when the installed build is older, then download one complete signed build.

  1. Developers who already use Pi in a terminal and have sessions under ~/.pi/agent they want to browse and resume graphically.
  2. Mac or Windows users who want a working coding agent locally without installing Node.js or learning CLI flags.
  3. Engineers who need to split long conversations into branches or fork a session to explore alternatives from an earlier message.
  4. Teams that want a saved prompt to run on a cron schedule in read-only mode — such as a daily repository check — with success and failure notifications.
  5. Full-stack or frontend developers who move between several Git worktrees and want files and diffs in the same window.
  6. Users on restricted networks who need model API calls and update checks to go through an HTTP(S) proxy.

Key setup facts

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

Install / run
  • brew install --cask pi-agent
Environment variables
PI_CODING_AGENT_DIR PI_WEB_PASSWORD
Runtime
Node.js 22 · Rust 1.85+
Install notes cover
Windows · macOS · Linux

How do you install or deploy this agent?

Download the official build from GitHub Releases for your platform.

On macOS, open the dmg for your architecture and drag the app into Applications:

# Apple Silicon
aarch64.dmg
# Intel Mac (available from 0.8.5)
x64.dmg

Homebrew users can install from this repository's tap:

brew tap abcwyc/pi-agent-desktop https://github.com/abcwyc/pi-agent-desktop
brew install --cask pi-agent

The first launch is blocked by Gatekeeper because the macOS build is not signed or notarized; allow it or clear the quarantine flag:

xattr -dr com.apple.quarantine "/Applications/Pi Agent.app"

On Windows x64, run the installer whose name ends in x64-setup.exe; it pulls in Microsoft WebView2 when missing. On Linux x64, install the .deb package with your distribution's package manager; WebKitGTK 4.1 and GTK 3 are required. A community-maintained Flatpak exists but is not an official release.

Building from source needs Node.js 22, npm and Rust 1.85+, plus GTK/WebKitGTK development packages on Linux:

npm install
npm run desktop:build

How do you use this agent?

Open the app after installing; the local server starts with it and no terminal is involved. If Pi has been used on this machine before, existing data is picked up automatically:

~/.pi/agent/

To use a different Pi agent directory, set the environment variable:

PI_CODING_AGENT_DIR=/path/to/pi-agent-dir

Configure models and OAuth/API keys in Settings, then chat in the session window; clicking an earlier message lets you branch from it or fork the session. The sidebar switches Git worktrees and browses project files. For a proxy, enable Settings › General › Network proxy, enter an address such as http://127.0.0.1:7890, and use Test connection.

For development:

npm run dev            # web dev server on 127.0.0.1:30141
npm run desktop:dev    # same dev server inside a native Tauri window
npm test               # Node tests
node_modules/.bin/tsc --noEmit
npm run lint

LAN access requires a password; without one the launcher refuses to bind beyond loopback:

PI_WEB_PASSWORD='choose-a-long-passphrase' npm run dev:lan

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
  • Bundles the Next.js standalone server, Node.js runtime and Pi SDK, so users never install Node.js or start a web server by hand.
  • Reuses existing Pi sessions, model configuration and authentication from ~/.pi/agent, making the move from CLI to desktop nearly free.
  • The session view shows thinking, tool calls, context usage, cost and compaction state side by side, with branching and forking from any past message.
  • Scheduled tasks default to read-only tools, catch up once after sleep and notify on success or failure, which limits unattended risk.
  • Upgrades download one complete signed build after syncing pi, pi-web and pi-agent-desktop in order, avoiding runtime incompatibilities from swapping dependencies individually.
  • The file-browsing API is scoped to the current session, the selected project and explicitly authorized working directories.
Limitations
  • The macOS build is neither signed with an Apple Developer ID nor notarized, so the first launch is blocked until the user allows it or runs the xattr command.
  • Official installers cover only macOS 11+, Windows 10/11 x64 and Linux x64 with WebKitGTK 4.1; other targets such as Linux ARM have no official build.
  • Installing the app does not provide a global pi command; terminal users still need to install the Pi CLI separately.
  • It is a desktop shell over Pi, so core capability depends on the earendil-works/pi and agegr/pi-web upstreams, and users must supply their own model credentials and pay for calls.
  • Updates replace the whole app; when upstream has shipped but the signed desktop release is not out yet, there is nothing to install.
  • Source builds are demanding — Rust 1.85+, Node.js 22 and platform toolchains — and locally built apps cannot accept official updates.

How does this agent compare with similar options?

The README positions the app as a packaged combination of earendil-works/pi (agent core) and agegr/pi-web (web interface), and contrasts it repeatedly with the Pi CLI: installing the desktop app does not bring a global pi command, so terminal users still install the Pi CLI separately.

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

Agent Source review Form / cost Stars Updated Language Full support on
Pi Agent Desktop This agent 55 · Major gaps Desktop appFree + model costs ★ 945 2d ago TypeScript —
PandaCode 67 · Some gaps — ★ 1.4k today TypeScript Codex · Claude Code · Claude.ai
Pi Web 57 · Major gaps CLIFree + model costs ★ 8.4k 4d ago TypeScript —
zerostack 69 · Some gaps CLIFree + model costs ★ 1.8k 1d ago Rust OpenAI API · Claude API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
55/ 100 5-point scale 2.8 / 5
Trust 18/29
Reliability 8/14
Adaptability 10/18
Convention 9/18
Effectiveness 7/13
Verifiability 3/8
Why each dimension lost points
Trust18 / 29 · 3.1/5

File access uses an explicit allow-list (session cwd, project roots, ~/pi-cwd-*, explicit allowFileRoot) and refuses credential stores like ~/.ssh, ~/.aws, ~/.pi/agent/auth.json; LAN mode refuses to bind beyond loopback without a password; the desktop WebView authenticates with a per-process token; dirty worktree removal returns 409 requiring confirmation; updates accept only signed complete builds and never fall back to unsigned files. Deductions: npm audit is advisory-only with continue-on-error, so dependency security is not gated; the MCP test route can start processes and run !command values, widening external effects despite validation; no independent third-party audit evidence.

Reliability8 / 14 · 2.9/5

CI covers lint, tsc, unit tests, e2e, Rust clippy on Linux and Windows, and a payload canary; error handling uses clear status codes (403/415/409/429). Deductions: many ^ ranges and a beta dependency (node-pty 1.2.0-beta.15); pi packages must be pinned exactly and AGENTS.md itself records past version mismatches; no lockfile evidence in the packet, so dependency availability is only partly confirmed.

Adaptability10 / 18 · 2.8/5

README states the macOS/Windows/Linux support matrix, Node 22, Rust 1.85+, WebKitGTK 4.1 requirements, and distinguishes desktop/Web/LAN scenarios; capability boundaries (not an IDE, extension-compatibility principle, out-of-scope list) are documented. Deductions: scheduled-task trigger precision depends on the app staying open and only catches up once after sleep, with cron semantics not detailed in the sample; no AGENTS.md manifest, so invocation boundaries are less explicit for agent users.

Convention9 / 18 · 2.5/5

README is well structured with per-platform install steps, Homebrew tap, Gatekeeper unsigned warning, and known limitations (not notarized, Intel from 0.8.5, unofficial Flatpak); MIT LICENSE present. Deductions: package.json name/version/repository point to agegr/pi-web rather than this repo, so naming and attribution are inconsistent; no CHANGELOG; maintenance responsibility rests on an unverified publisher plus upstream sync automation, leaving ownership unclear; few FAQ entries and examples.

Effectiveness7 / 13 · 2.7/5

The product packages pi capabilities into a desktop app with session browsing, branching, model/key management, worktrees, scheduled tasks, and file previews, giving high output usability and clear marginal value for users who avoid terminals. Deductions: it is essentially a desktop wrapper over pi + pi-web, so marginal value depends on upstream; cost is higher due to full signed builds and a bundled Node runtime, and the sample gives no performance or resource data.

Verifiability3 / 8 · 1.9/5

README claims can be cross-checked against code and CI (loopback binding, token auth, credential-path refusal, payload canary), and some claims have supporting files. Deductions: most security and update claims are documentation self-assertions without test output or third-party verification in the sample; publisher identity is unverified, limiting provenance traceability; facts and inferences are not strictly separated in the docs.

Risks and how to mitigate them
  • Publisher identity is unverified by FollowAgents and package.json still points to agegr/pi-web; attribution and maintenance responsibility need independent confirmation.
  • macOS builds are unsigned and not notarized, requiring Gatekeeper bypass on first launch, which carries supply-chain trust risk.
  • npm audit is advisory-only and does not block merges, so dependency security is not gated; the tree includes a beta dependency and many ^ ranges.
  • MCP testing and scheduled tasks can start processes, run commands, or execute on a schedule; verify external effects and permission boundaries.
  • LAN/remote-access modes expose shell and file access; always set a strong password and place behind HTTPS or a VPN.
Evidence confidence: Low Reviewed Nov 25, 2026 Reviewed revision 79d74598d010
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-agent-desktop.svg)](https://followagents.com/en/agents/pi-agent-desktop)
<a href="https://followagents.com/en/agents/pi-agent-desktop"><img src="https://followagents.com/badge/pi-agent-desktop.svg" alt="FARS review"></a>

FAQ

Do I need to bring my own model credentials?
Yes. The app provides model and OAuth/API key management, but access to models comes from credentials you supply and pay for; the README lists no bundled free model quota.
Will installing it overwrite my existing Pi data?
No. It reads ~/.pi/agent/ by default and reuses existing sessions, models and authentication, and even brew uninstall --cask --zap leaves ~/.pi untouched.
Why does macOS say the app is damaged or from an unverified developer?
The macOS build is not signed with an Apple Developer ID or notarized. Choose Open Anyway in System Settings › Privacy & Security, or run xattr -dr com.apple.quarantine "/Applications/Pi Agent.app".
Do scheduled tasks keep running after the app is closed?
No. They run only while the app is open, even if the window is hidden; after a sleep they catch up once, and they default to read-only tools.
Can other machines on my LAN open this UI?
In development mode, only if PI_WEB_PASSWORD is set — otherwise the launcher refuses to listen beyond loopback. Because it can run shell commands as you, the README recommends putting it behind HTTPS or a trusted VPN.
Is Pi Agent Desktop free?
The software is free, but Pi Agent Desktop calls an AI model, and you pay that model provider for usage (or run a local model).
Is Pi Agent Desktop open source?
Yes. The source code is on GitHub (abcwyc/pi-agent-desktop) under the MIT licence.
Is Pi Agent Desktop safe to use?
FollowAgents' FARS review (Nov 25, 2026) scored Pi Agent Desktop 18/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is Pi Agent Desktop still maintained?
Yes. The latest commit on GitHub is from 2026-11-23, within the last 30 days.
Who makes Pi Agent Desktop?
Pi Agent Desktop is published on GitHub by the account abcwyc. FollowAgents has not verified which person or company is behind that account.
What is Pi Agent Desktop's official website?
The project's GitHub repository lists https://pi.348580.xyz as its website. That link is set by the repository owner; the source code itself is on GitHub (abcwyc/pi-agent-desktop).
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