A
khoj
83.4
38,157 stars · AGPL-3.0
Self-Hosted
pentagi leads by 15.4 · decisive
A
83.4
38,157 stars · AGPL-3.0
B · leads
98.8
34,396 stars · MIT
khoj versus pentagi is a Self-Hosted comparison assembled from public repository metrics, the license on file, and whether each product can be self-hosted. khoj is written mainly in Python; pentagi is written mainly in Go. The composite score is 83.4 for khoj and 98.8 for pentagi.
khoj has 38,157 GitHub stars to pentagi's 34,396, a gap of 3,761 (1.11×). Forks are 2,555 for khoj and 5,447 for pentagi. On the log scale used inside this pair, adoption is 100 versus 99, and the fork community is 91 versus 100.
Push history: khoj was last pushed on 02 August 2026 (107 days ago), and pentagi was last pushed on 13 November 2026 (3 days ago). Open issues stand at 173 for khoj (0.005 per star) and 76 for pentagi (0.002 per star). Issue-health scores are 96 and 96; 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. pentagi is listed as MIT, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. License scores in this pair are 52 for khoj and 96 for pentagi. This is a procurement signal, not legal advice.
In Self-Hosted, both khoj (38,157 stars) and pentagi (34,396 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, pentagi is open source.
The lead is split. khoj is furthest ahead on adoption (100 to 99), while pentagi is furthest ahead on license flexibility (96 to 52). Choose the dimension a rollout cannot compromise on.
pentagi finishes ahead at 98.8 against khoj at 83.4, a 15.4 point decisive 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 | pentagi |
|---|---|---|
| GitHub stars | 38,157 | 34,396 |
| Forks | 2,555 | 5,447 |
| Open issues | 173 | 76 |
| Adoption | 100 | 99 |
| Activity | 58 | 100 |
| Community | 91 | 100 |
| Issue health | 96 | 96 |
| License | 52 | 96 |
| Self-hosting | 100 | 100 |
| Composite | 83.4 | 98.8 |
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.
Fully autonomous AI Agents system capable of performing complex penetration testing tasks
khoj has more GitHub stars: 38,157 versus 34,396 for pentagi. The gap is 3,761 stars.
pentagi was pushed more recently: 13 November 2026 versus 02 August 2026 for khoj. That is 104 days apart.
Yes. This catalog marks both khoj and pentagi 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. pentagi is listed as MIT, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. Read both grants before you embed either codebase in a hosted product. This is not legal advice.
pentagi scores 98.8 and khoj scores 83.4. This page calls that a decisive lead for pentagi.