---
title: "khoj vs llm-wiki-agent"
type: "comparison"
canonical_url: "https://www.graphcanon.com/compare/khoj-ai-khoj-vs-samuraigpt-llm-wiki-agent"
tools: ["khoj-ai-khoj", "samuraigpt-llm-wiki-agent"]
---

# khoj vs llm-wiki-agent

*GraphCanon updated Sep 20, 2026*

## Verdict

Pick khoj if khoj is a self-hosted AI assistant that supports integration with multiple LLMs, enabling users to build custom agents and conduct deep research using both web and local documents; pick llm-wiki-agent if llm-wiki-agent serves as a self-maintained personal knowledge base using AI agents like Claude, Codex, OpenCode, and Gemini CLI.

[khoj](https://khoj.dev) reports 37k GitHub stars, 2.5k forks, and 150 open issues, last pushed Aug 2, 2026. [llm-wiki-agent](https://github.com/SamurAIGPT/llm-wiki-agent) has 3.5k stars, 397 forks, and 5 open issues, last pushed Sep 7, 2026. Figures are from public GitHub metadata via [khoj's repository](https://github.com/khoj-ai/khoj) and [llm-wiki-agent's repository](https://github.com/SamurAIGPT/llm-wiki-agent).

| | [khoj](/tools/khoj-ai-khoj.md) | [llm-wiki-agent](/tools/samuraigpt-llm-wiki-agent.md) |
| --- | --- | --- |
| Tagline | Self-hostable AI second brain for personalized research and automation | A personal knowledge base that builds and maintains itself using various AI agents. |
| Stars | 37,399 | 3,497 |
| Forks | 2,484 | 397 |
| Open issues | 150 | 5 |
| Language | Python | Python |
| Adopt for | Khoj is a self-hosted AI assistant that supports integration with multiple LLMs, enabling users to build custom agents and conduct deep research using both web and local documents. | llm-wiki-agent serves as a self-maintained personal knowledge base using AI agents like Claude, Codex, OpenCode, and Gemini CLI. |
| Persona | - | - |
| Runtime | - | - |
| License | Khoj is licensed under AGPL-3.0, which means it is free to use, modify, and distribute, but any derivative works must also be released under the same license. | MIT |
| Categories | AI Agents, Data & Retrieval, Developer Tools, Inference & Serving, Model Training | AI Agents, Data & Retrieval |

## Trust and health

_Sourced signals - not a safety guarantee. No winner column._

| | [khoj](/tools/khoj-ai-khoj.md) | [llm-wiki-agent](/tools/samuraigpt-llm-wiki-agent.md) |
| --- | --- | --- |
| Maintenance | Steady (60%) | Very active (96%) |
| Days since push | 47d | 0d |
| Open issues (now) | 150 | 5 |
| Stars delta | +887 (30d) | +163 (30d) |
| Open issues delta | +17 (30d) | +2 (30d) |
| Full report | [trust report](/tools/khoj-ai-khoj/trust.md) | [trust report](/tools/samuraigpt-llm-wiki-agent/trust.md) |

## Decision facts: khoj

- **Pricing:** freemium - Khoj is free to use, but users may incur costs related to hosting and the LLMs they choose to integrate.
- **Requirements:** Min 4 GB RAM; Requires Docker; Khoj requires Docker for setup and operation.; Users must have a Python environment and the necessary dependencies installed.
- **Adopt for:** Khoj is a self-hosted AI assistant that supports integration with multiple LLMs, enabling users to build custom agents and conduct deep research using both web and local documents.
- **License detail:** Khoj is licensed under AGPL-3.0, which means it is free to use, modify, and distribute, but any derivative works must also be released under the same license.

## Decision facts: llm-wiki-agent

- **Adopt for:** llm-wiki-agent serves as a self-maintained personal knowledge base using AI agents like Claude, Codex, OpenCode, and Gemini CLI.

## Choose when

### Choose khoj if…

- License: khoj is AGPL-3.0, llm-wiki-agent is MIT.
- Pricing: Khoj is free to use, but users may incur costs related to hosting and the LLMs they choose to integrate..
- Requirements: Min 4 GB RAM; Requires Docker; Khoj requires Docker for setup and operation.; Users must have a Python environment and the necessary dependencies installed..
- Tags unique to khoj: agent, ai, assistant, chat.
- Also covers Developer Tools, Inference & Serving, Model Training.
- khoj ships Docker support for self-hosted deployment.
- When you need a self-hosted solution for personalized research and automation that can integrate with a variety of LLMs, including GPT, Claude, Gemini, LLaMA, Qwen, and Mistral.

### Choose llm-wiki-agent if…

- License: llm-wiki-agent is MIT, khoj is AGPL-3.0.
- Tags unique to llm-wiki-agent: ai-agent, automation, knowledge-base, llm.
- When you need to create an interlinked wiki without setting up API keys or configuring Python environments.

## When NOT to use khoj

- If you are looking for a cloud-based service without the need for self-hosting, Khoj may not be the best fit.
- Khoj might not be ideal if you are seeking a tool that does not support a wide range of LLMs and requires a more specialized integration.
- If your research and automation needs are simple and do not require deep integration with local documents or web sources, a more straightforward tool might be more appropriate.

## When NOT to use llm-wiki-agent

- If the process requires strict privacy controls and no third-party AI agents can be used.
- When your project needs real-time interaction with APIs for dynamic content integration, as llm-wiki-agent does not support API-driven operations.

## Common questions

### What is the difference between khoj and llm-wiki-agent?

khoj: Self-hostable AI second brain for personalized research and automation. llm-wiki-agent: A personal knowledge base that builds and maintains itself using various AI agents.. See the comparison table for live GitHub stats and shared categories.

### When should I choose khoj over llm-wiki-agent?

Choose khoj over llm-wiki-agent when License: khoj is AGPL-3.0, llm-wiki-agent is MIT; Pricing: Khoj is free to use, but users may incur costs related to hosting and the LLMs they choose to integrate.; Requirements: Min 4 GB RAM; Requires Docker; Khoj requires Docker for setup and operation.; Users must have a Python environment and the necessary dependencies installed.; Tags unique to khoj: agent, ai, assistant, chat; Also covers Developer Tools, Inference & Serving, Model Training; khoj ships Docker support for self-hosted deployment; When you need a self-hosted solution for personalized research and automation that can integrate with a variety of LLMs, including GPT, Claude, Gemini, LLaMA, Qwen, and Mistral.

### When should I choose llm-wiki-agent over khoj?

Choose llm-wiki-agent over khoj when License: llm-wiki-agent is MIT, khoj is AGPL-3.0; Tags unique to llm-wiki-agent: ai-agent, automation, knowledge-base, llm; When you need to create an interlinked wiki without setting up API keys or configuring Python environments.

### When should I avoid khoj?

If you are looking for a cloud-based service without the need for self-hosting, Khoj may not be the best fit. Khoj might not be ideal if you are seeking a tool that does not support a wide range of LLMs and requires a more specialized integration. If your research and automation needs are simple and do not require deep integration with local documents or web sources, a more straightforward tool might be more appropriate.

### When should I avoid llm-wiki-agent?

If the process requires strict privacy controls and no third-party AI agents can be used. When your project needs real-time interaction with APIs for dynamic content integration, as llm-wiki-agent does not support API-driven operations.

### Is khoj or llm-wiki-agent more popular on GitHub?

khoj has more GitHub stars (37,399 vs 3,497). Stars measure visibility, not whether either tool fits your constraints.

### Are khoj and llm-wiki-agent open source?

Yes - both are open-source projects on GitHub (khoj: AGPL-3.0, llm-wiki-agent: MIT).

### Where can I find alternatives to khoj or llm-wiki-agent?

GraphCanon lists graph-backed alternatives at [khoj alternatives](/tools/khoj-ai-khoj/alternatives) and [llm-wiki-agent alternatives](/tools/samuraigpt-llm-wiki-agent/alternatives) ([khoj markdown twin](/tools/khoj-ai-khoj/alternatives.md), [llm-wiki-agent markdown twin](/tools/samuraigpt-llm-wiki-agent/alternatives.md)), ranked by typed relationship edges rather than popularity votes.

### Is there a machine-readable version of this comparison?

Yes. The markdown twin at [this comparison](/compare/khoj-ai-khoj-vs-samuraigpt-llm-wiki-agent.md) mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.

### Which is better maintained, khoj or llm-wiki-agent?

khoj: Steady. llm-wiki-agent: Very active. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.

### Where are the full trust reports for khoj and llm-wiki-agent?

GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: [khoj trust report](/tools/khoj-ai-khoj/trust); [llm-wiki-agent trust report](/tools/samuraigpt-llm-wiki-agent/trust).

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/graph?tool=khoj-ai-khoj`](/api/graphcanon/graph?tool=khoj-ai-khoj)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
