Khoj
Leading#7 in Open sourcehigh confidence
Self-hostable AI second brain that searches and chats across your notes, docs, and PDFs (~36k stars).Our read
Why it ranks #7
The existing source records roughly 36k GitHub stars, placing Khoj among the most adopted self-hostable personal knowledge assistants.Here is the catch
Setup and model configuration are more involved than a consumer note app
Best experience depends on specific editor integrations
Small-team governance is limited compared with enterprise knowledge platforms
Does this well
Users value local-first integrations with existing note workflows
Can combine private documents with web and model tools
Self-hosting preserves control over personal knowledge data
Pricing
Checked by hand on 2026-07-23. Prices in this category change often — if this looks wrong, it probably is.
Key features
Semantic search across notes and documentsChat with citationsObsidian, Emacs, and web clientsSelf-hosted personal AI agents
Sources we read
Quick facts
More in this area
The rest of the Open source column.- 1LangChainThe de-facto framework for building RAG and knowledge-base apps — chains, agents, and connectors to every model and vector store. The category's recognized leader (~142k stars).
- 2DifyOpen-source LLM app platform with a built-in knowledge base, document ingestion, and RAG pipeline behind a full UI; the highest-starred option here (~150k stars).
- 3RAGFlowDedicated open-source RAG engine with deep document parsing, knowledge-base management, and a zero-code web UI (~86k stars).
- 4AnythingLLMAll-in-one desktop/self-hosted app that turns your documents into a private chat knowledge base out of the box (~64k stars).
- 5LlamaIndexThe data framework for indexing and querying your private content; the reference toolkit for document-QA knowledge bases (~51k stars).
- 6QuivrOpinionated RAG 'second brain' you can plug into your apps to store and query your documents (~39k stars).