Settings

Theme

Show HN: LLM-DAG-UI – A branching conversation interface for Claude

llm-dag-ui.vercel.app

1 points by tenahu a month ago · 0 comments · 2 min read

Reader

I built a proof-of-concept UI that displays LLM conversations as a directed acyclic graph instead of a linear chat.

Try it: https://llm-dag-ui.vercel.app (screenshot in repo)

The idea: conversations with LLMs often hit dead ends or go in directions you want to backtrack from. What if you could branch off from any message and explore a different path, while keeping the original intact?

How it works:

- Drag from any message node to create a new branch.

- Each branch only has context of its direct ancestors – it doesn't know about sibling branches or other parts of the tree.

- Delete a node and all its children disappear with it.

Useful when you want to try three different approaches to a problem from the same starting point, or test how Claude responds to different phrasings. This is a concept demo, not a polished product.

It uses BYOK (bring your own Anthropic API key), stored only in your browser's localStorage. The Express proxy just controls which Claude model is used; your key passes through but is never logged or stored. Nothing persists between sessions.

I think this is closer to how LLM conversations should work. The linear chat paradigm made sense for messaging, but exploration is rarely linear.

Code: https://github.com/dgrims3/LLM-DAG-UI

Would love feedback on the interaction model.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection