Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Gemini AI Commander

etsefzaleetsefzale154 downloads

A simple AI assistant to help with your notes using the Google Gemini API.

Add to Obsidian
Gemini AI Commander screenshot
Gemini AI Commander screenshot
  • Overview
  • Scorecard
  • Updates13

A simple, fast, and highly customizable AI assistant for your Obsidian vault, powered by the Google Gemini API. Process your notes, summarize audio lectures, and chat with your files—all without leaving your workflow.

This is my first Obsidian plugin EVER, so I hope you enjoy it!

(in all honesty im just surprised it even works lol)


✨ Features

  • 💬 Chat: Ask Gemini a quick question and insert the answer directly into your note.
  • 📝 Summarize (Replace or Insert): Process the current note text and attached files to generate structured notes based on your customizable Default Action.
  • 🧠 Chat w/ File (Replace or Insert): Provide custom instructions (e.g., "Translate this to Spanish" or "Explain this concept") to process the current note and its attachments.
  • ⚡ Real-Time Streaming (1.2.0+): Watch the AI type out its response right before your eyes! No more waiting for massive blocks of text to load all at once.
  • 🛑 Cancel Kill-Switch (1.2.0+): Changed your mind or gave the wrong prompt? Instantly stop the AI's generation mid-sentence using the command palette or the sidebar ribbon button.
  • 📎 Universal File Support: Just drag and drop a file into your note! Automatically reads media, documents, embedded notes, and drawings (see supported formats below).
  • 🛡️ Safe Fallbacks & Error Catching: If the API fails, your rate limit is hit, or your internet drops, the plugin safely reverts your note so you never lose your original text.
  • 🔄 Live Model Updates (1.4.0+): Don't see a model you were looking for? Click refresh and the model list will update with the latest Gemini models.

🗂️ Plugin & File Support

Gemini AI Commander is built to understand your vault, no matter how you link or format your files. It natively processes Wiki-links (![[File]]), standard Markdown links (![Image](https://raw.githubusercontent.com/etsefzale/obsidian_gemini-ai-commander/HEAD/file)), aliases, and block references.

Natively Supported Formats:

  • 📝 Note Transclusion: Embed standard notes directly into your prompt (.md, .txt, .canvas).
  • 🖼️ Images: .png, .jpg, .jpeg, .webp, .heic
    • NOTE: This WILL NOT read .svg or similar vector-based image files.
  • 🎧 Audio: .mp3, .m4a, .mp4, .wav, .webm
  • 📄 Documents: .pdf

🎨 Excalidraw Integration (v1.1.0+): Gemini AI Commander now features integration with the official Excalidraw plugin! When you embed a .excalidraw or .excalidraw.md file, the plugin bypasses your physical hard drive and uses Excalidraw's developer API to render a high-res image directly in your device's active RAM.

  • NOTE: Excalidraw Integration ONLY READS FILES ending in .excalidraw or .excalidraw.md; this WILL NOT read .excalidraw.svg files, and it will use standard image processing for .excalidraw.png files, so MAKE SURE YOUR FILES ARE UPDATED!

🚀 Getting Started

To use this plugin, you will need a free API key from Google AI Studio.

  1. Go to Google AI Studio and sign in with your Google account.
  2. Click Get API Key and generate a new key (no credit card required).
  3. Open Obsidian, go to Settings > Gemini AI Commander, and paste your key.

⚙️ Recommended Settings

  • Model: gemini-2.5-flash (Highly recommended! It has a massive 1-million token context window, is incredibly fast, and is very friendly to the Free Tier rate limits).
  • Temperature: 0.2 (Keeps the AI factual, structured, and strictly adherent to your formatting instructions).

📦 Installation

This plugin is officially available in the Obsidian Community Plugins directory!

  1. Open Obsidian and go to Settings > Community Plugins.
  2. Turn off Restricted mode if it is currently enabled.
  3. Click Browse and search for Gemini AI Commander.
  4. Click Install, then Enable.
  5. Go to the new Gemini AI Commander settings tab and enter your Google AI Studio API key.

🤝 Credits & Inspiration

This plugin was heavily inspired by the incredible work of Simon Yang on his AI Commander plugin (which utilizes OpenAI models). His work is way more advanced than mine, so absolutely go check his plugin out!

⚖️ License & Usage

This project is open-source under the MIT License. You are free to fork, modify, and use this code for your own projects, provided you include the original copyright notice and license file.

Original creation by Joshua Boyd / Etsef Zale (ΣПᗪΣЯ / Zaine (Z4I7E)).

98%
HealthExcellent
ReviewPassed
About
Chat with Google Gemini directly in your vault and insert AI responses into notes or process attached files. Summarize notes and media (text, images, audio, embedded notes), stream real-time output, cancel generation instantly, and revert safely if errors occur.
AIAttachmentsWriting
Details
Payments
Optional
Current version
1.4.0
Last updated
Yesterday
Created
3 months ago
Updates
13 releases
Downloads
154
Compatible with
Obsidian 1.0.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Payments
Depending on the model you use, you may be required to setup PAYG (Pay-As-You-Go) billing in Google AI Studio. This is so you are able to use a more advanced model like Gemini 3.1 Pro.
Author
etsefzaleetsefzale
ender.website
GitHubetsefzale
  1. Community
  2. Plugins
  3. AI
  4. Gemini AI Commander

Related plugins

Local GPT

Local Ollama and OpenAI-like GPT's assistance for maximum privacy and offline access.

Text Generator

Generate text content using GPT-3 (OpenAI).

Smart Composer

AI chat with note context, smart writing assistance, and one-click edits for your vault.

ChatGPT MD

A seamless integration of ChatGPT, OpenRouter.ai and local LLMs via Ollama into your notes.

Whisper

Speech-to-text using OpenAI Whisper.

Nexus AI Chat Importer

Import AI chat conversations from ChatGPT, Claude, and Le Chat exports into Obsidian as clean, readable Markdown files.

Neural Composer

Local Graph RAG powered by LightRAG. Chat with your notes using deep knowledge graph connections.

BMO Chatbot

Generate and brainstorm ideas while creating your notes using Large Language Models (LLMs) such as OpenAI's "gpt-3.5-turbo" and "gpt-4".

GPT-3 Notes

Generate notes on any subject using OpenAI's GPT-3.5 and GPT-4 language models.

Ollama

Enable the usage of Ollama within your notes.