Pi Context Curator
这是 Shashank H 公开的项目资料。本站按原始来源展示项目信息,用中文说明适用场景和阅读边界;项目名、源帖与代码保持原样,便于逐项核对。
这条案例记录了什么
场景
Agent 评估、安全与权限门禁
为已记录的输出或轨迹提供分类、分数或复核信号。
证据
社区公开项目或作者演示
原始来源:GitHub repository。尚未独立核实。
时间与作者
Shashank H
记录日期:2026-09-18。日期与身份应以原始资料为准。
怎样核对这个项目
- 先打开原始来源,确认作者、日期与 Jev 在项目中的具体用途。
- 如果提供仓库,再检查代码、运行要求和许可证;仓库存在不代表本站已经运行成功。
- 对速度、成本、准确率和规模数字,查看原文的任务、环境和计算口径。
- 是否有可观察的正确答案。
- 评估输入是否完整。
- 分数与人工复核的一致性。
- 高风险动作是否单独授权。
原始文字与技术细节
以下内容保留原语言,供核对事实。中文页的场景说明是阅读提示,不是逐句翻译或实测结论。
展开英文项目摘要与原帖
项目摘要
Before selected Pi LLM calls, this extension groups messages with their tool results, reuses prior judgments and asks Jev one yes/no relevance question for each new unit. Code removes units judged unnecessary while always keeping system messages and the latest request.
来源原文
A [pi](https://pi.dev) extension that curates the context sent to the LLM before each call — using **TypeSafe AI's Jev model** to decide which context is actually needed.
原记录的限制
- A false removal can hide a subtle dependency from later model calls; the threshold needs local testing.
- Removed units are permanently omitted from later model context, although a display-only session record remains inspectable.
- On API errors or missing credentials the extension passes context through unchanged.