KhojSelf-hostable personal AI assistant for searching docs and the web
OnyxOpen-source AI chat and enterprise search platform for company knowledge
Khoj vs Onyx
How Khoj and Onyx compare on popularity, activity, license and platforms: two open-source AI Interaction & Interfaces projects, both alternatives to ChatGPT, Claude and Gemini.
At a glance
- Khoj has more GitHub stars (38.3k vs 33.7k).
- Onyx was updated more recently (last commit today, Khoj 4 months ago).
- Khoj uses AGPL-3.0 (copyleft); Onyx uses MIT (permissive).
- Both can be self-hosted.
- Khoj is the older project (repository started 2021; Onyx in 2023).
Side by side
| Khoj | Onyx | |
|---|---|---|
| GitHub stars | ★ 38,342 +112 in 10 days | ★ 33,655 +127 in 10 days |
| Forks | 2,577 | 4,793 |
| Last commit | 4 months ago | today |
| Latest version | 2.0.0-beta.28 | v5.2.0 |
| Repository started | August 2021 | April 2023 |
| License | AGPL-3.0 · copyleft | MIT · permissive |
| Self-hosted | Yes | Yes |
| Platforms | Web | Docker, Browser extension |
| Main language | Python | Python |
| Alternative to | ChatGPT, ChatGPT Plus, Claude, Gemini, Perplexity | ChatGPT, ChatGPT Enterprise, Claude, Claude Team, Gemini, Glean |
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
Onyx
Onyx indexes knowledge from 50+ connected apps and lets teams and AI agents query it through chat, search and custom agents, with any LLM provider. It can be self-hosted.
Key features
- Agentic RAG over hybrid index
- Deep research reports
- Custom agents
- 50+ app connectors
- Web search
- MCP server and external actions