Sebastian Hanke11k downloadsReal AI agent for your vault. Coworker, Copilot & thinking partner, that maintains your memory & knowledge, adapts to your workflows, uses plugins, skills & tools with full safety controls. BYOK & MCP
English | 中文 (Simplified)
Agentic AI operating layer for your vault.
You describe a task, it plans, searches, reads, writes, and reports back. Every action is visible. Every write needs your approval. Every change is undoable in one click.
Free. Open source. Local-first. Works with cloud models, with your existing ChatGPT or Copilot subscription, or fully offline with Ollama or LM Studio.
Documentation | Install from Obsidian | Community page
A 7-minute animated tour through the whole machine: the agent loop, the harness with its five gates, tools, skills, and MCP, then one real job crossing every layer. Click to watch:
Also embedded on the capabilities page of the docs.
"Vault Operator might be the best Obsidian agentic AI plugin out there." Nick, Buy Me a Coffee
"I've just discovered your wonderful plugin, which to me is way more than a simple plugin. It is a real harness inside Obsidian. That's awesome!" arkham000, GitHub
"Vault Operator is one of the most interesting and powerful Obsidian plugins I've tried so far. The combination of agent functionality, vault access and document processing is particularly impressive." Stapledon-de, GitHub
"Love your work with Vault Operator." mikaljrue, Buy Me a Coffee
"Vault Operator plugin is exactly what I was looking for. The ability to plug in MCP, the support for various models and providers, the skills, and workflows. I am really looking forward to get my hands dirty. I am hoping I won't need to use VS Code + GitHub Copilot to help me manage my vault anymore." Buy Me a Coffee supporter
"I have only just started, but this is real motivation to get back into Obsidian again." hkocam, Buy Me a Coffee (translated from German)
A chatbot reads your prompt and answers. Vault Operator runs a loop: it picks an action, executes it against your vault, feeds the result back to the model, and continues until the task is done.
.obsidian-agentignore file.Drop a PDF or a Markdown source into the chat and ask for an ingest. The agent produces a clean source note with block IDs on every key claim, so each fact links back to the exact paragraph in the original.
Two paths:
Sense-making tutorial | Block-level provenance concept
A local vector index over your vault, plus full-text keyword search, graph expansion through wikilinks, and a local cross-encoder reranker. Ask "what do I know about X?" and the agent finds notes whose meaning is related, even when none of them contain the words you used.
The background analysis also surfaces note pairs that discuss similar topics without any wikilink between them, so you can spot connections you never wrote down.
Turn project notes into a Word document, structured data into Excel, or meeting notes into a draft PowerPoint deck. DOCX and XLSX output is clean and reliable. PPTX is in beta: corporate template cloning is not supported in this version, so treat client-facing decks as a starting point and finish them by hand.
The vault health check audits your knowledge graph for orphans, broken links, missing backlinks, weak clusters, inconsistent tags, and over-connected hubs. Findings come with actions: apply a mechanical fix, open a discussion with the agent, or dismiss. Every repair creates a checkpoint you can undo.
Vault Operator is fail-closed. Write operations need your approval unless you opted into auto-approve for that category. Every task creates checkpoints in a shadow git repository (separate from your own git history). Click "Undo all changes" in the chat and the files go back. Sensitive folders are gated by a .obsidian-agentignore file at the vault root.
Safety and control guide | Checkpoints concept
Vault Operator requires Obsidian 1.8.7 or newer.
For semantic search and the ingest workflows, also configure an embedding model in Settings > Vault Operator > Providers > Embeddings. The Quick start tutorial covers every step.
Full documentation lives at pssah4.github.io/vault-operator.
For end users:
For developers:
git clone https://github.com/pssah4/vault-operator.git
cd vault-operator
npm install
npm run build
Then copy main.js, manifest.json, and styles.css from the repo root into <vault>/.obsidian/plugins/vault-operator/. For watch mode and auto-deploy during development, point PLUGIN_DIR in .env at your test vault and run npm run dev.
Requirements: Obsidian 1.8.7 or newer, desktop only, Node.js 18+ for building.
Vault Operator is local-first. No telemetry, no analytics, no accounts.
The plugin makes network requests in four situations, all under your control:
web_search tool, going to Brave or Tavily.catalog.json and the skill package from raw.githubusercontent.com. Nothing is fetched on startup, no account is involved, and the request carries no information about you or your vault. Downloads are verified against the checksum in the catalogue before anything is written.Skills installed from the registry are not privileged. They install as Registry, and the agent still asks for approval before one of them changes anything, exactly as it does for a skill you wrote. Only the skills that ship inside the plugin are trusted.
The plugin also uses a few Node.js capabilities that go beyond the standard Obsidian API: filesystem access for the local knowledge database and the office document pipeline, shadow git for checkpoints, sandbox process spawning for evaluate_expression, and optional LibreOffice spawning for presentation rendering. Two paths write outside the vault: device-local state under ~/.obsidian-agent/ and the checkpoint shadow repository next to the vault folder. Everything else stays under the vault path or the plugin data directory. Commands are fixed binaries with structured arguments; the agent does not construct shell commands from chat text.
API keys are encrypted via Electron's safeStorage (OS keychain on macOS, Credential Manager on Windows, libsecret on Linux). Where safeStorage is not available, keys fall back to plain plugin settings.
Apache 2.0.
面向你的知识库(vault)的智能体 AI 操作层。
你描述一个任务,它就会规划、搜索、阅读、写入并向你汇报。每一个操作都可见。每一次写入都需要你的批准。每一处改动都能一键撤销。
免费。开源。本地优先。可以配合云端模型使用,可以用你现有的 ChatGPT 或 Copilot 订阅,也可以借助 Ollama 或 LM Studio 完全离线运行。
文档 | 从 Obsidian 安装 | 社区页面
一部 7 分钟的动画短片,带你走进整个系统:智能体循环、带五道闸门的 harness、工具、技能与 MCP,以及一个真实任务如何穿过每一层。点击观看(英文):
"Vault Operator 可能是目前最好的 Obsidian 智能体 AI 插件。" Nick, Buy Me a Coffee
"我刚发现你这个出色的插件,对我来说它远不只是一个简单的插件。它是 Obsidian 内部一个真正的运行框架(harness)。太棒了!" arkham000, GitHub
"Vault Operator 是我至今试过的最有意思、最强大的 Obsidian 插件之一。智能体功能、知识库访问和文档处理的结合尤其令人印象深刻。" Stapledon-de, GitHub
"很喜欢你在 Vault Operator 上做的工作。" mikaljrue, Buy Me a Coffee
"Vault Operator 插件正是我一直在找的东西。能接入 MCP、支持各种模型和提供商、还有 skills 和工作流。我真的很期待上手试试。希望以后不用再靠 VS Code + GitHub Copilot 来帮我管理知识库了。" Buy Me a Coffee supporter
"我才刚刚开始用,但这确实让我有动力重新回到 Obsidian。" hkocam, Buy Me a Coffee (译自德语)
聊天机器人读取你的提示词然后作答。Vault Operator 则运行一个循环:它挑选一个操作,在你的知识库上执行,把结果反馈给模型,如此持续,直到任务完成。
.obsidian-agentignore 文件把关。把一个 PDF 或 Markdown 来源拖进聊天,然后请求做一次 ingest。智能体会生成一份干净的来源笔记,在每一条关键论断上都带有 block ID,因此每个事实都能链接回原文中确切的段落。
两条路径:
Sense-making tutorial | Block-level provenance concept
在你的知识库上建立本地向量索引,再加上全文关键词搜索、通过 wikilinks 进行的图谱扩展,以及本地 cross-encoder 重排器。问一句 "what do I know about X?",智能体就会找出含义相关的笔记,哪怕它们一个都不包含你用过的词。
后台分析还会找出那些讨论相似主题、但彼此之间没有任何 wikilink 的笔记对,让你发现自己从未写下来的联系。
把项目笔记变成 Word 文档,把结构化数据变成 Excel,或把会议记录变成 PowerPoint 演示草稿。DOCX 和 XLSX 的输出干净可靠。PPTX 处于 beta 阶段:此版本不支持克隆企业模板,因此请把面向客户的演示当作一个起点,再手动完成收尾。
知识库健康检查会审查你的知识图谱,查找孤立笔记、失效链接、缺失的反向链接、薄弱的聚类、不一致的标签,以及连接过多的枢纽节点。每条发现都附带操作:应用一个机械化修复、与智能体展开讨论,或忽略。每一次修复都会创建一个可以撤销的检查点。
Vault Operator 是 fail-closed 的。写操作需要你的批准,除非你已为该类别选择了自动批准。每个任务都会在一个影子 git 仓库(与你自己的 git 历史相互独立)中创建检查点。在聊天里点击 "Undo all changes",文件就会还原。敏感文件夹由知识库根目录下的一个 .obsidian-agentignore 文件把关。
Safety and control guide | Checkpoints concept
Vault Operator 需要 Obsidian 1.8.7 或更新版本。
若要使用语义搜索和 ingest 工作流,还需要在 Settings > Vault Operator > Providers > Embeddings 中配置一个 embedding 模型。Quick start tutorial 涵盖了每一个步骤。
完整文档位于 pssah4.github.io/vault-operator。
面向终端用户:
面向开发者:
git clone https://github.com/pssah4/vault-operator.git
cd vault-operator
npm install
npm run build
然后把仓库根目录下的 main.js、manifest.json 和 styles.css 复制到 <vault>/.obsidian/plugins/vault-operator/。若要在开发过程中使用 watch 模式和自动部署,请把 .env 里的 PLUGIN_DIR 指向你的测试知识库,然后运行 npm run dev。
要求:Obsidian 1.8.7 或更新版本,仅限桌面端,构建需要 Node.js 18+。
Vault Operator 是本地优先的。没有遥测,没有分析统计,没有账户。
插件会在三种情形下发起网络请求,全都在你的掌控之下:
web_search 工具时,会发往 Brave 或 Tavily。插件还使用了少数几项超出标准 Obsidian API 的 Node.js 能力:为本地知识数据库和 office 文档流水线提供的文件系统访问、用于检查点的影子 git、为 evaluate_expression 启动的沙箱进程,以及用于渲染演示文稿的可选 LibreOffice 进程。所有写入都保持在知识库路径或插件数据目录之内。命令都是带有结构化参数的固定二进制程序;智能体不会用聊天文本拼出 shell 命令。
API 密钥通过 Electron 的 safeStorage 加密(macOS 上是系统钥匙串,Windows 上是凭据管理器,Linux 上是 libsecret)。在 safeStorage 不可用的地方,密钥会回退到明文的插件设置中。
Apache 2.0。