Ardig24/dsh-trajectory-ablation ↗★ 0
dsh-trajectory-ablation
智能体轨迹消融分析插件,通过重构、对比和消融每一步的上下文,定位导致智能体失败的根本原因。
AI 分析
核心用于对智能体(Agent)的决策失败进行深度 Debug。适合智能体开发者,用于分析上下文冗余或提示词干扰问题。
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗Usage
Once mounted, three commands are available in any session:
/context-reconstruct — what did the model see before this step?
/context-diff — what changed between two steps?
/ablate [k] — which block actually caused this decision?
Or use it programmatically — reconstructContext and diffContext need only a session's event log (no live model connection required); ablateStep needs a live ctx.llm:
import { reconstructContext, diffContext, ablateStep } from 'dsh-trajectory-ablation'