@kkkiio/pi-web-ui0.4.0
Web UI for Pi coding agent — view and control your Pi session from the browser
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
Pi Web UI

An interactive agent UI for the Pi coding agent.
Install
Install from GitHub:
pi install git:github.com/kkkiio/pi-web-ui
Or from npm:
pi install npm:@kkkiio/pi-web-ui
Usage
- Start Pi in terminal
- Enter
/webuito start the server and open the browser.
Or add an alias to your shell:
# type `piw` to start Pi Web UI
alias piw='pi /webui'
Use /webui-stop to stop the server while Pi is running. The server will also stop when Pi exits.
See docs/configuration.md for environment variables, settings.json, and remote access setup.
Features
- Real-time bidirectional sync with Pi TUI
- Git Diff Panel
- Edit Message (inline rollback & resend; enabled by
/webui) - Add to Chat
- Git Diff Comment
- Generative UI (DIL)
- BTW / Ask in Side Chat
Generative UI
Pi uses Dynamic Interface Language (DIL) to show diagrams, side-by-side comparisons, and interactive previews in chat.

Git Diff
Review what the agent changed on disk without leaving the conversation.

How it works
Pi Web UI is a Pi extension. Running /webui starts an HTTP + WebSocket server inside the Pi process. The extension forwards Pi events to the browser, and browser commands execute through Pi's extension API.
graph LR
A[Pi TUI<br/>terminal] <-->|Pi events| B[Pi Process<br/>pi-web-ui extension]
B <-->|HTTP + WS :3001| C[Browser]