pi-web Gives the 75K-Star pi Coding Agent a Browser UI - No Terminal Required
The pi coding agent has 75,180 GitHub stars, an active community, and a CLI that serious developers swear by. But CLI-only tools create a hard ceiling for adoption. Not everyone wants to live in their terminal. pi-web, a new open source project from developer agegr, solves this by wrapping pi in a full browser workspace - and it hit 1,892 stars in four months because the developer experience gap it fills is real.
What Is pi-web?
pi-web is a local web UI for the pi coding agent. It reads your existing pi session files from ~/.pi/agent/sessions/ and displays them in a structured, browsable workspace in your browser. You get session history, real-time chat, model configuration, skill management, and project file preview - all without leaving your browser.
The underlying pi coding agent (by earendil-works, previously known as badlogic/pi-mono) is an AI agent toolkit that provides a unified LLM API, agent loop, TUI, and coding agent CLI. It competes directly with tools like Claude Code, Cursor's agent mode, and Codex CLI. What sets pi apart is its monorepo design - it is not a single tool but a toolkit you can build on top of. pi-web is the first major example of what that extensibility enables.
The trigger for pi-web's growth is straightforward. As more teams adopted pi for daily coding work, the CLI session browser became a bottleneck. Scrolling through terminal history to find a conversation from yesterday is painful. pi-web makes those sessions searchable, forkable, and visually organized.
Key Features That Matter
| Feature | pi CLI | pi-web |
|---|---|---|
| Session browsing | Terminal history only | Sidebar with project grouping, search, timestamps |
| Fork sessions | No | Fork any message into a new session branch |
| Model config | JSON edits in terminal | Visual model selector, test models, API key management |
| Skill management | Terminal commands | List, install, enable/disable via UI |
| File preview | cat/vim only | Source, diff, images, audio, PDF, DOCX inline |
| Git worktree integration | Manual git commands | Sidebar worktree switcher, auto-follow |
| Session context info | Not visible | Token usage, cost, compaction state in top bar |
The table makes it clear: pi-web is not a replacement for the CLI. It is a companion that handles the parts terminals do poorly - browsing, searching, configuring, and visualizing. The CLI still wins for speed. The web UI wins for everything else.
Why This Matters for the Coding Agent Market
The coding agent space is crowded. Cursor, Claude Code, Codex CLI, Cline, Aider - each has its own approach. pi's bet was always different: build a toolkit, not a product. By keeping pi-mono as a modular core, the project enables third-party interfaces like pi-web to emerge without forking the main codebase.
This matters because the CLI-first model has a natural ceiling. The most productive developers will always be comfortable in a terminal. But the next wave of AI-assisted coding users will not be. They come from VS Code, from Cursor, from environments where visual context matters. A project that only offers CLI access limits its own adoption curve.
pi-web's growth - 298 stars in a single day when it trended - suggests the demand for web-based agent interfaces is real. The project is MIT licensed, so anyone can self-host it or contribute. The architecture is standard Next.js with TypeScript, running locally on port 30141 by default. You can try it in one command: npx @agegr/pi-web@latest.
How to Get Started
If you already use pi, pi-web will pick up your existing sessions automatically. The install is minimal:
One-shot (no install): npx @agegr/pi-web@latest - then open http://localhost:30141
Global install: npm install -g @agegr/pi-web && pi-web
The tool reads from ~/.pi/agent/sessions/ by default. You can override with the PI_CODING_AGENT_DIR environment variable. It works across git worktrees, preserves session history, and lets you fork sessions without duplicating files.
One caveat: pi-web is still early. Version 1.0 has not been tagged yet. The feature set is solid for browsing, chat, and config, but advanced pi features like custom tools and multi-agent orchestration are not exposed in the UI yet. Check the GitHub issues for the roadmap.
What This Means for Founders
If your engineering team uses AI coding agents daily, pi-web is worth a look for one reason: session visibility. When developers can browse, fork, and search past agent conversations, the tribal knowledge that usually gets buried in terminal history becomes accessible. New hires can see how senior engineers solved problems. Common failure patterns (wrong model, wrong prompt structure) can be identified across the team.
For founders evaluating the coding agent space, pi's toolkit approach is a strategic signal. The market is moving toward modular, composable AI toolchains rather than monolithic IDEs. pi-web demonstrates that the OSI model for developer tools - separate layers for agent core, UI, config, and deployment - is viable. Investing in tools built on this architecture reduces lock-in risk and makes it easier to swap components as the ecosystem evolves.
Try running npx @agegr/pi-web@latest on your next project. If you find yourself reaching for it regularly, that is your signal to commit.
Disclosure
Some of the links in this article are affiliate links. If you sign up through these links, we may earn a small commission at no extra cost to you. This helps us keep The Break Daily free for everyone.

