head to head · open source
Khoj vs nocturne_memory
Khoj has 37,420 GitHub stars, 2,488 forks, 148 open issues and last shipped 2 months ago. nocturne_memory has 1,361 stars, 168 forks, 6 open issues and last shipped 24 days ago. Khoj leads on adoption by 2,649% (37,420 vs 1,361 stars). Khoj is written in Python under AGPL-3.0; nocturne_memory is written in Python under MIT. Khoj has attracted 7% as many forks as stars, nocturne_memory 12%. nocturne_memory 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 | nocturne_memory | |
|---|---|---|
| GitHub stars | ★ 37K | ★ 1.4K |
| License | AGPL-3.0 | MIT |
| Written in | Python | Python |
| Last push | 2026-08-02 | 2026-08-27 |
| Forks | ⑂ 2.5K | ⑂ 168 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick Khoj if
- You weight community size — 37K 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 nocturne_memory if
- You want the nocturne_memory feature set and don't need the biggest community
- You prefer the MIT license terms
- Your stack matches Python
- You evaluated both and nocturne_memory fits your workflow better
About Khoj
Khoj is a self hostable, open source AI second brain written in Python that turns any local or online large language model into a personal research, automation, and agent platform for individuals, small teams, and enterprises that want their documents and queries kept under their own control.
About nocturne_memory
Nocturne Memory is an MIT licensed, Python based Long Term Memory Server that speaks the Model Context Protocol, giving MCP capable agents persistent, structured, rollbackable memory across sessions, models and tools — built for anyone running Claude Code, Cursor, Gemini CLI, Codex or another MCP client who is tired of an agent that forgets who it is.
read the full nocturne_memory 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 nocturne_memory more popular?
Khoj has 37,420 GitHub stars and nocturne_memory has 1,361. Khoj has the larger community by that measure.
Are Khoj and nocturne_memory free?
Both are open source. Khoj is licensed under AGPL-3.0 and nocturne_memory under MIT. Neither carries a licence fee.
What is the difference between Khoj and nocturne_memory?
Khoj is written in Python and nocturne_memory in Python. 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 nocturne_memory?
Choose Khoj if you want the larger community (37,420 stars) or its AGPL-3.0 licence terms. Choose nocturne_memory if its feature set, stack or MIT licence fits better. Both are self-hostable.