Tag: context-engineering
All the articles with the tag "context-engineering".
Pi Agent 如何管理上下文:从 System Prompt 构建、工具输出截断到分支经验传递
介绍 Pi Agent 如何在 System Prompt 构建、工具输出裁剪、消息格式转换与分支切换等环节全方位管理模型上下文。
Pi Agent 的上下文压缩:长会话如何安全裁剪历史
深度剖析 Pi Agent 中长对话上下文压缩(Compaction)的核心算法、切分点定位、Turn 分割、确定性文件跟踪与 Session Tree 不可变保存机制。