Skip to content

V1.0.0

Choose a tag to compare

@NerdAtWork24X7 NerdAtWork24X7 released this 06 Oct 20:03
· 115 commits to main since this release

🔭 Pi Scope v1.0.0 — First Official Release

Watch an AI coding agent think, type, and act — live, locally, and replayable.

Pi Scope is a control room for AI coding agents. It streams everything your agent does —
every message, tool call, shell command, and file edit — into a browser dashboard you can
watch live over SSE (no refresh) or replay later like a movie of your agent's brain.

This is the first official release. Everything ships as a single Linux file: no
npm install, no node on the host, no account, and nothing leaves your machine.


✨ What's inside

📦 Zero-install AppImage

Pi-Scope-1.0.0.AppImage — Electron shell + bundled Node 24 (required for
node:sqlite, with node-pty compiled against that ABI) + the bundled SCOPE server.
Run it, and you have a working control room.

🧩 Plugin architecture

Every feature is a plugin: a directory with a plugin.json manifest, an optional server
entry, and an optional browser bundle. The host discovers built-ins plus anything you drop in
~/.pi/scope/plugins, persists enable/disable state, and refuses the HTTP routes of a
disabled feature plugin
— toggling a plugin off removes its surface area, not just its nav
item.

Plugin What it gives you
Chat Talk to your agent, manage workspaces and the agent team, stream turns live
Terminal A real shell on the agent host, embedded in the browser over WebSocket
Review Scan the working tree, diff any file side by side, edit it in place
Checkpoints Git-backed save points — label a moment, restore it with one click
Git Full git client: stage, commit, history graph, branches, stashes, remotes
Single The forensic event timeline for a session, live over SSE
Trajectory Events folded into turns with per-record time / cost / token columns
Settings Agent, teams, models, skills, API keys and plugins (core)

Write your own — the full runnable guide is in
apps/scope-server/plugins/README.md.
Plugins get a small, stable API: api.route, api.onEvent, api.store, api.log.
The host itself is dependency-free (node:fs / node:path / node:url only).

🚀 One-command launch

./Start.sh              # desktop app (Electron window, default)
./Start.sh --web        # headless server + open the WebUI in your browser
./Start.sh --server     # headless server only, stays in the foreground
./Start.sh --dev        # server with --watch

Extra flags: --keep-server, --port, --host, --db, --token. The server starts
at most once — if one is already healthy on the target port, its token is adopted instead of
a second instance being spawned. Ctrl-C shuts down only a server that this script started.

⏱ Forensics you can act on

  • Single — a live, time-ordered feed of every event: user messages, assistant replies,
    thinking blocks, tool calls and results, errors, compactions, model switches. Click any row
    for the full JSON payload. A stats bar shows cost, tokens in/out, cache reads/writes,
    throughput, prefill time and context usage.
  • Trajectory — the same run folded into turns, with per-record time, cost and token
    columns, for spotting where the time and the tokens actually went.
  • Chat — steer a live run mid-flight, pick a model and thinking level, toggle agent
    skills, and dispatch work to your agent team without touching a terminal.
  • Terminal, Review, Checkpoints, Git — a real shell, in-place file editing, one-click
    restore points, and a full git client, all from the same screen.

📱 Phone access via QR

The header renders a QR code that puts a phone on the same network straight onto your live
dashboard — no typing URLs, no account, still entirely local.

🎨 Interface

Reworked navigation rail, rebuilt Trajectory view, refreshed Chat, and a substantial
stylesheet pass (≈1,300 lines changed) — including bundled MesloLGS Nerd Font Mono and
Noto Color Emoji, so terminal and code panes render identically everywhere. Dark and
light themes, one click apart.

🔐 Private by design, and hardened

Nothing is uploaded and no account is required — unlike cloud LLM tracers, and unlike a plain
terminal log, Pi Scope lets you act, not just observe. Code-scanning findings from the
automated alerts are fixed, including information exposure through a stack trace.


💻 Install

chmod +x Pi-Scope-1.0.0.AppImage
./Pi-Scope-1.0.0.AppImage

Requirements: Linux x86_64. Nothing else — Node 24 is bundled.

The app relaunches itself into ~/.local/share/pi-scope/ and never writes into the
read-only AppImage mount. Closing the window stops the server; if a server is already
listening on the port, the AppImage adopts it instead of starting a second one.

To use Pi Scope with the pi coding
agent, point it at this project's extension. Any tool that POSTs events to the /events
endpoint can feed Pi Scope too.

🔨 Build it yourself

./build-release.sh     # -> apps/scope-desktop/dist/Pi-Scope-<version>.AppImage

Bundles the SCOPE server (TS → JS via esbuild), copies the WebUI, provisions the portable
Node runtime, runs electron-builder for the AppImage target, then cleans up intermediates.


🧩 Your first plugin, in 30 seconds

mkdir -p ~/.pi/scope/plugins/hello
cat > ~/.pi/scope/plugins/hello/plugin.json <<'JSON'
{
  "id": "hello",
  "name": "Hello",
  "description": "A user plugin.",
  "version": "1.0.0",
  "serverRoutes": ["/hello"]
}
JSON

Restart Pi Scope, open Settings → Plugins, enable it. The complete guide — client
bundles, server entries, event hooks and the namespaced store — is in the plugins README
linked above. Point SCOPE_PLUGINS_DIR somewhere else if you'd rather keep them in-repo.


📝 Notes for source installs

  • Monorepo layout: apps/scope-server (server, WebUI, plugins) and apps/scope-desktop
    (Electron launcher + build config).
  • Set SCOPE_PLUGINS_DIR to relocate the user plugin directory (default
    ~/.pi/scope/plugins); enable/disable state lives in plugins.json there.
  • Per-machine launcher settings are optional in apps/scope-desktop/scope.env — see
    scope.env.example.
  • Full docs: README · plugin authoring
    guide.

📄 License

MIT.


Pi Scope is an actively extended,
Thanks to everyone who reported issues and sent patches — issues and discussions are open. Let's build
the next one together. 🚀