Live data from Hacker News

Show HN: ThoughtDAG – An editable context graph for LLM conversations

chenxiachan.github.io

11–20 of 82 posts

Re: Show HN: ThoughtDAG – An editable context graph for LLM conversations

#11
post #5

This looks like git, doesn't it?

I can see the Git analogy in branching, merging, and preserving provenance. But in use, I think it feels closer to a mind map or Miro than to version control. Thought does not need an explicit commit, and branches do not have to resolve into a clean merge. They can remain divergent or unfinished. The part I care about most is that the graph is operational rather than decorative: its edges determine which branches become context for the next inference.

Re: Show HN: ThoughtDAG – An editable context graph for LLM conversations

#12
post #2

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. The interface is intentionally human-controlled. I'm testing whether explicit context control is useful for long-running…

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 pipelines. The specific interaction I am testing is more narrowly about context: an edge changes what the model receives, while removing it keeps the earlier work visible but excludes it from the next inference. I would be interested in other projects I may have missed.

Re: Show HN: ThoughtDAG – An editable context graph for LLM conversations

#13
This seems like a really interesting idea and something I've basically been doing myself manually so far, with a DESIGN.md document with "one concept/decision per line, built in a tree" basically, where all decisions that needs to be remembered gets noted down for future reference.

Not a fan of ThoughtDAG being a complete separate application rather than built into the tools I use every day, like my text editor or other planning tool. But neat that you've seemingly integrated a bunch of LLM providers, including letting us use local models, sufficiently sweet :)

Some security "nitpicks": I'm fairly sure you have a critical security issue in the "execSync(`pdftoppm -png -r ${dpi} ...`)" call you do, which I don't think would have been a issue if the local web server you start listened to 127.0.0.1 or some other local IP, but instead it seems the server binds to 0.0.0.0, meaning all network interfaces. Put together, anyone who runs this application effectively gives anyone else a free shell to your computer :)

Tiny nitpicks about the AppImage specifically, seems it's missing publisher details/signing (not a huge deal, just something you might want to look into) and also it's using "--no-sandbox", don't think you need that, let it be sandboxed instead, and the remote vulnerability above might also become less of an issue :)

I'll hold off a bit to play around with it, because of the issue above, but I'm curious to see if it does provide something more than what I manage with my ASCII Markdown tree of decisions. Maybe there is potential for ThoughtDAG in the future to be better integrated with other tools, and end up mostly being the management/viewer of things, so I can continue using vim and codex as today, but they can read/write via ThoughtDAG perhaps, or some other approach.

Regardless, thanks for sharing it and good luck! :)

Re: Show HN: ThoughtDAG – An editable context graph for LLM conversations

#15

Earlier quoted context omitted.

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 pipelines. The specific interaction I am testing is more narrowly about context: an edge changes what the model receives, wh…

It would be wonderful if you included a section like "ThoughtDAG vs X" in the README, where you then compare ThoughtDAG against these other approaches/tools, and explain with some clear concise words how it's different than those. For extra bonus-points, also explicitly list where ThoughtDAG falls short (today?) and compare to them in that manner too :)

Re: Show HN: ThoughtDAG – An editable context graph for LLM conversations

#18
post #2

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. The interface is intentionally human-controlled. I'm testing whether explicit context control is useful for long-running…

have you seen other people or project on the same idea ? manipulation history and exploration space of LLM seems to be quite important

Zed's early text threads allowed you to edit the full history as a document.

Re: Show HN: ThoughtDAG – An editable context graph for LLM conversations

#19

This seems like a really interesting idea and something I've basically been doing myself manually so far, with a DESIGN.md document with "one concept/decision per line, built in a tree" basically, where all decisions that needs to be remembered gets noted down for future reference. Not a fan of ThoughtDAG being a complete separate application rather than built into the tools I use every day, like my text editor or ot…

[deleted]

Re: Show HN: ThoughtDAG – An editable context graph for LLM conversations

#20

This seems like a really interesting idea and something I've basically been doing myself manually so far, with a DESIGN.md document with "one concept/decision per line, built in a tree" basically, where all decisions that needs to be remembered gets noted down for future reference. Not a fan of ThoughtDAG being a complete separate application rather than built into the tools I use every day, like my text editor or ot…

[deleted]
Post reply on HN