thoughtdag

chenxiachanMIT活跃维护

把 LLM 对话变成可编辑的无限画布思维图,连线即上下文,方便梳理和复用推理脉络。

Your thinking deserves a map: an infinite canvas where LLM conversations grow into an editable thought graph. Wires are the context.

v0.5.28发布于 2026-11-08 13:06 UTC765star +16 / 7 天71fork同步于 2026-11-10 17:56 UTC

怎么上手

由 README 提炼,执行前请确认
brew install --cask thoughtdag
npm install && npm run server && npm run dev
硬件要求按 README 说明

README 未说明显存或 GPU 要求;支持本地 Ollama 与 OpenAI 兼容端点,也可用远程模型 API。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

把 LLM 对话画成可编辑的无限画布思维图,连线即上下文

把 LLM 对话变成可编辑的无限画布思维图,连线即上下文,方便梳理和复用推理脉络。

核心能力

  • 连线决定哪些对话路径进入下一次提问,可预览请求
  • 从回答、PDF、图片或网页片段直接分支出新节点
  • 把本地 Claude Code、Codex 等会话打开为图
  • Recall 召回相关历史讨论,可选 Jev 层排序摘录
  • 画布、文档与历史索引保存在本机

容易踩的坑

本地会话与 Recall 需要桌面版或本地运行,浏览器 demo 不支持;远程模型调用会把相关内容发给所配置的提供商并可能产生费用;从源码运行需先 npm install 再分别启动 server 与 dev。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v0.5.28
  1. v0.5.28最新正式版2026-11-08 · 2026-11-08 13:06 UTC

    Build in progress.

  2. v0.5.272026-11-01 · 2026-11-01 09:06 UTC
    查看更新说明

    Build in progress.

  3. v0.5.262026-10-25 · 2026-10-25 17:09 UTC
    查看更新说明

    Build in progress.

  4. v0.5.252026-10-24 · 2026-10-24 13:33 UTC
    查看更新说明

    Build in progress.

  5. v0.5.242026-10-22 · 2026-10-22 17:11 UTC
    查看更新说明

    Build in progress.

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    ThoughtDAG

    An open-source AI canvas that makes model context visible, editable and testable.

    Each exchange becomes a node. Wires are the context. Branch a side question, connect the paths you need, and choose what the model sees next.

    Download · Website · Research · Docs · 中文

    License

    What it does

    • Edit the context. Wires decide which conversation paths reach the next question. Disconnect a path and its nodes stay on the canvas. Preview the request before you send it.
    • Branch from what you read. Ask from a passage in an answer, a PDF, an image or a web page, or clip it into its own node with its source.
    • Continue earlier work. Open local Claude Code, Codex, DeepSeek Harness and Pi sessions as graphs. Recall brings relevant past discussions into a question, with an optional Jev decision layer to rank excerpts.

    Get started

    Use it asStart with
    Desktop app (macOS, Windows, Linux)brew install --cask thoughtdag, or download
    A plugin inside DeepSeek Harnessdsh plugin --profile web add dsh-thoughtdag · plugin guide
    CLI and read-only MCP for your agentnpx thoughtdag why src/lib/api.ts · CLI guide
    From sourcenpm install, then npm run server and npm run dev · setup

    The browser demo opens an example canvas without an API key. Local sessions and recall need the desktop app or a local run.

    Research

    A model's next answer depends on the context it reads in that turn, including tool output, thinking and what earlier turns left behind. These reports measure that context, and ThoughtDAG makes it editable. Methods, data and scripts are public. All research →

    StudyResult
    Where an Agent Turn's Tokens Go · Oct 2026Report · 中文The answer a person reads was 1 to 7% of an agent turn's tokens across 3,237 turns, and Claude Code and DeepSeek Harness kept the thinking in context. From the author's own logs.
    Context Repair for LLMs · pilot v2, Aug 2026Report · 中文 · case studyAcross 162 derailed outcomes (18 cases × 9 model endpoints), deleting only an error's source repaired 152; removing the contaminated subgraph repaired all 162.
    TraceVista · collaborationDemo · GitHubVisualizes agent workflows as maps you can unfold from the overview to each action, with answers linked to the original records. Its reading layer builds on ThoughtDAG's zoom summaries.

    The one rule

    Wires are the context. Connect conversation paths to use them in the next question. Disconnect a path without deleting the work.

    ThoughtDAG walks a node's incoming wires, orders the relevant ancestors and builds the messages sent to the model. Explicit references and enabled recall can add material alongside them. Context guide →

    Compared withThoughtDAG's focus
    Linear chatKeep several lines of inquiry and choose which ones continue into the next question.
    Mind maps and whiteboardsConnections change the model's input, not only the layout.
    Agent workflow canvasesEdit conversational context as you explore, rather than design a pipeline of automated tasks.
    Retrieval and automatic memoryInspect the source-linked material a request uses, and edit or exclude it.

    All capabilities and the roadmap →

    Models, cost and privacy

    Canvases, documents and the history index stay on your machine. Remote model calls send the relevant content to the providers you configure, and those providers may charge. Local Ollama and OpenAI-compatible endpoints work too. Setup and privacy →

    Contributors

    Contributions are welcome. Start with CONTRIBUTING.md.

    Supporters

    With gratitude to @andreilaiter, ThoughtDAG's first supporter, and to everyone helping this independent open-source project grow.

    Cite

    @software{chen_thoughtdag_2026,
      author  = {Chen, Xia},
      title   = {ThoughtDAG: an instrument for legible human-AI collaboration},
      year    = {2026},
      url     = {https://github.com/chenxiachan/thoughtdag},
      license = {MIT}
    }
    

    MIT © 2026 Xia Chen · Roadmap · Feedback