AI Agent

by Manuel Magaña López
5
4
3
2
1
Score: 51/100

Description

The Obsidian Agent plugin introduces an AI-powered assistant that can read, write, and manage your notes using Google's Gemini model. With a clean and user-friendly interface, it enables actions like creating and editing notes or folders, listing files, searching within your vault, and performing web searches. You can also customize the agent's behavior to better suit your workflow. The plugin essentially acts as a bridge between your local notes and external AI services, allowing more dynamic content interaction directly from your vault.

Reviews

No reviews yet.

Stats

61
stars
7,933
downloads
9
forks
240
days
3
days
3
days
3
total PRs
0
open PRs
1
closed PRs
2
merged PRs
7
total issues
1
open issues
6
closed issues
0
commits

RequirementsExperimental

  • Google API key with Gemini access

Latest Version

3 days ago

Changelog

Build-time hardening: swap langsmith Node modules for browser stubs and neutralize React DOM dynamic creation so the bundle no longer triggers Obsidian filesystem/script-injection review flags.

README file from

Github

🚀 Overview

A simple and lightweight AI extension for Obsidian. Connect Google Gemini, Anthropic Claude, OpenAI, or a local Ollama model, and delegate basic tasks to an agent that can write, edit, and create notes and folders within your vault.

It features a user-friendly UI, inspired by other agentic apps.

main UI

🧠 Getting Started

  1. Clone the repository inside your ~/vault/.obsidian/plugins/ folder.
  2. Enable the plugin from Obsidian's settings panel.
  3. In the plugin's settings panel, choose your AI provider (Google, Anthropic, OpenAI, or Ollama) and add the corresponding credentials.

[!IMPORTANT]

  • For Google, Anthropic, and OpenAI, make sure you have a valid API key for the selected provider.
  • For Ollama, no API key is needed, just make sure your local Ollama server is running and the model has been pulled.
  • You can also add a custom base URL to connect to a different endpoint for the selected provider.

Start chating with the agent by locating and clicking on the brain icon in the left and right sidebars. Or add a hotkey to kickly acces your most recent chat.

hotkeys

💬 Chats

Manage your chats as Obsidian notes. Rename the chat by renaming the file.

chat-management

[!CAUTION]
Chat files are design to store the chat history and the messages metadata. Do not modify or move them.

🛠️ Tools

The agent can use the following tools to interact with your vault:

  • Create note: Create a new note in your vault.
    e.g: Create a note titled 'Project Ideas'
  • Read note: Read the content of a note.
    e.g: Read the active note
  • Edit note: Edit an existing note.
    e.g: Add a summary of this text: [...] to the note 'Book Review'
  • Create folder: Create a new folder.
    e.g: Create a folder called '2024 Plans'
  • List files: List files in a folder.
    e.g: List all files in the folder 'Research'
  • Vault Search: Search for content across your vault.
    e.g: Search if it exist a note called 'AI agent'
  • Note filtering: Return note paths that fall inside a date range.
    e.g: Give me yesterday's notes
  • Web search: Search for content on the web. Not available with Ollama models.
    e.g: Search on the web for todays temperature in Austin, Texas

Also you can right click over selected text, in your markdown notes, to summarize selection or ask agent.

And finally, you can also attach images by clicking the image icon, and notes with the @ icon in the input.

🟡 Disclosures

This plugin can connect to remote AI services (Google Gemini, Anthropic Claude, or OpenAI) to process your requests, or to a local Ollama instance.

Why is this needed?
The AI models that power these features run on external servers and require an internet connection, with the exception of Ollama, which runs locally on your machine. Your notes or queries are sent securely to the selected provider for processing, and the results are only returned to your vault.

To use Google, Anthropic, or OpenAI, you must set the corresponding API key. You are responsible for obtaining and managing your API keys. Ollama does not require an API key, but does require a local Ollama installation.

Network usage in detail:

  • Your messages, the notes and images you attach, and any note content the agent reads with its tools are sent to the AI provider you selected (Google, Anthropic, or OpenAI) — or stay on your machine if you use Ollama. Nothing is sent anywhere until you send a message.
  • The bundled LangChain library may download token-counting data from tiktoken.pages.dev (a public CDN for the js-tiktoken library) when estimating message sizes for OpenAI models.
  • The plugin makes no other network requests: there is no telemetry, no analytics, and no data is shared with the plugin author.

Other capabilities used by the plugin:

  • Vault access: the agent's tools can list, read, create, and edit notes and folders in your vault. Edits can be reviewed before being applied with the "Review changes" setting.
  • Clipboard: the copy buttons in the chat write the selected message or tool output to your system clipboard. The plugin never reads your clipboard.

🫱🏼‍🫲🏼 Contributing & Support

  • Found a bug? Open an issue here.
  • Want to contribute? Create a new pull request.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
TimeStamper
4 years ago by Martin Eder
A plugin for Obsidian to quickly insert customized date- and time-stamps to the currently active note
Copilot auto completion
3 years ago by Jordi Smit
Ollama
3 years ago by hinterdupfinger
Gladdis
3 years ago by Aurélien Stébé
Gladdis (Generative Language Artificial Dedicated & Diligent Intelligence System) - it's an AI chatbot.
Augmented Canvas
2 years ago by Léopold Szabatura
Supercharge your Obsidian canvas experience with AI features.
Prompt ChatGPT
2 years ago by Coduhuey
SystemSculpt AI
2 years ago by SystemSculpt.com
Enhance your Obsidian App experience with AI-powered tools for note-taking, task management, and much, MUCH more.
Local LLM Helper
2 years ago by Mani Mohan
An Obsidian plugin to process text, chat with AI, and semantically search your notes — works with any OpenAI-compatible LLM server (Ollama, LM Studio, vLLM, and more).
AI Chat as Markdown
2 years ago by Charl P. Botha
Notes Refresher
2 years ago by Connor Park
Obsidian plugin for AI-generated note refreshers
Image to notes by Photes.IO
2 years ago by Kanaries Data Inc.
AI Image to text notes plugin in obsidian
Nexus AI Chat Importer
2 years ago by Superkikim
Template by Note Name
2 years ago by Jacob Learned
A simple Obsidian plugin to automatically template notes based on their title
Daily News Briefing
a year ago by Adam Chen
Get AI-powered daily news summaries directly in your Obsidian vault. Stay informed about your topics of interest with smart, automated news collection and summarization.
On This Day I
a year ago by Ben Stuart
AI tools for Daily Notes, an Obsidian Plugin
Date Range Expander
a year ago by Mil
Obsidian plugin - Date Range Expander
Virtual Footer
a year ago by Signynt
Display markdown text (including dataview queries or Bases) at the bottom, top or in the sidebar for all notes which match a specified rule, without modifying them.
OpenAugi
a year ago by Chris Lettieri
The self-organizing second brain. Augmented intelligence for thinkers.
Images to Notes
a year ago by Rodolfo Terriquez
Turn photos of your handwritten notes into markdown
Pure Chat LLM
a year ago by Justice Vellacott
Turn notes into conversations with chatGPT or better yet Ollama
EasyLink
a year ago by isitwho
Select text in your obsidian editor to find the most similar content from other notes and easily create links.
packUp4AI
10 months ago by Jeffry
An Obsidian plugin that helps you manage context for external LLM apps.
NoteSmith
9 months ago by csteamengine