UNcore789 downloadsUse an AI assistant to search, understand, and update your Obsidian notes—with clear controls over what it can change.
Use an AI assistant to search, understand, and update your Obsidian notes—with clear controls over what it can change.
Connect your own model provider and API key; UNagent sends requests directly to that provider. See Data and safety for what leaves Obsidian and how file changes are reviewed.
中文文档 · Install from Obsidian · Releases and update notes
Illustrative flow. A request does not always call a tool; file review follows the action and approval mode.
@ selects notes, @@ folders, and @@@ tags. If UNreader or UNmemos is installed, entry rows also let you select RSS articles or memo cards.book_read reads EPUB, FB2, MOBI, AZW3, and TXT files. fetch_url converts a web page to Markdown. Neither is a general PDF or office-document reader.@ conversation entry, or explicitly ask them to perform a task. Each chat retains its own model and workspace; inserting a reference alone does not start a task.teach. This optional preset builds a learning workspace with short lessons, practice and learning records. It is enabled by default; your existing skill with the same name takes priority.UNagent uses your own model account. Provider usage fees, if any, are billed by that provider.
Recommended: in Obsidian, open Settings → Community plugins → Browse, search for UNagent, then choose Install and Enable.
To install or update manually, download the three files from the latest GitHub Release and place them in your vault:
<your vault>/.obsidian/plugins/unagent/
├── main.js
├── manifest.json
└── styles.css
In Obsidian, go to Settings → Community plugins, enable UNagent, then open it from the ribbon icon or the Open UNagent chat command.
Open Settings → UNagent → Models → + Add provider. Choose OpenAI-compatible, Anthropic, or OpenAI Responses; enter the provider's API key; then add a model name. The default API address is filled in for the selected protocol and can be changed.
For example: “Search my notes about reading and summarize the main ideas.” You can switch models with /model, set reasoning with /think, or choose a search mode with /search.
In the default and automatic approval modes, create/edit actions appear in a review card after they run. Read the approval and security boundaries before using tools that change files or call remote services.
For Codex or Claude Code on the same computer, open Settings → UNagent → General → External AI communication. Install the separate UNagent Connect 0.2.1 package and follow its installation and pairing guide. The Hub requires Node.js 22.13 or newer. Automatic execution is off by default and requires explicit setup; pairing does not launch an agent. The original manual bridge remains supported. Phone/tablet access to a computer’s local Hub is not supported.
data.json. Keep that file private; do not commit it or place it in a publicly synced folder.fetch_url sends the requested URL to that website, and the page text can then enter the model context.<aiFolder>/memory-v1; credentials and inline base64 attachments are omitted. Local summaries and search do not use the network. If “Use the model to refine summaries” is enabled, up to 10,000 characters from that saved chat are sent to your configured model provider in one request (output capped at 240 tokens); provider charges may apply. The model receives no tools. Turning off automatic organization pauses queued work; deleting a conversation removes its archive, summaries, index entry, and queue item. Previously trimmed legacy chats are best-effort and cannot regain text that was already lost.fetch_url does not block private or local network addresses. Use it only with URLs you trust. It refuses binary files and non-HTTP(S) schemes.delete_note and delete_folder always ask before running. Undo snapshots for folder deletion are limited to text files and at most 200 files / 500 KB; larger or non-text folders cannot be restored by UNagent's undo.run_command runs commands on your computer and is available only on desktop. Commands the plugin can prove are read-only can skip confirmation when that setting is enabled; other commands ask every time. You can turn off read-only command skipping in Settings → Security.run_command is the one desktop-only tool.book_read supports EPUB, FB2, MOBI, AZW3, and TXT. DRM-protected books are not supported. PDF and Office documents are not read by UNagent.Obsidian delivers plugin updates through its official Community plugin channel. See GitHub Releases for published versions and their update notes.
UNcore Source Available License — source-visible, not an open-source license. Reading and auditing the source is permitted for Obsidian's plugin review and personal learning or research. Commercial use, modification, redistribution, and republishing require prior written permission. The Community directory marks the listing as privately source-reviewed; the public repository contains a minified main.js, while the source is kept in a private repository for review. See LICENSE. The bundled teach preset is adapted from Matt Pocock’s skills under the MIT license; its attribution and license are included in the preset and LICENSE.
在 Obsidian 里用 AI 搜索、理解和整理笔记,并清楚掌握它能改什么。
连接你自己的模型服务和 API Key;UNagent 会直接向该服务发送请求。关于哪些内容会离开 Obsidian、文件改动如何复核,请先看数据与安全边界。
English · 从 Obsidian 安装 · 版本与更新说明
示意流程:每次请求不一定调用工具;文件复核方式取决于动作和审批模式。
@ 找笔记、@@ 找文件夹、@@@ 找标签。安装 UNreader 或 UNmemos 后,还能从入口行选择 RSS 文章或卡片。book_read 支持 EPUB、FB2、MOBI、AZW3、TXT;fetch_url 把网页转成 Markdown。它们都不是通用 PDF 或办公文档阅读器。@ 的「对话」入口引用它,也可明确要求它接收任务。各对话保留自己的模型与工作范围;插入引用本身不会派任务。teach 持续学习。 通过短课、练习和学习记录建立学习工作区。该预设默认开启、可以关闭;你已有的同名技能优先。UNagent 使用你自己的模型账户;如服务商收费,费用由服务商收取。
推荐方式:在 Obsidian 打开设置 → 第三方插件 → 浏览,搜索 UNagent,然后点击安装和启用。
如需手动安装或更新,从最新 GitHub Release下载三个文件,放到 vault:
<你的 vault>/.obsidian/plugins/unagent/
├── main.js
├── manifest.json
└── styles.css
然后在 Obsidian 设置 → 第三方插件中启用 UNagent,通过左侧栏图标或命令面板里的 Open UNagent chat 打开。
打开 设置 → UNagent → 模型 → + 添加厂商。选择 OpenAI 兼容、Anthropic 或 OpenAI Responses 协议,填写服务商 API Key,再添加模型名称。选择协议后会预填 API 地址,你也可以修改。
例如:“搜索我关于读书的笔记,并总结主要观点。”你可以用 /model 切换模型、用 /think 设置思考强度、用 /search 选择检索模式。
默认和自动审批模式下,新建/编辑动作执行后会进入复核卡片。使用会改文件或访问网络的工具前,请先阅读审批与安全边界。
需要连接同一台电脑上的 Codex 或 Claude Code 时,打开设置 → UNagent → 通用 → 外部 AI 通讯,安装独立的 UNagent Connect 0.2.1 通讯包,按包内说明安装与配对。Hub 需要 Node.js 22.13 或更新版本;自动执行默认关闭,需明确配置,配对本身不会启动外部 Agent。原有手动桥接仍保留。不支持手机/平板连接电脑上的本机 Hub。
data.json 中。 请妥善保管,不要提交到 Git,也不要放在公开同步目录。fetch_url 会把网址发给对应网站,网页正文之后也可能进入模型上下文。<aiFolder>/memory-v1;凭据字段和内嵌 base64 附件不归档。本地摘要和检索不联网。开启“使用模型改写摘要”后,每个待整理对话最多发送 10,000 字符到你配置的模型服务商,输出最多 240 tokens,服务商可能收费;该请求不带工具。关闭自动整理会暂停队列;删除对话会同时删除原文归档、摘要、索引项和队列任务。旧对话只能整理当前还留存的内容,无法恢复以前已裁掉的文字。fetch_url 不拦截内网或本机地址。 只打开你信任的网址。它会拒绝二进制文件和非 HTTP(S) 地址。delete_note 和 delete_folder 执行前总会询问。文件夹删除的撤销快照最多保存 200 个文件或 500 KB,且仅支持文本文件;超出范围时,UNagent 无法通过撤销恢复。run_command 会在你的电脑上运行命令,只在桌面端提供。开启只读命令免确认后,插件能证明为只读的命令可跳过确认;其余命令每次都会询问。可在设置 → 安全中关闭这项免确认。run_command 是唯一的桌面专属工具。book_read 支持 EPUB、FB2、MOBI、AZW3、TXT,不支持 DRM 保护的书籍。UNagent 不读取 PDF 和办公文档。插件更新通过 Obsidian 官方第三方插件渠道提供;已发布版本和对应更新说明见 GitHub Releases。
UNcore Source Available License——源码可见,但不是开源许可证。允许为 Obsidian 官方审核、个人学习或研究阅读和审计源码;商业使用、修改、再分发和再发布需事先取得书面许可。社区目录显示本插件的私有源码已通过审核;公开仓包含压缩后的 main.js,源码保存在私有审核仓库。详见 LICENSE。内置 teach 预设改编自 Matt Pocock 的 skills,该部分遵循 MIT 许可,署名及许可全文保留在预设和 LICENSE 中。