Khoj: your open-source AI second brain that runs locally or in the cloud

AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.

Why it matters

Developers and note-takers can now query their own documents and codebases with an AI assistant that stays fully offline, avoiding third-party data exposure.

Read this as

Khoj is a free, open-source (MIT-licensed) AI assistant that reads your own notes, PDFs, and files so you can ask questions like 'what was that idea about microservices?' and get answers from your data. Unlike typical chatbots, it can run entirely on your own computer with no internet, so nothing is sent to outside companies. It works with tools like Obsidian and Emacs, or via a desktop app. Non-technical users can start with the desktop download, which includes a bundled local AI model.

Khoj, an MIT-licensed open-source project, offers a self-hosted alternative to cloud AI assistants, indexing files locally and answering questions over them. For organizations, the gain is control: sensitive notes and documents can stay fully offline with no 'we'll train on your data' surprises. It runs on a local model, GPT4All, or a paid OpenAI connection, so there is no mandatory vendor. Costs beyond optional cloud API usage are self-hosting effort; no enterprise pricing is mentioned.

Khoj is a Python backend providing semantic search and chat over indexed content, Markdown, Org-mode, PDFs, plaintext, and code files. It supports pluggable model backends: OpenAI, GPT4All, or local models via Llama.cpp. Interfaces include a web app (localhost:42110 when self-hosted), desktop app with a bundled local model, Obsidian plugin, Emacs integration, and a REST API. The article reports no benchmarks, latency figures, or index-size limits.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Khoj Obsidian Emacs OpenAI GPT4All Llama.cpp GitHub

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading

datasette-charts 0.5a0

Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.

datasette-charts 0.4a0

Datasette now lets developers add custom chart types more easily, expanding visualisation options for data projects.