aneesh-mulye11 downloadsReview your notes with an LLM that sees only what you share: proofread, flag hard-to-parse sentences and fact-check, with every edit approved hunk by hunk.
A chat in Obsidian's sidebar for working on your writing with a language model. It runs on a local model (Ollama, LM Studio, llama.cpp…), or on Claude Code or Codex with the subscription you already have.
Two rules hold everywhere:

Lektor itself connects only to:
When you turn on Claude Code or Codex, those programs contact Anthropic's or OpenAI's services themselves, as they do when you use them directly, including for their own web searches. While one of them is answering, Lektor listens on 127.0.0.1 (a random port, with a token for that reply) so the program can call Lektor's tools; nothing outside your computer can reach it.
There is no telemetry and no analytics, no update checks, and no other network calls.
Core features work with a local model and no account.
Keys are kept in Obsidian's secret storage, not in Lektor's settings file.
claude and codex programs installed on your computer (from your PATH, or a path you set). That is why it works on desktop only.lektor-…), with an empty working folder for the program, so the program never runs in your vault, plus the files that run needs: Lektor's fixed instructions, how to reach Lektor's tools, and for Codex its model list and any images you attached. The folder is removed when the reply ends. For Codex, one empty working folder serves the whole Obsidian session and is removed when Lektor unloads.~/.codex. Lektor never reads, copies or sends your sign-in or any token. For Codex, Lektor tells it to ignore its settings, MCP servers and other configuration there and to keep its state and logs in the temporary folder; Codex may still refresh its own list of models in ~/.codex.These limits are enforced by Lektor's own lint rules and tests.
The file system (Node's fs). Used only by the Claude Code and Codex bridges, in one module (src/core/cli/fs.ts). It does only these things:
lektor-… folders in the system's temporary folder;claude or codex program exists.It never reads a file's contents. Your notes are read only through Obsidian's vault API.
Programs (Node's child_process). Used only by the bridges, in one module (src/core/cli/spawn.ts), and only once you turn a bridge on. It starts the installed claude or codex program directly, never through a shell, with a fixed list of arguments (built in src/core/cli/claude/args.ts and src/core/cli/codex/args.ts). It also runs those programs' own version and information commands. Nothing else is ever run.
The vault. Lektor lists file names, not contents, for three things: resolving links, offering notes and folders when you add context, and keeping excluded folders out. A note's contents are read only when it is in your context (the chips above the message box), or when the model asks for it and you share it. Your notes change only when you accept a proposed change; Lektor's own chats and settings are kept in its plugin folder.

claude CLI on this computer, signed in with your Claude subscription. Off until you turn it on.codex CLI on this computer, signed in with your ChatGPT plan. Off until you turn it on.Claude Code and Codex run locked down. Each runs in an empty temporary folder outside your vault, with its file and shell tools off and its own settings, hooks and MCP servers ignored, and it gets only Lektor's tools for your notes. Before the first chat each day, Lektor checks this on the installed version: if the CLI can read a file it shouldn't, or has a tool it shouldn't, the bridge stays off. Lektor never reads or copies your sign-in; it starts the CLI, which signs in by itself.

Every action is also in the command palette under "Lektor". None has a default hotkey; bind the ones you like in Settings → Hotkeys.
AGPL-3.0-or-later; see LICENSE. Bundled packages and their licences are listed in THIRD_PARTY.md.
Lektor's design drew on two MIT-licensed Obsidian plugins: LLM Hub (running CLI models from Obsidian, and serving tools to them over MCP) and Smart Composer (reviewing proposed edits block by block). Lektor contains no code from either.