I Made an Obsidian Plugin That Turns Obsidian Into a Local LLM Agent IDE

Obsidian is great, I’ve already talked about it once in a blog for my research group OPIG and I use it everyday. I’m travelling a lot this year for conferences etc. an was conscious how I could minimise agentic AI usage withdrawals without internet. Local models are finally getting to a useable point for things like coding, reasoning and tool usage. No wifi requirements and actual privacy? For want of a less hypebeast term, local agentic Obsidian second braining really seems viable now.

Also trending are agentic dashboards - a kind of custom all-in-one IDE mind palace application concept that people have been building. Honestly this is as niche and technerd as you can get, very much tracking a similar cultification evolution to Arch Linux stanning. Personally I love it. So why not blend the two: An Obsidian dashboard for agentic local llm usage.

There already exists a plugin for agentic client ACP/MCP and sidebar chat with Obsidian, we also have the popular terminal plugin available. But I want to focus on local models and optimising vault-agent compatibility, protocols and configurations. So I vibe coded it into reality. Thanks Codex for the hard work, let me now present Local Sidekick and claim the credit.

Local Sidekick

Local Sidekick is essentially just a UI sidebar which neatly adopts standard Obsidian Markdown rendering and the user theme whilst displaying an agent chat just like VScode/copilot agent sidebar chats, plus a few neat vault-agent productivity features. It has recent chat sessions, vault file searching and referencing with @ symbol, minimal tool usage (restricted by default for safety but can be customised), pdf parsing, web search, chat export and reviewed file editing etc. In other words, most of what you’d expect from your equivalent coding agent IDE. It’s all wired through Ollama and the Pi agent harness for maximum customisability so you can max it with custom prompts and skills via Pi as much as you want.

Obsidian Community Store

GitHub Repo

Please crack at it, break it, criticise it and tell me what you think. If you have any feature requests / ideas, or are interested enough to review my mostly vibe-coded js code then holla! Meanwhile, I’ll keep updating it gradually and reporting back here.

light_mode

Local Sidekick seamlessly uses your Obsidian theme for its UI, supporting dark and light mode. It can be launched from the command palette or from the small AI agent icon on the left toolbar. Doing so will open the interactive dashboard as a tab in the right hand sidebar. An agent status panel at the top of the sidebar gives real time information on the local models being used alongside interactive buttons to find local models. Below a new chat can be started from an interactive prompt box with model selection or a recent chat from session history continued.

Features

  • Local model workflow through Pi and Ollama.
  • Persistent chat sessions with a history landing page.
  • Compact model rail with discovered Pi/Ollama models and capability badges.
  • Markdown and math rendering through Obsidian’s renderer.
  • Vault file mentions with @, including Markdown, text-like files, attachments, and best-effort PDF text extraction.
  • Prompt context helpers:
    • @search(query) for local vault search.
    • @semantic(query) for lightweight related-note search.
    • @vault-index for filenames and top headings.
    • @links or @links(query) for conservative internal link suggestions.
    • @cmd(command) for exact allowlisted local commands.
    • @url(url) for optional HTTPS web fetch context from explicitly allowlisted hosts.
  • Reviewed Markdown edit proposals with visible diffs and approval before write.
  • Chat export to Markdown, defaulting to a Chats/ folder in the vault.
  • Obsidian command palette actions for opening the sidebar, exporting chats, checking Pi/Ollama, and suggesting internal links.

dark_mode

Chat session agent reply streams are rendered in markdown with your Obsidian theme, handling math and standard formatting. For a full Obsidian IDE experience, use the terminal plugin alongside this so you never have to leave Obsidian.

Sidekick also includes a plugin-native internal link suggester, available from the command palette or with @links, that proposes connections between notes without requiring Pi tool support. It builds conservative candidates from Markdown filenames and top-level headings, ranks them with local related-note search, and shows reviewed diffs before any note is changed.

New Agentic Productivity Features Introduced in v0.1.8

I built in a number of productivity features that exploit vault-agent relationship and Pi customisability for turning your vault into a persistent source of agent instructions, memory, and workflow configuration.

  • Sidekick can now create a Sidekick/ folder in the root of your vault, including template .agent.md profiles for different use cases.
  • .agent.md profiles can specify preferred local models, tool usage preferences, included memory files, and system-style instructions written directly in Markdown.
  • Agent profiles can be selected from the UI, with model choices narrowed to the models that make sense for that profile.
  • Custom prompts, vault memory, project summaries, glossaries, and other reusable context can now live as ordinary Markdown files inside the vault and be referenced with @.
  • Users can ask the agent to help generate or update profile files and memory files, making it easier to maintain things like a vault glossary or project index over time.
  • Sidekick can export selected profiles, prompts, and skills in a Pi-compatible format for use outside the plugin.

Usage

Just install via the Obsidian Ciommunity Plugins store by searching for “Local Sidekick” or if you want to isntall from source follow isntructions on the GitHub repo.

You will need Ollama, the Pi agent harness, and at least one installed Ollama models

0%