Open Source · Local-First · macOS · Windows · Linux

Put AI Agent
on your desktop

Pi Agent packs the full power of the pi coding agent into one elegant desktop app.
Browse sessions, chat in real time, and manage models & Skills — all your data stays on your machine.

Pi Agent is an open-source, local-first desktop app for macOS (Apple Silicon), Windows 10/11 x64, and major Linux distros. It wraps the open-source pi coding agent in a graphical interface, letting you browse and resume agent sessions, watch tool calls and cost in real time, manage models and Skills/Plugins, switch Git worktrees, and preview generated files. Model keys and session data are stored only on your machine — no cloud account, no telemetry upload — and the code is released under the MIT License.

Free & open source · MIT License · macOS 11+ (Apple Silicon), Windows 10/11 x64 & major Linux distros · Bundled Node.js runtime, zero setup required

Features

Everything the terminal has.
Plus everything it doesn't.

No more digging through terminal history and .jsonl files — every Agent session you've ever had, fully organized.

Real-time chat, fully transparent

Watch reasoning, tool calls, context usage, cost, and compaction status live as you chat with the Agent. Every step is visible.

Sessions as assets

Browse and resume past sessions by project, branch from any message, or fork off an independent session.

Model & key management

Manage models, OAuth / API keys, and custom model configs — switch Skills and Plugins anytime.

Git worktree switching

Switch worktrees and browse project files right in the sidebar — the Agent stays seamlessly connected to your codebase.

Details, done right

Dark mode, auto-named sessions, completion chimes, run-state recovery — every desktop touch you'd expect.

Preview anything

Source, diffs, Markdown, images, audio, PDF, DOCX — open and view any file the Agent produces without leaving the app.

One-click signed upgrades

Automatically checks weekly for stable releases across all three component projects — one button for a fully signed upgrade and restart.

Demo

Command your Agent, like chatting

Type a sentence and Pi Agent researches, codes, and organizes files for you — fully visible the whole way.

Pi Agent Running · Common-File
Waiting to generate…

Privacy

Your data,
stays on your machine

Model keys and session data live locally in ~/.pi/agent/. The file-browsing API only allows access to the current session, the selected project, and explicitly authorized working directories — no cloud account, no telemetry upload.

  • Keys & sessions stored 100% locally
  • File access scope requires explicit authorization
  • Compatible with existing Pi CLI data — works right after install

Open Source

Three open-source projects, one complete product

The exact component versions in every release are recorded and viewable anytime in App settings.

Get started now

Ready to run: the bundled Next.js server and Node.js runtime start the local service automatically when you open the app.
Supports macOS 11+ (Apple Silicon), Windows 10/11 x64, and major Linux distros (.deb).

Need the Pi CLI in your terminal? See the pi project to install it separately.