head to head · open source
Khoj vs thoughtdag
Khoj has 38,127 GitHub stars, 2,550 forks, 148 open issues and last shipped 4 months ago. thoughtdag has 782 stars, 75 forks, 5 open issues and last shipped 3 days ago. Khoj leads on adoption by 4,776% (38,127 vs 782 stars). Khoj is written in Python under AGPL-3.0; thoughtdag is written in TypeScript under MIT. Khoj has attracted 7% as many forks as stars, thoughtdag 10%. thoughtdag was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (llm), so they are genuine substitutes rather than adjacent tools.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| Khoj | thoughtdag | |
|---|---|---|
| GitHub stars | ★ 38K | ★ 782 |
| License | AGPL-3.0 | MIT |
| Written in | Python | TypeScript |
| Last push | 2026-08-02 | 2026-11-12 |
| Forks | ⑂ 2.5K | ⑂ 75 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick Khoj if
- You weight community size — 38K stars and counting
- You want the AGPL-3.0 license terms
- Your stack matches Python
- You value the larger contributor base for long-term maintenance
pick thoughtdag if
- You want the thoughtdag feature set and don't need the biggest community
- You prefer the MIT license terms
- Your stack matches TypeScript
- You evaluated both and thoughtdag fits your workflow better
About Khoj
Your AI second brain 📑 Docs • 🌐 Web • 🔥 App • 💬 Discord • ✍🏽 Blog 🎁 New Meet 🌶️ Pipali our open source AI coworker that runs on your computer. Read about Khoj's excellent performance on modern retrieval and reasoning benchmarks. Overview Khoj is a personal AI app to extend your capabilities. It smoothly scales up from an on device personal AI to a cloud scale enterprise AI. Chat with any local or online LLM (e.g llama3, qwen, gemma, mistral, gpt, claude, gemini, deepseek). Get answers from the internet and your docs (including image, pdf, markdown, org mode, word, notion files). Access it from your…
About thoughtdag
ThoughtDAG AI conversations that branch on an infinite canvas. Each exchange becomes a node. Wires are the context. Explore a side question, connect useful paths, and choose what the model sees next. Download · Website · Docs · 中文 0.5 update · CLI · Harness · Desktop · How it works · How it differs · Research New in 0.5 · ThoughtDAG × Jev Bring relevant past conversations into the question you are asking now. Find earlier work. The local index searches supported agent sessions and ThoughtDAG canvases. Topic dossiers collect decisions and open questions with links back to their sources. Select what belongs. The…
read the full thoughtdag overview →
More in Productivity & Utilities
Related comparisons
More Note Taking & Knowledge Management projects
Compare either of these against the rest of the Note Taking & Knowledge Management field.
Frequently asked questions
Is Khoj or thoughtdag more popular?
Khoj has 38,127 GitHub stars and thoughtdag has 782. Khoj has the larger community by that measure.
Are Khoj and thoughtdag free?
Both are open source. Khoj is licensed under AGPL-3.0 and thoughtdag under MIT. Neither carries a licence fee.
What is the difference between Khoj and thoughtdag?
Khoj is written in Python and thoughtdag in TypeScript. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, Khoj or thoughtdag?
Choose Khoj if you want the larger community (38,127 stars) or its AGPL-3.0 licence terms. Choose thoughtdag if its feature set, stack or MIT licence fits better. Both are self-hostable.