Khoj
π Quick overview
Khoj presents itself as an AI second brain: answers from the web or your documents, custom agents, scheduled automations, deep research, and access from browser, Obsidian, Emacs, desktop, mobile, or WhatsApp1.
The project is open-source and self-hostable, but an official cloud application also exists. The sovereignty verdict therefore depends heavily on deployment mode.
π‘ Why this project interests us
Khoj is probably closest to the βaugmented personal assistantβ idea: it connects documents, web, agents, and automations, with an interesting Obsidian integration for vault users.
In this vault, it bridges Track A (assistant that knows you) and Track B (agent that acts): it can remember, search, answer, and trigger actions.
β Strengths
- Self-hostable: local install or private server possible1 β but do not expose it beyond a trusted network: a June 2026 advisory (unauthenticated path traversal on
/home/) lists no fixed version as of 2026-10-102. - Varied documents: PDF, Markdown, org-mode, Word, Notion, images per configuration1.
- Local LLM possible: Ollama integration via local OpenAI-compatible server3.
- Agents and automations: custom agents, schedules, deep research1.
- Personal ecosystem: browser, Obsidian, Emacs, desktop, phone.
β οΈ Limitations and risks
- Official cloud available: easy to use, but outside strict on-prem.
- Telemetry to disable:
KHOJ_TELEMETRY_DISABLE=Truein Docker/env for sensitive context4. - Web/search features: may involve network calls per enabled tools.
- Ollama configuration to test: Docker URL,
/v1/, exact model, and local network can be friction sources3.
π Sovereignty and privacy
- Data: local if self-host; cloud if
app.khoj.dev. - Model: local via Ollama/OpenAI-compatible base URL; cloud if external provider chosen3.
- Memory: document index in the instance.
- Telemetry: disableable via
KHOJ_TELEMETRY_DISABLE=True4. - 100% offline mode: partial; possible for documents + local model, limited for web/deep research.
- Verdict: β οΈ configurable β good self-host candidate, but not sovereign by default if using the cloud app.
See the full grid: Sovereignty & Privacy.
π Possible integration in this vault
Khoj is interesting if the vault must become real personal memory:
- Markdown/Obsidian indexing;
- chat with citations;
- personal agent for search and synthesis;
- simple automations around notes and documents.
π Project maturity
Open-source project with a long history in this sector (created in 2021, AGPL-3.0), but stagnating since spring 2026: latest version 2.0.0-beta.28 in March 2026, a dozen commits over the summer (the last on 2026-08-02), and the team is focusing its effort on Pipali, its new local AI βco-workerβ5. Nothing indicates abandonment, but a recommendation in a regulated context assumes verifying that a security fix would be published; test self-host mode precisely before committing to it.
Since 2026 the Khoj team has been publishing Pipali (Apache-2.0, 0.10.0 on 2026-09-14), a desktop βco-workerβ agent that reads and writes files, browses the web, and integrates with Jira, Linear, or Slack via MCP. Its GitHub page highlights cloud models (Claude, GPT, Kimi, DeepSeek, Geminiβ¦) served by the Pipali platform; local model support has not been verified in this vault. It is a Track B candidate more than a Track A one, and it explains Khojβs drop in activity5.
π See also
- Memory Tree Β· RAG Β· π§© RAG & Agents
- Ollama Β· Jan.ai
- OpenHuman β hierarchical memory comparison
- Scenario A Β· π§ͺ Evaluate a model
π Sources
Footnotes
-
Khoj GitHub β second brain, self-hostable, documents, agents, and automations. https://github.com/khoj-ai/khoj β© β©2 β©3 β©4
-
khoj-ai, GHSA-62mm-xwmv-crhg β βUnauthenticated path traversal in /home/ endpoint allows file read from server filesystemβ (affected versions β<= latestβ, no fixed version listed), 2026-06-24. https://github.com/khoj-ai/khoj/security/advisories/GHSA-62mm-xwmv-crhg β©
-
Khoj docs β Ollama integration and
OPENAI_BASE_URL. https://docs.khoj.dev/advanced/ollama β© β©2 β©3 -
Khoj Docker Compose β
KHOJ_TELEMETRY_DISABLE=Trueand Ollama config. https://github.com/khoj-ai/khoj/blob/master/docker-compose.yml β© β©2 -
khoj-ai β khoj Releases (2.0.0-beta.28 of 2026-03-26), commits (last on 2026-08-02), and README (mention of Pipali); pipali (Apache-2.0, release 0.10.0 of 2026-09-14), accessed 2026-10-10. https://github.com/khoj-ai/khoj/releases Β· https://github.com/khoj-ai/khoj/commits/master Β· https://github.com/khoj-ai/pipali β© β©2