BlackBeltTechnology/pi-agent-dashboard

Real-time web dashboard for pi coding-agent sessions. Multi-session view, live chat mirroring, integrated terminal, diff viewer, pi-flows execution, and mobile-first remote control via mDNS or zrok tunnel. Coexists with pi's TUI — doesn't replace it.

What it solves

Running multiple AI coding agents (pi) from the terminal means juggling several windows, losing track of what each session is doing, and having no simple way to interact with them from a phone or another machine. PI Dashboard puts every active pi session into one browser tab, so you can see live reasoning, send new prompts, watch token usage, and manage many agents at once, without needing to know the underlying CLI.

How it works

The dashboard is a web server (default port 8000) that connects to the pi agent system through a bridge extension. When you start pi, the bridge automatically launches the dashboard server, which mirrors all running pi sessions in real time over WebSockets. You can then open the URL in any browser, see a list of sessions grouped by folder and branch, click into one to watch its streamed messages, and type new commands back into the agent. The server also exposes endpoints for integrations (like Claude Code) and an MCP endpoint so external AI clients can drive sessions. Sessions can be spawned directly from the dashboard, either headless or in a tmux window, and you can force-stop them with a two-click soft-abort then kill escalation.

Who it’s for

This is built for developers and teams who use the pi coding agent (from the pi-mono project) and want a richer, more accessible way to operate multiple agent sessions. It suits CLI users who prefer a visual interface, power users who want advanced settings like custom LLM providers or tool overrides, and even non-technical operators who can use the pre-built Electron desktop app with no terminal or Node.js installation required. It is explicitly not compatible with "Oh My Pi" — it only works with pi.

Highlights

  • Live session mirroring: all active pi sessions appear with real-time streaming messages, token counts, costs, and context usage.
  • Bidirectional interaction: send prompts and commands from the browser, and use interactive ask_user dialogs that survive page refresh and server restart.
  • Workspace management: organize sessions by project folder, pin directories, drag-to-reorder, and browse historical sessions with lazy-loaded content.
  • OpenSpec integration: browse specs, view archive history, manage changes, and create new changes from the sidebar.
  • PromptBus architecture: unified routing for interactive prompts (confirm/select/input/editor/multiselect) across TUI, dashboard, and custom adapters.
  • Extension UI system: extensions can declare slash-command-triggered modal UIs as data, without writing React.
  • pi-flows integration: live flow execution dashboard with agent cards, graphs, and abort/auto controls.
  • Browser-based provider auth: sign in to Anthropic, OpenAI, GitHub Copilot, Gemini, and Antigravity from Settings; add custom LLM endpoints with a test button.
  • Package management: browse, install, update, remove, and move pi packages between global and project scopes from the UI.
  • Integrated terminal, diff viewer, and editor integration for a full dev workflow from the browser.
  • Network discovery and zrok tunnel for accessing the dashboard from other devices or exposing a public URL.
  • Cross-platform installs: Electron desktop app (macOS, Linux, Windows), npm package for CLI users, Docker container, and Claude Code plugin.
  • Simplified Chinese UI for the core operator workflow, switchable in Settings.

Related

  • Project
  • Project
  • Project
  • Project
  • Project