AI product Open source

Pi Web

Pi Web is an open-source local browser interface for the Pi coding agent, developed in the agegr/pi-web repository. It uses Pi’s local configuration and session files, allowing users to browse, resume, rename, export, delete, and branch project-grouped conversations; run agent turns; and inspect running state, context usage, costs, and compaction details. New sessions create independent session files, while “Edit from here” creates a branch within the current session.

View repository Mentioned in 2 videos ↓

Overview

Its project workspace supports file browsing and uploads, Git diff inspection, automatic previews for source files, Markdown, images, audio, PDFs, and DOCX files, and Git worktree switching. Configuration panels manage provider logins and API keys, models and model tests, plugin packages, and skills. The interface supports English, Simplified Chinese, and Traditional Chinese, follows the browser language initially, and includes a language switcher.

Pi Web is distributed through the `@agegr/pi-web` npm package, requires Node.js 22.19.0 or newer, and listens on `127.0.0.1` by default. Remote binding and HTTP Basic Authentication are available, but the documentation warns that Basic Auth does not encrypt credentials in transit and that the service should not be exposed over plain HTTP without a trusted reverse proxy or VPN. It reads Pi agent data from `~/.pi/agent` by default, shares Pi’s model, settings, and credential storage, and limits file browsing to known project or session roots rather than providing general filesystem access.

What Pi Web is used for

3 uses taken from transcripts — each links to the moment in the video.

  • An open-source local web interface for the Pi coding agent. It provides browser-based access to sessions, project conversations, file previews, session forking, context and cost information, model settings, skills, and API keys.

  • A local web interface for the Pi coding agent that turns terminal sessions into a readable browser workspace. It lets developers browse, continue, and fork sessions while previewing project files and managing models, API keys, and skills.

  • Provides a local browser workspace for Pi coding-agent sessions, with searchable project conversations, session forking, file previews, model and API-key management, and skills management.

Videos mentioning Pi Web

2 in the library.