DAG-chat – DAG-based AI chat app with branch and merge
Branch and merge conversation paths instead of being stuck in a single linear thread.

Drag-to-branch is the clear selling point: you can fork any message and pursue alternate prompts while that branch only inherits direct ancestors. The BYOK approach (API key stored in your browser + local Express proxy) keeps it lightweight and safe for a demo, but it's clearly a concept build tied to Claude rather than a multi-model, production-ready tool.
Prompt engineers, AI researchers, developers and power users who experiment with LLM interactions
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.
Branch and merge conversation paths instead of being stuck in a single linear thread.
Git for Claude context — snapshot and branch sessions, trim 70% bloat without losing conversation.
Conversation branching and navigation beats Claude Code's linear chat model.
Lisp backend is the interesting part; the mindmap UX is unproven against Reddit.
Clever mapping of conversations to pixel city, but it's a visualization novelty without sticking power.
Git-like versioning for Claude's context window—finally replay work without rebuilding understanding.