binhong8768 downloadsAgentic AI assistant for reading and editing vault notes.
An agentic AI assistant plugin for Obsidian that can read and — with your approval — modify vault notes, powered by your choice of LLM provider.
Smart Note Agentmain.js, manifest.json, and styles.css from the latest release<your-vault>/.obsidian/plugins/smart-note-agent/Open Note Agent from the command paletteNew Chat to start a fresh conversation; previous conversations are saved and accessible via the history panel| Provider | Notes |
|---|---|
| OpenAI | GPT-4o, GPT-4o-mini, o1, o3, etc. |
| Anthropic | Claude 3.5 / 4 series |
| DeepSeek | deepseek-v3, deepseek-r1 |
| Qwen | Alibaba Cloud Dashscope (qwen-plus, qwen-max, etc.) |
| Kimi | Moonshot AI (moonshot-v1 series) |
| Zhipu | GLM-4 series |
| Z.ai | GLM-4 series via Z.ai |
| MiniMax | MiniMax-Text series |
| OpenRouter | Any model via openrouter.ai |
| Ollama | Local models — Llama, Mistral, Qwen, etc. |
| LM Studio | Local models via LM Studio |
| Custom | Any OpenAI-compatible or Anthropic-compatible endpoint |
Using a remote LLM provider (OpenAI, Anthropic, DeepSeek, Qwen, Kimi, Zhipu, Z.ai, MiniMax, OpenRouter) requires an account with that provider and a valid API key. Local providers (Ollama, LM Studio) and custom self-hosted endpoints require no account.
Remote LLM providers charge for API usage. You are billed directly by the provider you choose — this plugin has no subscription or in-app purchase of its own. Local providers (Ollama, LM Studio) are free.
When you send a message, the plugin transmits your message text and relevant vault context to the LLM provider you have configured. No data is sent to any service by default — the plugin is inert until you supply an API key and send a message. The following remote services may be contacted, depending on your provider selection:
| Provider | Endpoint |
|---|---|
| OpenAI | https://api.openai.com |
| Anthropic | https://api.anthropic.com |
| DeepSeek | https://api.deepseek.com |
| Qwen (Alibaba Cloud) | https://dashscope.aliyuncs.com |
| Kimi (Moonshot AI) | https://api.moonshot.cn |
| Zhipu | https://open.bigmodel.cn |
| Z.ai | https://open.z.ai |
| MiniMax | https://api.minimax.chat |
| OpenRouter | https://openrouter.ai |
Ollama and LM Studio communicate only with localhost — no data leaves your machine. The Custom provider connects to whatever endpoint you configure.
This plugin reads, writes, and enumerates vault files in order to operate:
list_folder and search_vault tools scan all files (or all Markdown files) in the vault to find matches. Only file paths and content relevant to the query are sent to the LLM.When you click the Copy button on a code block in the chat view, the plugin writes that code block's text to your clipboard via the browser Clipboard API. The plugin never reads from your clipboard.
npm install
npm run dev # esbuild watch mode — rebuilds on save
npm run build # tsc type-check + production bundle
npm test # unit tests (Vitest)
For local testing, symlink or copy the dist/ folder into your vault:
<vault>/.obsidian/plugins/smart-note-agent/
The plugin artifacts (main.js, manifest.json, styles.css) are output to dist/ after each build.