Skip to content

minghinmatthewlam/pi-gui

Repository files navigation

pi-gui

Experimental 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.

pi-gui demo

Status

  • Experimental
  • macOS-first desktop app
  • Public source repo, not currently configured for npm publication

What It Does

  • Opens local workspaces in a desktop shell
  • Lists and resumes pi sessions associated with each workspace
  • Creates new sessions and sends prompts through the pi runtime
  • Persists desktop UI state such as selected workspace, selected session, and composer draft

Prerequisites

  • Node.js
  • pnpm
  • A working pi runtime environment through @mariozechner/pi-coding-agent
  • Valid model/provider authentication supported by pi

Because this app wraps pi, you will need whatever auth and local setup pi itself requires before live agent runs will work.

Development

Install dependencies:

pnpm install

Run the desktop app in development:

pnpm dev

Build everything:

pnpm build

Run the default test suite:

pnpm test

Desktop 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.

Regenerate the README demo assets:

pnpm --filter @pi-gui/desktop demo:readme

Repository Layout

  • apps/desktop: Electron app and renderer UI
  • packages/session-driver: shared session driver types
  • packages/catalogs: lightweight workspace/session catalog state
  • packages/pi-sdk-driver: adapter from the desktop app to @mariozechner/pi-coding-agent

Known Limitations

  • The app currently relies on upstream pi behavior and local auth state.
  • Live end-to-end validation may require model credentials not stored in this repo.
  • Package manifests remain private: true; this repo is intended for source collaboration first.

Acknowledgements

License

MIT. See LICENSE.

About

Electron GUI app for the pi coding agent runtime

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages