@yibie: 最近 Pi 生态出了几个值得关注的扩展。pi-discuss-mode 让你和 agent 对话时不用担心误操作;Pi Exa 给 Pi 接上了网页搜索;pi-workflow 用 JSON spec 标准化多 agent 工作流。做一个…
摘要
介绍了 Pi 生态中几个值得关注的扩展,包括安全讨论模式、网页搜索、多 agent 工作流编排以及模型用量可视化工具。
查看缓存全文
缓存时间: 2026/07/15 15:57
最近 Pi 生态出了几个值得关注的扩展。pi-discuss-mode 让你和 agent 对话时不用担心误操作;Pi Exa 给 Pi 接上了网页搜索;pi-workflow 用 JSON spec 标准化多 agent 工作流。做一个合集记录。
Pi 扩展小合集
pi-discuss-mode——和 Agent 安全地讨论
让 Pi 进入“仅讨论“模式。agent 可以读代码、回答问题、做建议,但被限制执行任何会修改文件或运行危险命令的操作。比 “plan mode” 更轻——plan mode 强制产出计划,而 discuss mode 让你安全地问“这个代码库是怎么工作的“。
/ discuss # 开启 / discuss # 再次关闭
GitHub:[仍在搜寻]
Pi Exa——网页搜索和深度研究
给 Pi 接上了 Exa 搜索引擎。agent 能搜索网页、读取页面、综合研究。
pi exa search “最新 JEPA 架构进展”
Show HN:https://github.com/junnjiee/pi-exa
pi-workflow——JSON 工作流编排
把子 agent 模式拆成几种 stage 类型(split/orchestrate/build/review/combine),用 JSON spec 描述多 agent 协作。附带 skill 帮助编写工作流。
{ “stages”: [ {“type”: “plan”, “agent”: “planner”}, {“type”: “orchestrate”, “split”: 3}, {“type”: “build”, “parallel”: true}, {“type”: “review”, “fix”: true}, {“type”: “combine”} ] }
GitHub:https://github.com/AgwaB/pi-workflow…
Headroom × Oh My Pi——模型用量可视化
Headroom 的 headroom wrap 命令支持了 omp(Oh My Pi)。可以在本地代理层看到每个模型、每次 transform、每个工具用了多少 token。
GitHub:headroomlabs-ai/headroom feat #1149
社区声音
AI Jason(5.8K 观看):“我最喜欢的部分是并行 sessions——能让 10-15 个不同的 agent session 同时安全地运行。Breaking down into 11 different agents with orchestrator built around task entity.”
#Pi #扩展 #Agent工具
junnjiee/pi-exa
Source: https://github.com/junnjiee/pi-exa
Pi Exa
Web search, fetching, and deep research for your Pi Agent. Powered by Exa.
No API key needed for web search and fetch. Works out of the box, install the extension and your agent can start using Exa search and fetch.
https://github.com/user-attachments/assets/8bc51126-f212-4ad7-813b-705197a972e8
Why Exa for your Agent
- Free - 1000 requests/month for web search and fetch, via the Exa MCP server
- Semantic search - understands intent, not just keyword searches
- LLM-friendly results - Exa returns clean snippets instead of dumping entire sites that nuke your context window (through Exa Highlights)
- Get what you want - Your agent can make sense of Exa’s search options and filters to get you narrowed results
Install
pi install npm:pi-exa
Optional: Exa API key for the deep search tool. To register your key:
pi /exa-login
Features
MCP
- Use web search and content fetching with no API key required
- Lazy-loaded Exa MCP server that only connects on first tool call
- Cached MCP tool schemas, Pi registers MCP tools during startup without connecting to the MCP server
- Toggle paid Exa MCP usage with
/exa-mcp-use-api-key on|off
Advanced Web Search
- Let your agent use every Exa search filter
- Disabled by default to save context (~1200 tokens)
- Enable or disable with
/exa-advanced-search on|off
Deep Search
- Give your agent access to Deep Search via the Exa API, with
deep-lite,deep, anddeep-reasoningmodes - Requires an Exa API key via
/exa-loginorEXA_API_KEYenv var - Enable or disable with
/exa-deep-search on|off
Docs
Commands
| command | description |
|---|---|
/exa-enable | Enables the pi-exa extension and restores its available tools |
/exa-disable | Disables the pi-exa extension and hides all Exa tools from the agent |
/exa-login | Writes your Exa API key to .pi/agents/auth.json |
/exa-logout | Removes your API key from .pi/agents/auth.json |
/exa-status | Shows the Pi Exa extension status |
/exa-advanced-search on|off | Toggles the advanced Exa web search tool |
/exa-deep-search on|off | Toggles the Exa deep search tool. Requires an Exa API key |
/exa-mcp-use-api-key on|off | Toggles use of your API key for Exa MCP server. You will be billed. Only use when you’ve reached your rate limit for free requests |
Tools
Enabled while pi-exa is enabled:
| name | interface | description |
|---|---|---|
web_search_exa | Exa MCP | General web search |
web_fetch_exa | Exa MCP | Get content of a specific webpage |
Toggle to enable/disable while pi-exa is enabled. Preferences persist across sessions:
| name | interface | description |
|---|---|---|
web_search_advanced_exa | Exa MCP | web_search_exa but with all filter parameters available (~1200 tokens to load into context) |
deep_search_exa | Exa API | For multi-step research or when answer requires synthesis from multiple sources. Disabled automatically when no Exa API key is available |
Bugs and suggestions
Open an issue!
相似文章
@binghe: 我最近已经是 Pi Agent 的重度使用用户了。。。越用越喜欢。 Pi 可串联多 skill 完成复杂任务,本地 Agent 更有实用价值! Pi Agent 系统提示词不到 1500 字,仅为 Claude Code 的 1/13 左…
用户分享对 Pi Agent 的深度使用体验,认为其提示词简短、响应快、token消耗低,优于 Claude Code。
@oragnes: 最近挖到一个 Harness 硬核的开源项目:pi(前阵子刚从 badlogic 迁到 earendil-works 旗下)。 是一套为开发者兜底的 AI Agent 基础设施全家桶 + 终端编程助手 CLI。 少造点轮子:直接提供了一套…
Pi 是一个开源的 AI Agent 基础设施套件和终端编程助手 CLI,提供统一 API 以抹平多模型差异,支持并发工具调用以降低延迟,并允许开发者控制思考预算。
@yibie: oh-my-pi:有人把 Pi 改成了最强的终端 Coding Agent --- Pi 是 Armin Ronacher(Flask 作者)做的终端 coding agent。有人 fork 了它,做了 oh-my-pi。4,796 星…
oh-my-pi 是一个基于 Pi 的增强版终端编码代理,支持哈希锚编辑、双引擎、LSP 集成等特性,开源且高度可定制。
@geekbb: pi-workflow 是一个为 Pi 设计的工作流编排工具,让 Pi 能执行多步骤、可复用的工作流,而不是只有单轮对话。用自然语言就能触发,不用每次手写提示词。 四种工作流直接用: - deep-research 做深度研究 - dee…
pi-workflow 是一个为 Pi AI 助手设计的工作流编排工具,使其能够执行多步骤、可重复的工作流,包括深度研究、代码审查、规格检查和影响评估。它通过 JSON 阶段图定义工作流,支持多种执行模式。
@NFTCPS: 用了一圈下来,终端里翻会话、切分支这套,真把人折腾够呛。 pi 编程智能体出了个网页版 pi-web,浏览器里直接就能干这几件事: 看会话列表,按工作目录分组,一目了然 跟智能体实时聊,对话中途还能随手换模型 从任意一条消息分叉,或者回退…
pi 编程智能体推出了网页版 pi-web,提供了会话管理、实时对话、分支导航等功能,可通过 npx 快速运行。