DLYZZT/pi-desktop
A local-first, cross-platform Electron desktop workspace for Pi Coding Agent, with sessions, project files, browser tools, skills, plugins, and messaging integrations.
What it solves
Pi Agent Desktop turns the Pi coding agent into a full graphical workbench. Instead of working only through a terminal, you get a desktop app with a session sidebar, a built-in browser, managed background processes, and integrations with messaging apps. It keeps everything local-first and reuses the existing Pi CLI data, so there is no need to migrate.
How it works
The app is built on Electron with a three-process architecture: a main process handles windows, menus, and supervision; an agent host runs the Pi agent in a separate utility process; and a React renderer provides the UI. Sessions and configuration live in ~/.pi/agent/, shared with the Pi CLI. The desktop app bundles the Pi agent runtime and can also reuse installed dev tools. It includes a shared browser (WebContentsView) that both the user and the agent can operate, managed dev processes with explicit tools, MCP service management, and messaging channels for WeChat, Telegram, and Feishu/Lark. The app avoids opening extra TCP ports for its own UI; only user-started managed project services may listen on loopback.
Who it’s for
Developers who want a richer interface for the Pi coding agent, especially those who need to run long-lived dev servers, browse web pages alongside the agent, manage multiple sessions, or receive agent interactions via messaging apps. It is also useful for teams that want to share an agent setup across a workstation without touching the system PATH or global config.
Highlights
- Local-first: no internal servers, data stays in
~/.pi/agent/. - Cross-platform: macOS, Windows x64, and Linux x64.
- Built-in browser with agent-controlled navigation, user takeover, and advanced mode with CDP capture.
- Managed dev processes for Vite, React, etc., with lifecycle control and crash recovery.
- MCP support for stdio and Streamable HTTP services, including OAuth.
- Auto routing between fast/strong models plus a decision model for complex questions.
- Image generation and multimodal inputs via Codemode.
- Messaging channels for WeChat, Telegram, and Feishu/Lark with attachments and voice.
- Skills, Plugins, and model/provider management, including OAuth flows.
Related
- Project
- Project
- Project
- Project