piagent_
← ~/map

$ cat ~/map/pi-web.md

Pi Web

Local web UI for Pi: browse sessions, chat in real time, and manage skills from your browser.

tools✓ Oct 16

Facts

repository
github.com/agegr/pi-web ↗
GitHub Stars
★ 7.4K
Forks
1.1K
license
MIT
npm / mo
—
last push
Oct 15, 2026

install

npx @agegr/pi-web@latest

## TL;DR

Local browser UI for pi that reuses pi's own configuration and session files — browse and resume conversations, run agent turns, manage models and skills, and inspect project files from the browser.

## Key points

## FAQ

Q Does it work with my existing pi sessions?

Yes. Pi Web reads pi data from ~/.pi/agent (override with PI_CODING_AGENT_DIR), so existing sessions, models, and credentials carry over — the Models panel uses pi's own storage.

Q Can I access it remotely?

It binds to 127.0.0.1 by default. Binding 0.0.0.0 exposes an agent with high-privilege execution, so require PI_WEB_PASSWORD (HTTP Basic Auth, user pi) on a trusted LAN, and put HTTPS or a VPN in front — never expose it over plain HTTP.

Q How do I run it on another port?

pi-web --port 8080 (or the PORT variable); --hostname/-H or PI_WEB_HOSTNAME changes the bind address, and --no-open skips the automatic browser.

## References

## Related entries

## Guides

Last updated: Aug 31, 2026