pi-studio
v0.5.6
Published
Browser GUI for structured critique workflows in pi
Readme
pi-studio
Experimental extension for pi that opens a local browser workspace with editor and response panes for interacting with pi: annotating model responses/files, running edited prompts, requesting critiques, browsing history, and rendering previews.
Screenshots
Dark

Light

What it does
- Opens a two-pane browser workspace: Editor (left) + Response/Thinking/Editor Preview (right)
- Runs editor text directly, or asks for structured critique (auto/writing/code focus)
- Browses response history (
Prev/Next) and loads either:- response text
- critique notes/full critique
- assistant thinking (when available)
- the prompt that generated a selected response
- Supports an annotation workflow for
[an: ...]markers:- inserts/removes the annotated-reply header
- shows/hides annotation markers in preview
- strips markers before send (optional)
- saves
.annotated.md
- Renders Markdown/LaTeX/code previews (math + Mermaid), theme-synced with pi
- Exports right-pane preview as PDF (pandoc + LaTeX)
- Shows model/session/context usage in the footer, plus a compact-context action
Commands
| Command | Description |
|---|---|
| /studio | Open with last assistant response (fallback: blank) |
| /studio <path> | Open with file preloaded |
| /studio --last | Force last response |
| /studio --blank | Force blank editor |
| /studio --status | Show studio server status |
| /studio --stop | Stop studio server |
| /studio --help | Show help |
Install
# npm
pi install npm:pi-studio
# GitHub
pi install https://github.com/omaclaren/pi-studioRun once without installing:
pi -e https://github.com/omaclaren/pi-studioNotes
- Local-only server (
127.0.0.1) with rotating tokenized URLs. - Studio is designed as a complement to terminal pi, not a replacement.
- Editor/code font uses a best-effort terminal-monospace match when the current terminal config exposes it; set
PI_STUDIO_FONT_MONOto force a specific CSSfont-familystack. - Full preview/PDF quality depends on
pandoc(andxelatexfor PDF):brew install pandoc- install TeX Live/MacTeX for PDF export
License
MIT
