pfrankov/obsidian-local-gpt
Local Ollama and OpenAI-like GPT's assistance for maximum privacy and offline access
What is this?
Local GPT is a plugin for Obsidian (a note-taking app) that lets you run AI actions on text you select in your notes. It works with local AI models (like those run by Ollama) or any provider you set up through a companion plugin called AI Providers. The goal is to give you a quick, private, and flexible AI assistant right inside your notes.
Key Features
- Context menu on selected text – Right-click (or use a hotkey) on highlighted text to pick an action like Summarize, Fix spelling, Continue writing, etc.
- Action Palette – A command palette (like Obsidian's own) where you can type a prompt or pick a saved action. It supports keyboard navigation, and you can override the model or provider for a single request.
- Works with images – You can send images to vision-capable models (e.g.,
bakllavavia Ollama). - RAG (Retrieval-Augmented Generation) – Can pull context from links, backlinks, and even PDF files. You need to install an embedding model (like
nomic-embed-textfor English orbge-m3for other languages) and configure it in settings. - Default actions – Comes with several ready-made actions: continue writing, summarize, fix grammar, find action items, general help, and a template for creating your own.
- Community Actions – Browse and install actions made by others directly from the plugin settings. They auto-update unless you modify the prompt or system prompt (changing the name alone doesn't stop updates).
- Reasoning modes – For models that support it, you can choose a “reasoning” mode (like a thinking mode) per request. The plugin reads the model's declared modes from the AI Providers plugin. You can also set a global default or use the API's default.
- Creativity control – Adjust the “temperature” (randomness) of responses. You can set a global value, per action, or per request. Choosing “API default” omits the temperature parameter entirely.
- Multiple languages – The plugin's interface is translated into 11 languages (English, Chinese, Dutch, French, German, Italian, Japanese, Korean, Portuguese, Russian, Spanish).
How It Works
- Install the plugin – Get it from the Obsidian community store or via BRAT.
- Install the AI Providers plugin – This is a separate plugin that manages connections to AI providers (like Ollama, OpenAI, etc.). You configure your providers there.
- Set up hotkeys – Assign hotkeys for “Show context menu” and “Action Palette” in Obsidian's Hotkey settings.
- Use it – Select text, trigger the context menu or palette, choose an action or type a prompt, and the AI responds. The answer is inserted below the selection (or replaces it if you press Alt+R / ⌥R).
Important Notes
- The plugin does not speed up AI responses – it's a front-end for local models.
- Saved actions keep their own prompt, system prompt, creativity, reasoning, and replace behavior. Model choices are local preferences and are not shared when you share an action.
- If you remove a provider, you must select it again for actions that used it. Errors from the provider are shown as-is.
- The plugin does not invent reasoning modes or thinking budgets – it only uses what the provider declares.
- For RAG, you need a separate embedding provider configured in settings.
Where to Get It
- Obsidian store:
https://obsidian.md/plugins?id=local-gpt - BRAT:
pfrankov/obsidian-local-gpt - AI Providers plugin:
https://obsidian.md/plugins?id=ai-providers
This explainer is based solely on the project's README.
Related
- Project
- Project
- Project
- Project
- Project