# ThoughtDAG

> Open-source AI conversation canvas for viewing, editing and testing the context a language model receives.

- Website: https://chenxiachan.github.io/thoughtdag/
- Category: AI Chatbots & Assistants
- Source page: https://opendirs.com/en/tools/thoughtdag
- Pricing: Open source
- Starting price: $0
- Public API: No
- Open source: Yes
- Chinese language: No
- Accessible from mainland China: Unknown
- Platforms: macOS · Windows · Linux
- Country: Unknown
- Last verified: Nov 28, 2026

## Overview

ThoughtDAG is an open-source AI conversation canvas that shows which nodes, edges and history enter each model request. Users can branch a discussion, clip passages from sources, preview the request with its token count, and remove an edge to see the answer change. The project is MIT-licensed, local-first, and works with Ollama and OpenAI-compatible endpoints, and its source is on GitHub.

**Best for:** Researchers and developers who want to see and control the context that an LLM reads in each turn.

## Key features

- Graph where incoming edges define the context sent to the model
- Preview of source nodes, order and token count before sending
- Branching conversations and reuse of selected passages in new questions
- Works with Ollama and OpenAI-compatible endpoints; local-first
- Desktop app for macOS, Windows and Linux; CLI and read-only MCP

## Use cases

- Comparing alternative research questions on separate branches
- Checking which earlier messages influence a model's answer
- Asking questions from a selected passage of a PDF while keeping its source attached
- Reusing selected findings from past conversations in a new question

## Pros

- Open source under the MIT license with source on GitHub
- Shows the exact context and token count before a request is sent
- Local-first operation with Ollama and OpenAI-compatible endpoints

## Cons

- Windows installers are not code-signed yet and show a SmartScreen prompt

## Alternatives

- [ChatGPT](https://opendirs.com/en/tools/chatgpt.md)
- [Claude](https://opendirs.com/en/tools/claude.md)
- [Google Gemini](https://opendirs.com/en/tools/gemini.md)
- [DeepSeek](https://opendirs.com/en/tools/deepseek.md)
- [Kimi](https://opendirs.com/en/tools/kimi.md)

## FAQ

### What is ThoughtDAG?

ThoughtDAG is an open-source AI conversation canvas that shows which nodes, edges and history enter each model request. Users can branch a discussion, clip passages from sources, preview the request with its token count, and remove an edge to see the answer change. The project is MIT-licensed, local-first, and works with Ollama and OpenAI-compatible endpoints, and its source is on GitHub.

### Is ThoughtDAG free?

ThoughtDAG uses a Open source pricing model (verified Nov 28, 2026).

### Does ThoughtDAG have an API?

As of Nov 28, 2026, ThoughtDAG does not offer a public developer API.

### Does ThoughtDAG support Chinese, and is it available in China?

ThoughtDAG does not support Chinese, and it has unverified availability in mainland China.

### What are the best alternatives to ThoughtDAG?

Popular alternatives to ThoughtDAG include ChatGPT, Claude, Google Gemini, DeepSeek.

_Last verified: Nov 28, 2026_