agegr/pi-web

Web UI for the pi coding agent

What it solves

Pi Web provides a graphical user interface (GUI) for the pi coding agent, allowing users to interact with the agent through a web browser rather than a command-line interface. It enables users to visually manage conversations, project files, and model configurations in a centralized workspace.

How it works

Pi Web acts as a local server that reads the same configuration and session files used by the pi coding agent (typically located in ~/.pi/agent). It synchronizes with the agent's data, allowing users to resume conversations, run agent turns, and modify settings. It includes a built-in file browser and Git integration to inspect project files and diffs directly from the browser.

Who it’s for

Developers who use the pi coding agent and prefer a visual interface for managing their AI-assisted coding sessions, project files, and API configurations.

Highlights

  • Session Management: Browse, rename, export, and delete conversations grouped by project, with visibility into context usage and costs.
  • Branching Capabilities: Create independent new sessions or branch existing conversations from specific messages.
  • Integrated File Tools: Preview source code, Markdown, images, PDFs, and DOCX files, and inspect Git diffs with automatic refresh.
  • Git Worktree Support: Switch between different Git checkouts via a sidebar while keeping sessions grouped by repository.
  • Web-based Configuration: Manage API keys, model providers, and plugin packages directly through the UI.

Related

  • Project
  • Project
  • Project
  • Project
  • Project