xlrve465 downloadsConnect local AI via Ollama for convenient text editing, note discussion, and web search for accurate information.
This plugin connects Ollama to Obsidian, so you can use local LLMs right inside your notes. I focused on making it useful for everyday note-taking and easy to use, with minimal settings.
The plugin has 3 modes: Edit, Discuss, and Web.
Why three modes?
The plugin is designed so that even small models (7B or even 4B in some cases) can be truly useful when working with your notes. For this reason, two of the three modes have history disabled. Splitting the plugin into three modes creates three isolated "brains" for different tasks, so even a weak model doesn't get confused and stays focused on the task at hand.
Arguably the main mode. Here you can give the AI a piece of text and an instruction about what to do with it.
The model will explain its actions, then present the edited text. You can apply it to your note, replacing the original. You can also apply the edit while keeping the original text under a spoiler. Or you can send the edited text back into context to continue refining it.
History is fully disabled in this mode for optimization (but you can chain edits by manually adding the edited text back into context).
This mode is a regular chat with the AI. It has conversation history — the bot remembers the thread. You can adjust how many messages it remembers in settings. You can also add context from your notes to discuss a specific piece of text.
This mode is for looking up specific information. Small models often hallucinate when it comes to obscure facts. If you need to quickly get a date, a definition, or any precise information while working with text — this mode has you covered.
History and context are disabled in this mode — the model focuses entirely on your search query.
Not all models support this mode. The model must be properly configured for tool calling. In my experience, Qwen family models work great. Most popular cloud models also work well. The plugin automatically detects whether the selected model supports Web mode.
You can add context in several ways:
![]() Right-click menu |
![]() +Add button |
![]() Drag & drop |
You can also assign a hotkey for adding context in Settings → Hotkeys (search for "Ollama").
Thanks to the Ollama team and the Obsidian team for their amazing tools.