正在打开每日关注
正在打开每日关注
OpenWiki接入LangSmith追踪,定位编码代理的上下文缺口与卡点,改进代码库Wiki。
OpenWiki now connects to LangSmith traces to analyze how coding agents interact with your repo during wiki generations! We added a LangSmith tracing connector so OpenWiki can retrieve more context into how coding agents (Claude Code, Codex, etc) interact with and write code in your repo. You trace coding agent sessions to LangSmith (doc links in reply), then connect OpenWiki to those tracing projects so it can analyze where your agent is lacking context, where it gets stuck, and more to better design and write wikis. Try the LangSmith tracing connector in OpenWiki today: https://t.co/aZONneVM8A
是什么 OpenWiki 是 langchain-ai/openwiki 提供的 TypeScript CLI,用 Deep Agents 为代码库或个人知识生成并维护链接化 Markdown Wiki。此次更新新增 LangSmith 追踪连接器,可结合编码代理会话观察其如何理解和修改仓库,定位上下文缺口与卡点。这意味着文档工具可能从一次性产物生成,进一步成为代理工作流的诊断反馈层。
核心设计
README 展示了较完整的持久化架构:代码Wiki采用 begin → submit_plan → next_page → submit_page → finish 的可恢复页面队列,并用 .run.json、页面清单和源码检查点保存进度。Grounded Claims 将重要事实绑定到版本化仓库证据,证据变化后触发对应页面复核。工具还支持 Codex、Claude Code、OpenCode、Cursor,以及 GitHub Actions 等持续更新方式。
关键洞察 把代理追踪与文档质量结合,能够帮助团队发现“代理为什么不懂仓库”,再反向改进Wiki、指令或代码组织,长期价值高于单纯生成文档。
边界与风险 LangSmith观察属于连接器上下文,不等同于源码事实。README明确指出连接器来源目前不进入 Grounded Claims,且外部编码代理集成暂不支持连接器上下文,因此仍需用代码和测试验证结论。