KhojSelf-hostable personal AI assistant for searching docs and the web
LibreChatSelf-hosted multi-provider AI chat platform with agents and MCP
Khoj vs LibreChat
How Khoj and LibreChat compare on popularity, activity, license and platforms: two open-source AI Interaction & Interfaces projects, both alternatives to ChatGPT, ChatGPT Plus and Claude.
At a glance
- LibreChat has more GitHub stars (47.8k vs 38.3k).
- LibreChat was updated more recently (last commit yesterday, Khoj 4 months ago).
- Khoj uses AGPL-3.0 (copyleft); LibreChat uses MIT (permissive).
- Both can be self-hosted.
- Khoj is the older project (repository started 2021; LibreChat in 2023).
Side by side
| Khoj | LibreChat | |
|---|---|---|
| GitHub stars | ★ 38,342 +112 in 10 days | ★ 47,823 +332 in 10 days |
| Forks | 2,577 | 9,868 |
| Last commit | 4 months ago | yesterday |
| Latest version | 2.0.0-beta.28 | – |
| Repository started | August 2021 | February 2023 |
| License | AGPL-3.0 · copyleft | MIT · permissive |
| Self-hosted | Yes | Yes |
| Platforms | Web | Web, Docker |
| Main language | Python | TypeScript |
| Alternative to | ChatGPT, ChatGPT Plus, Claude, Gemini, Perplexity | ChatGPT, ChatGPT Enterprise, ChatGPT Plus, Claude, Claude Team |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.
Khoj
Khoj is an open-source personal AI app that chats with local or online LLMs and answers questions from your documents and the web. It supports custom agents, scheduled automations and research.
Key features
- Chat with local or online LLMs
- Answers from the web and your documents
- Semantic search over personal files
- Custom agents with own knowledge and tools
- Scheduled automations and newsletters
- Image generation and voice
LibreChat
Self-hosted AI chat platform that brings many model providers into one ChatGPT-style interface. It adds agents, MCP tools, a code interpreter, artifacts, web search, conversation search and multi-user authentication.
Key features
- Many AI providers plus custom OpenAI-compatible endpoints
- No-code agents with MCP, skills and subagents
- Sandboxed multi-language code interpreter
- Artifacts for apps, diagrams and documents
- Web search with scrapers and rerankers
- Presets, conversation branching and message search