Electron desktop shell for pi sessions.
This repo packages a desktop UI around @mariozechner/pi-coding-agent. It is not a standalone coding agent runtime. The app depends on the upstream pi package for session management, model/auth setup, and agent execution.
- Beta (macOS arm64, Linux AppImage)
- Public source repo
Download the latest .dmg or .AppImage from Releases.
Signed and notarized beta releases are the primary direct install path. Drag pi-gui.app into /Applications, then launch it normally.
Linux releases ship as AppImages.
To update a DMG install, download the latest release and replace the app in /Applications.
Install from minghinmatthewlam/homebrew-tap:
brew tap minghinmatthewlam/tap
brew install --cask pi-guiTo update a Homebrew install:
brew upgrade --cask pi-guiHomebrew upgrades may behave more like reinstall than in-place patching on macOS. During beta, you may need to re-confirm Dock placement or some permission prompts after upgrading.
See Development below. Source install is intended for contributors and local development, not the primary end-user install path.
- Opens local workspaces in a desktop shell
- Lists and resumes
pisessions associated with each workspace - Creates new sessions and sends prompts through the
piruntime - Persists desktop UI state such as selected workspace, selected session, and composer draft
- Valid model/provider authentication supported by
pi
On first launch, go to Settings > Providers to connect your AI provider via OAuth.
Install dependencies:
corepack enable
pnpm installRun the desktop app in development:
pnpm devBuild everything:
pnpm buildRun the default test suite:
pnpm testDesktop E2E lanes and setup are documented in apps/desktop/README.md. The default desktop test command runs the core lane; use pnpm --filter @pi-gui/desktop run test:e2e:all when you need core, live, and native.
Package a Linux AppImage locally:
pnpm --filter @pi-gui/desktop run package:linuxProduction-like packaged-app checks:
pnpm --filter @pi-gui/desktop run test:prod:packaged-smokeRelease automation expects these GitHub Actions secrets for signed/notarized macOS builds:
CSC_LINKCSC_KEY_PASSWORDAPPLE_API_KEYAPPLE_API_KEY_IDAPPLE_API_ISSUER
Regenerate the README demo assets:
pnpm --filter @pi-gui/desktop demo:readmeapps/desktop: Electron app and renderer UIpackages/session-driver: shared session driver typespackages/catalogs: lightweight workspace/session catalog statepackages/pi-sdk-driver: adapter from the desktop app to@mariozechner/pi-coding-agent
- The app currently relies on upstream
pibehavior and local auth state. - Live end-to-end validation may require model credentials not stored in this repo.
- Homebrew beta upgrades may require macOS to re-confirm some app permissions or Dock placement.
- Built on top of
@mariozechner/pi-coding-agent - Upstream runtime and ecosystem by
badlogic/pi-mono
MIT. See LICENSE.
