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

OChat

RanienduRaniendu178 downloads

Chat with local models using active note and vault context.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

OChat is an Obsidian plugin for chatting with local models using the active Markdown note and relevant vault context. It supports Ollama by default and OpenAI-compatible local servers such as LM Studio or llama.cpp server.

Current release: 0.1.0.

Features

  • Right sidebar chat for active-note and vault-aware questions.
  • First-run setup that checks the default Ollama endpoint and shows a model picker when local models are found.
  • Ollama provider using POST /api/chat and GET /api/tags.
  • OpenAI-compatible provider using /v1/chat/completions and /v1/models.
  • Active note, selected text, explicit @note attachments, and ranked Markdown vault snippets in context.
  • Compact assistant composer with context chips, @ note suggestions, Ask/Edit toggle, and icon controls.
  • Rendered Markdown chat responses using Obsidian's Markdown renderer.
  • Collapsed model thinking blocks for models that emit <think>...</think>, plus a live thinking... indicator while a request is running.
  • Endpoint testing in the sidebar settings panel with visible success, warning, and failure states.
  • Markdown edit proposals with review mode enabled by default.
  • Markdown-only file writes through Obsidian APIs.

Privacy and network use

OChat sends prompt text, active-note content, selected text, and selected vault snippets to the configured model endpoint. The default endpoint is http://localhost:11434.

Localhost and private LAN endpoints are allowed without extra acknowledgement. Public endpoints require an explicit acknowledgement in settings because note and vault context may leave your machine.

OChat does not include telemetry, ads, remote assets, or an auto-update mechanism.

Requirements

  • Obsidian 1.12.7 or newer.
  • Node.js 18 or newer for development.
  • Ollama or another compatible local model server.

Ollama quick start

  1. Install Ollama from ollama.com.
  2. Pull a model:
ollama pull llama3.2
  1. Confirm the local API is running:
curl http://localhost:11434/api/tags
  1. In OChat settings, use provider Ollama, base URL http://localhost:11434, and model llama3.2.

When OChat opens for the first time, it also checks http://localhost:11434 automatically. If models are found, choose one from the model picker. If Ollama is running somewhere else, enter that endpoint in the setup panel and test it.

Context workflow

OChat always includes the active Markdown note and current selection when you send a prompt. The composer shows the active note as a context chip so you can see what is grounded by default.

To attach more Markdown notes, type @ in the composer and choose a note from the suggestions, or click the plus button and search the vault. You can also type references directly, such as @README.md, @"Projects/Move Plan.md", or @[[Areas/Moving/00 Moving Dashboard.md]].

If you do not attach every relevant note, OChat still runs capped lexical search over the Markdown vault and includes ranked snippets that match your prompt, while respecting excluded folders.

Local development

Install dependencies:

npm install

Run tests:

npm test

Build the plugin:

npm run build

Install into a local vault:

npm run install-local -- "/path/to/Your Vault"

Then open Obsidian, enable community plugins, and enable OChat from Settings.

Installing from a GitHub release

Until OChat is approved in the Obsidian Community directory, install it manually from a GitHub release:

  1. Download main.js, manifest.json, and styles.css from the latest release.
  2. Create this folder in your vault: .obsidian/plugins/ochat.
  3. Copy the downloaded files into .obsidian/plugins/ochat.
  4. Reload Obsidian and enable OChat in Settings > Community plugins.

Editing notes

When you ask OChat to edit notes, the model must return structured patch JSON with path, original, replacement, and rationale. OChat validates that each target is a Markdown file and that the original text appears exactly once before applying a replacement.

Review mode is on by default. With review mode enabled, proposed edits are shown in the OChat sidebar and require approval. If you turn review mode off, valid Markdown patches are applied automatically.

License

MIT

HealthExcellent
ReviewPassed
About
Chat with local models from a right sidebar using the active note, selected text, @note attachments, and ranked vault snippets as context. Connect to Ollama or OpenAI-compatible local servers, pick models, render Markdown replies, propose Markdown edits with review mode, and test endpoints with visible success/warning/failure states.
AISidebarEditing
Details
Current version
0.1.0
Last updated
2 months ago
Created
2 months ago
Updates
1 release
Downloads
178
Compatible with
Obsidian 1.12.7+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
RanienduRanienduraniendu
GitHubraniendu
  1. Community
  2. Plugins
  3. AI
  4. OChat

Related plugins

HiNote

Add comments to highlighted notes, use AI for thinking, and flashcards for memory.

Gemini Scribe

Allows you to interact with Gemini and use your notes as context.

Claude Sidebar

Run Claude Code in your sidebar.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Copilot

Your AI Copilot: Chat with Your Second Brain, Learn Faster, Work Smarter.

Fast Note Sync

Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base.

Vertical Tabs

Offer an alternative view that displays open tabs vertically, allowing users to group and organize tabs for a better navigation experience.