Agentic Copilot – Bring Claude Code, OpenCode, Gemini CLI into Obsidian

Obsidian plugin that connects to CLI agents you already have installed. No built-in LLM integration, no API keys to configure in the plugin. It spawns your tool as a child process, pipes vault context into each prompt, and streams responses into a chat panel. Supports Claude Code, Opencode, and any custom binary via a generic adapter. Adding a new agent is a single file. Free, proudly Open Source (MIT licensed). Would love feedback on this for anyone that that tries it out.

  • AI Agent
  • Code Generation
  • Content Creation
Mar 19, 2026Visit website

AI Summary

Agentic Copilot is an open-source Obsidian plugin that integrates existing CLI AI agents, such as Claude Code and OpenCode, directly into the note-taking app. It works by spawning the local CLI tool as a child process, piping in vault context, and streaming responses into a chat panel.

Best For

Obsidian power users who already use CLI AI tools, Developers seeking to integrate custom AI agents into their note-taking workflow, Users who prioritize privacy and want to avoid cloud API keys in plugins

Why It Matters

It provides seamless, local integration of preferred CLI AI agents into Obsidian without requiring separate API key management or built-in LLM services.

Key Features

  • Connects to existing CLI agents without requiring built-in LLM integration
  • Pipes vault context into prompts and streams responses directly into a chat panel
  • Supports Claude Code, OpenCode, and custom binaries via a generic adapter
  • Adds new agents with just a single configuration file

Use Cases

  • A technical writer uses Obsidian to maintain documentation for an open-source project. They install Agentic Copilot to query Claude Code about specific code snippets from their vault, asking for explanations of complex functions to include in their guides without leaving their note-taking environment.
  • A researcher compiling literature reviews in Obsidian needs to analyze patterns across dozens of PDF annotations. They configure the plugin with a custom CLI agent to summarize key arguments from their notes, streaming concise insights directly into a sidebar chat for quick reference during writing.
  • A software developer keeps their project notes and meeting logs in Obsidian. During a debugging session, they pipe relevant error logs and code context from their vault to OpenCode via the plugin, receiving step-by-step troubleshooting suggestions that appear live in their workspace.