2026-02-02 18:26:15 +01:00
2026-01-08 11:26:54 +01:00
2026-01-26 09:53:55 +01:00
2026-01-05 17:46:30 +00:00
2026-02-01 14:14:46 +01:00
2026-01-26 09:53:55 +01:00
2026-01-08 11:26:54 +01:00
2026-01-21 19:24:49 +01:00
2026-01-03 16:08:11 +00:00
2026-01-05 17:46:30 +00:00
2026-01-03 16:08:11 +00:00
2026-01-08 11:26:54 +01:00
2026-01-03 16:08:11 +00:00
2026-01-03 16:08:11 +00:00

OpenCode plugin for Obsidian

Give your notes AI capability by embedding Opencode OpenCode AI assistant directly in Obsidian:

OpenCode embeded in Obsidian

Use cases:

  • Summarize and distill long-form content
  • Draft, edit, and refine your writing
  • Query and explore your knowledge base
  • Generate outlines and structured notes

This plugin uses OpenCode's web view that can be embedded directly into Obsidian window. Usually similar plugins would use the ACP protocol, but I want to see how how much is possible without having to implement (and manage) a custom chat UI - I want the full power of OpenCode in my Obsidian.

Note: plugin author is not afiliated with OpenCode or Obsidian - this is a 3rd party software.

Requirements

  • Desktop only (uses Node.js child processes)
  • OpenCode CLI installed
  • Bun installed

Installation

  1. Clone to .obsidian/plugins/obsidian-opencode subdirectory under your vault's root
  2. Run bun install && bun run build
  3. Enable in Obsidian Settings > Community plugins
  4. Add AGENTS.md to the workspace root, use it to explain the structure

Usage

  • Click the terminal icon in the ribbon, or
  • Cmd/Ctrl+Shift+O to toggle the panel
  • Server starts automatically when you open the panel

Context injection (experimental)

This plugin can automatically inject context to the running OC instance: list of open notes and currently selected text.

It can be configured form the plugin settings.

Currently, this is work-in-progress feature with some limitations:

  • It won't work when creating new session from OC interface.

Settings

Available plugin settings
Description
Embed OpenCode AI assistant directly in Obsidian's sidebar.
Readme MIT 1.5 MiB
Languages
TypeScript 94.5%
CSS 4.3%
JavaScript 1.2%