Skip to content

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=True in 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

πŸ“š Sources

Footnotes

  1. Khoj GitHub β€” second brain, self-hostable, documents, agents, and automations. https://github.com/khoj-ai/khoj ↩ ↩2 ↩3 ↩4

  2. 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 ↩

  3. Khoj docs β€” Ollama integration and OPENAI_BASE_URL. https://docs.khoj.dev/advanced/ollama ↩ ↩2 ↩3

  4. Khoj Docker Compose β€” KHOJ_TELEMETRY_DISABLE=True and Ollama config. https://github.com/khoj-ai/khoj/blob/master/docker-compose.yml ↩ ↩2

  5. 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

Give my opinion

Everything is optional: one answer is enough. This site sends nothing: you send it, the way you choose.

Your noteNo note
Your opinion is about
About what? (several choices possible)
What will be sent
Send by e-mail

Private, no account: opens your mail program with the message ready, for ia-on-prem@damien.becherini.fr.

Open a GitHub issue β†—

Public, with a GitHub account. You read the issue again before you publish it.

To paste it wherever you want.

Give at least a note, a subject or a message to be able to send.