A
khoj
83.6
38,157 stars · AGPL-3.0
Self-Hosted
onyx leads by 4.6 · narrow
A
83.6
38,157 stars · AGPL-3.0
B · leads
88.2
33,441 stars · license n/a
khoj versus onyx is a Self-Hosted comparison assembled from public repository metrics, the license on file, and whether each product can be self-hosted. Both projects are written mainly in Python. The composite score is 83.6 for khoj and 88.2 for onyx.
khoj has 38,157 GitHub stars to onyx's 33,441, a gap of 4,716 (1.14×). Forks are 2,555 for khoj and 4,754 for onyx. On the log scale used inside this pair, adoption is 100 versus 99, and the fork community is 93 versus 100.
Push history: khoj was last pushed on 02 August 2026 (107 days ago), and onyx was last pushed on 17 November 2026 (0 days ago). Open issues stand at 173 for khoj (0.005 per star) and 730 for onyx (0.022 per star). Issue-health scores are 96 and 70; activity scores are 58 and 100.
khoj is listed as AGPL-3.0, which this catalog treats as a network copyleft grant. Letting users interact with a modified copy over a network can trigger a duty to offer them the corresponding source. onyx is listed as no SPDX license on file, which this catalog treats as no clear license grant in the data stored here. Public code without a license is not free to use. License scores in this pair are 52 for khoj and 30 for onyx. This is a procurement signal, not legal advice.
In Self-Hosted, both khoj (38,157 stars) and onyx (33,441 stars) are marked self-hostable. Deploy scores are 100 and 100. Running either one means you own upgrades, backups, and the license duties that follow a modified copy. Pricing labels on file: khoj is open source, onyx is unpriced in this catalog.
The lead is split. khoj is furthest ahead on issue health (96 to 70), while onyx is furthest ahead on recent activity (100 to 58). Choose the dimension a rollout cannot compromise on.
onyx finishes ahead at 88.2 against khoj at 83.6, a 4.6 point narrow margin under the published weights.
Scores are computed inside this pair only. Method and weights.
Bars are scaled within the row. Higher is stronger. Open issues are a raw count, so that row has no bar.
| Signal | khoj | onyx |
|---|---|---|
| GitHub stars | 38,157 | 33,441 |
| Forks | 2,555 | 4,754 |
| Open issues | 173 | 730 |
| Adoption | 100 | 99 |
| Activity | 58 | 100 |
| Community | 93 | 100 |
| Issue health | 96 | 70 |
| License | 52 | 30 |
| Self-hosting | 100 | 100 |
| Composite | 83.6 | 88.2 |
Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (gpt, claude, gemini, llama, qwen, mistral). Get started - free.
Open Source AI Platform - AI Chat with advanced features that works with every LLM
khoj has more GitHub stars: 38,157 versus 33,441 for onyx. The gap is 4,716 stars.
onyx was pushed more recently: 17 November 2026 versus 02 August 2026 for khoj. That is 107 days apart.
Yes. This catalog marks both khoj and onyx as self-hostable. Confirm each project's deploy docs before you plan a migration.
khoj is listed as AGPL-3.0, which this catalog treats as a network copyleft grant. Letting users interact with a modified copy over a network can trigger a duty to offer them the corresponding source. onyx is listed as no SPDX license on file, which this catalog treats as no clear license grant in the data stored here. Public code without a license is not free to use. Read both grants before you embed either codebase in a hosted product. This is not legal advice.
onyx scores 88.2 and khoj scores 83.6. This page calls that a narrow lead for onyx.