
Security News
Feross on TBPN: Socket's Series C and the State of Software Supply Chain Security
Feross Aboukhadijeh joins TBPN to discuss Socket's $60M Series C, 500%+ ARR growth, AI's impact on open source, and the rise in supply chain attacks.
@agegr/pi-web
Advanced tools
pi 编程智能体 的网页界面。在浏览器中浏览会话、与智能体对话、分叉对话、切换消息分支。
无需安装,直接运行:
npx @agegr/pi-web@latest
或全局安装后使用:
npm install -g @agegr/pi-web
pi-web
启动后打开 http://localhost:30141。
可选参数:
pi-web --port 8080 # 自定义端口
pi-web --hostname 127.0.0.1 # 仅本机访问
pi-web -p 8080 -H 127.0.0.1 # 组合使用
PORT=8080 pi-web # 也支持环境变量
~/.pi/agent/sessions 下的会话文件。可通过环境变量 PI_CODING_AGENT_DIR 指定其他目录。models.json 读取可用模型,可在侧边栏的「Models」面板中编辑。npm install
npm run dev # 端口 30141
app/
api/
sessions/ # 读写会话文件
agent/ # 发送命令、SSE 事件流
files/ # 文件内容读取
models/ # 可用模型列表与默认模型
models-config/ # 读写 models.json
components/ # UI 组件
lib/
session-reader.ts # 解析 .jsonl 会话文件
rpc-manager.ts # 管理 AgentSession 生命周期
normalize.ts # 规范化 toolCall 字段名
types.ts
会话文件存储路径:~/.pi/agent/sessions/<编码后的工作目录>/<时间戳>_<uuid>.jsonl
FAQs
Web UI for the pi coding agent
The npm package @agegr/pi-web receives a total of 2,231 weekly downloads. As such, @agegr/pi-web popularity was classified as popular.
We found that @agegr/pi-web demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Feross Aboukhadijeh joins TBPN to discuss Socket's $60M Series C, 500%+ ARR growth, AI's impact on open source, and the rise in supply chain attacks.

Security News
OSV withdrew 157 OSV malware reports after automated false positives incorrectly flagged trusted npm and PyPI packages, sending bad records into tools that rely on OSV data.

Research
/Security News
TrapDoor crypto stealer hits 36 malicious packages across npm, PyPI, and Crates.io, targeting crypto, DeFi, AI, and security developers.