LLM对话上下文用DAG可视化编辑
推荐指数 63.0 NO. 008 · 2026.08.16
发布2026/08/15Score93Comments47
为什么值得看
ThoughtDAG 将线性聊天历史改成交互式有向图,用户可拖拽决定哪些分支进入下一次请求。它把"上下文污染"从隐性bug变成显性可控变量,让复杂多轮推理的token开销和结果稳定性可预测。
编辑判断
当前主流方案是Claude的Artifacts或ChatGPT的Canvas,但它们只解决"展示"问题,不解决"选择"问题。ThoughtDAG的真正对手是Anthropic的提示缓存和任何手动复制粘贴的workflow。
它最可能先被两类人采用:一是做深度研究需要多线程探索的分析师,二是调试RAG时想隔离污染源的工程师。如果作者开放API或做成VS Code插件,会比独立网页更有粘性。
一个隐患是交互复杂度:当节点超过20个时,DAG的视觉收益可能低于认知负担,需要看有没有自动折叠或语义聚类的后续设计。
社区反馈
意见分歧 45 条评论
核心争论:DAG可视化控制LLM上下文有价值,但应作为插件集成而非独立应用
Hi HN, I built ThoughtDAG around one rule: wires are the context. Each question and answer is a node. When you ask from a node, only its wired upstream nodes are included in the model request. Delete an edge, regenerate, and that branch leaves the model's actual context, not just the visualization.
have you seen other people or project on the same idea ? manipulation history and exploration space of LLM seems to be quite important
Yes, I have seen several adjacent approaches. Microsoft Huabu explores spatial interaction around research materials, while LLM Canvas and tldraw’s branching-chat experiments explore visual conversation trees. Many workflow canvases also use nodes and edges, but they usually represent execution pipe