ThoughtDAG: An Editable Context Graph for LLM Conversations
ThoughtDAG is a desktop app that replaces the linear chat log with an editable context graph. Instead of hiding which parts of a conversation feed the next request, ThoughtDAG shows the structure — and lets you change it. The core idea: the graph is the context.
Wires as context
In ThoughtDAG, nodes are sources and messages; edges (wires) determine what gets included in the next LLM request. You can clip a passage from a PDF, ask a question directly from a source node, or spawn an unrelated branch for a detour — all while keeping the main path clean.
- Branch: explore an alternative interpretation without overwriting your current path.
- Prune: keep a useful detour on the canvas but exclude it from the next request.
- Merge: bring selected evidence and reasoning paths back together in one answer.
- Inspect: preview exactly what the model will receive before generation — including order and token count.
One rule governs everything: Wires are context. No hidden memory selector. Deleting an edge actually removes that branch from the prompt — it's not just a visual aid.
Visible diffs and reproducible answers
The interface shows a token diff when you change edges. For example, removing an unrelated detour about dinner saves 47 tokens. And because the prompt is deterministic from the graph, the same prompt regenerates the same clean answer — reproducible context.
Pilot results
ThoughtDAG includes a Context Repair Pilot with 4 models and 540 runs. It tested three ways to remove an outdated branch from a merged answer:
- Delete source only: 68/72 fixed
- Recompute downstream: 71/72 fixed
- Remove whole subgraph: 72/72 fixed
The pilot demonstrates that context repair works best when you prune the entire offending subgraph — exactly what ThoughtDAG's graph editing enables.
Desktop app
The app is available as a desktop build (v0.3.19):
- macOS (Apple Silicon): .dmg ≈126MB, signed and notarized
- Windows x64: installer ≈106MB (unsigned; SmartScreen shows a warning)
- Linux x64: .AppImage ≈133MB
All versions and history are on GitHub Releases. The macOS build runs with no terminal; the Windows build requires clicking "More info" then "Run anyway" on SmartScreen.
Who it's for
This is for developers and researchers who use LLMs for long, complex reasoning tasks and need to control exactly what context goes into each prompt — without the pollution of unrelated chat detours.
📖 Read the full source: HN AI Agents
👀 See Also

ClawHost Open-Source OpenClaw One-Click Deploy Hits 200+ GitHub Stars
ClawHost, an open-source tool for one-click OpenClaw installation with full server access and control, has reached 200+ GitHub stars. The project addresses issues with unstable commercial wrappers by providing a free, self-hostable solution.

Spectr: An MCP That Writes App Specs from Screen Recordings for Pixel-Perfect Claude Clones
Spectr is an MCP server, CLI, and Claude Code skill that takes an .mp4/.mov screen recording of an iOS app and generates a 7-section spec.md with hex codes, font weights, spacing, transitions, and nav graph — eliminating the 30-minute manual spec writing per screen.

APEX Testing Benchmark Results: Qwen 3.5 Performance on Real Coding Tasks
APEX Testing benchmark results show Qwen 3.5 models' performance on 70 real GitHub coding tasks, with the 397B version dropping to 1194 ELO on master-level tasks while GLM-4.7 quantized leads local models at 1572 ELO.

Claudius: Open-Source Embeddable AI Chat Widget for Claude
Claudius is an open-source, self-hosted chat widget powered by Claude that can be embedded on any website with one script tag. It runs on Cloudflare Workers with a React frontend and includes features like custom system prompts, rate limiting, and accessibility compliance.