Open Source · Self-Hosted · Persistent

A complete workspace for your coding agent.

Pi WebUI gives the Pi coding agent a persistent, multi-device workspace for conversations, code, terminals, tasks, memory, and Git workflows.

Documented install paths
$ npm install -g @xianzhon/pi-webui && pi-webui
Pi WebUI · Git Bugfix & Worktree Workflow
Persistent Sessions
Self-Hosted Runtime
Git Worktree Support
Desktop & Mobile UI

Interactive Overview

Explore the Workspace

Click through key subsystems to see how Pi WebUI orchestrates complex agent loops.

3-Panel Unified Workspace

Chat in the center, directory tree and session history on the left, file editor and diff previews on the right.

Pi WebUI Workspace screenshot

Deep Feature Set

Crafted for Serious Software Engineering

Every tool you need to guide autonomous agents without losing context or safety.

Core UI

Three-Panel Workspace

Keep your conversation grounded in the repository. Full multi-tab terminal, live Markdown renderer, syntax-highlighted code editor, and file inspector in one window.

Terminal and diff viewer
Git Native

Worktree Isolation

Test speculative refactors in isolated Git worktrees without touching your active branch or unstaged changes. Copy uncommitted config files automatically.

Session Creation Dialog
Productivity

Intelligent Task Queue

Stash follow-up tasks without derailing your current session. Use AI prompt polishing to refine loose thoughts into concrete specifications before queuing.

Task Queue view
Context

Project & Global Memory

Never repeat your coding standards. Automatically extract and pin project constraints, linter rules, and testing strategies across multi-session lifecycles.

Project Memory Center
Multi-Model

Profiles & Key Routing

Switch between OpenAI Codex, Claude, DeepSeek, or local LLMs on the fly. Each profile maintains isolated API keys, proxies, and session histories.

Profile Settings
Ecosystem

Gateways & Remote Access

Connect GitHub or Gitea remotes directly to agent actions. Interact remotely with your workstation through secure Feishu and WeChat messaging gateways.

Git and Gateway Settings

More to explore

Small details that make the workspace useful.

See how sessions, the composer, and the editor fit around the agent conversation.

Sessions & skills

Start with the right context

Search past sessions, choose a workspace, and decide which skills are available to the agent.

Custom skills selection for a new session
Composer

More than a text box

Reference files, use workflow commands, polish a prompt, or attach an image without leaving the conversation.

Pi WebUI message composer with commands and attachments
Editor & files

Keep the work in view

Open referenced files, preview Markdown or images, inspect diffs, and focus the editor when needed.

Pi WebUI editor with Markdown preview

Complete feature tour

See the rest of the workspace.

Explore the smaller screens and settings that support the everyday agent workflow.

Sessions

Find and resume

Search across session history and continue work from where the conversation stopped.

Session search in Pi WebUI
Task queue

A home for unfinished thoughts

Keep future work visible without interrupting the session you are currently working in.

Empty Pi WebUI task queue
Task queue

Turn a thought into a task

Choose the project, model, skills, and session destination for a new task.

New task dialog in Pi WebUI
Task queue

Keep the trail connected

Completed work links back to its session and any related GitHub or Gitea issue.

Completed tasks with session and issue links
Profiles

Switch operating modes

Keep provider-specific environments separated and change profiles without mixing session histories.

Pi WebUI agent profile switcher
Profiles

Start clean or copy wisely

Create a new profile from scratch or copy configuration without bringing along old session history.

Create agent profile dialog
Editor

Make room for the details

Maximize the editor for a focused review or editing session, then return to the workspace.

Pi WebUI maximized editor
Settings

Make it yours

Set the everyday defaults that shape the workspace around your habits.

General Pi WebUI settings
Settings

Shape the conversation

Adjust chat behavior, notifications, and streaming preferences for your workflow.

Pi WebUI chat settings
Settings

Keep your hands moving

Review the keyboard shortcuts that make session navigation and editing faster.

Pi WebUI keyboard shortcut settings
Settings

Build focused presets

Keep a small, intentional skill set for simple work and richer presets for demanding projects.

Pi WebUI skill presets settings
Gateways

Meet your work where it is

Configure supported messaging gateways for a focused remote workflow.

Pi WebUI gateway settings

Self-hosted by design

How Pi WebUI fits together

Run the web interface and agent on a machine you control, then connect from the devices you use.

💻

Local Workstation

Your repositories, Git worktrees, and shell environments are available on the machine running Pi WebUI.

⚙️

Pi Agent Engine

The backend connects the Pi agent with sessions, terminals, tasks, memory, and workspace tools.

📱

Multi-Device WebUI

Use a desktop browser, tablet, or phone. Authentication and remote access can be configured for your setup.

A clear mental model

One workspace, close to the work.

Pi WebUI brings the parts of an agent workflow together without hiding how the system is run.

Part of the workflow What Pi WebUI provides Where it runs
Agent sessions Resume conversations and run background tasks Pi WebUI backend
Repository work Browse files, terminals, diffs, and Git worktrees Your workspace machine
Long-term context Keep project and global memories available across sessions Configured Pi WebUI storage
Remote use Open the responsive interface from another device Your network and access setup

Get Started Now

Give your Pi Agent a permanent cockpit.

Install the npm package, configure your credentials, and start the workspace on your own machine.

npm install -g @xianzhon/pi-webui && pi-webui