Skip to content
프로젝트

소개

당신의 생각에는 지도가 필요합니다. LLM 대화가 편집 가능한 사고 그래프로 확장되는 무한 캔버스입니다. 연결선이 곧 컨텍스트입니다.

AI 및 머신러닝

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
+3
in 7 days
+12
in 15 days
+28
in 1 month
+79

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original
ThoughtDAG logo

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

ThoughtDAG in use: ask from a document, branch a conversation, and edit the connections that carry context.

▶ Watch the 33-second tour

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 as Start with
Desktop app (macOS, Windows, Linux) brew install --cask thoughtdag, or download
A plugin inside DeepSeek Harness dsh plugin --profile web add dsh-thoughtdag · plugin guide
CLI and read-only MCP for your agent npx thoughtdag why src/lib/api.ts · CLI guide
From source npm install, then npm run dev:vite-server for the proxy and Vite together (or npm run server and npm run dev in two terminals) · 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 →

Study Result
Where an Agent Turn's Tokens Go · Oct 2026
Report · 中文
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 2026
Report · 中文 · case study
Across 162 derailed outcomes (18 cases × 9 model endpoints), deleting only an error's source repaired 152; removing the contaminated subgraph repaired all 162.
TraceVista · collaboration
Demo · GitHub
Visualizes 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 with ThoughtDAG's focus
Linear chat Keep several lines of inquiry and choose which ones continue into the next question.
Mind maps and whiteboards Connections change the model's input, not only the layout.
Agent workflow canvases Edit conversational context as you explore, rather than design a pipeline of automated tasks.
Retrieval and automatic memory Inspect 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

@KehanLiu @nasodaengineer @hexu321 @Moya-Doc @nanami-0713 @LHN-xiao-hai-tun @HarveyZed @Pireirik @suhyungJang @MrUncleXiang @Heizaillica469 @orphiczhou @Archiloss @realysy @lumiai101 @Zhang-Ranxu

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.

Support ThoughtDAG

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

관련 프로젝트 살펴보기

불러오는 중…