Show HN: Obsidian AI Copilot – Claude Code, OpenCode 등을 Obsidian으로 가져옵니다.
hackernews
|
|
📦 오픈소스
#ai 딜
#ai 코파일럿
#anthropic
#claude
#claude code
#cli 도구
#gemini
#obsidian
#에이전트
원문 출처: hackernews · Genesis Park에서 요약 및 분석
요약
옵시디언(Obsidian)을 위한 '애절런틱 코파일럿(Agentic Copilot)' 플러그인은 특정 AI 모델에 종속되지 않고 사용자가 이미 설치한 클로드 코드(Claude Code)나 오픈코드(OpenCode) 등의 CLI 에이전트를 연동해 지식 베이스 내에서 작업할 수 있게 해줍니다. 이 플러그인은 별도의 복잡한 설정 없이 환경을 자동 감지하며, 사이드바에서 실시간 스트리밍 채팅을 제공하고 에이전트가 제안한 파일 변경 사항을 인라인 디프(diff) 형태로 보여줍니다. 또한 다중 세션을 지원하여 여러 독립적인 패널을 열어 병렬로 작업할 수 있고, 사용자의 데이터가 중간 매체를 거치지 않고 로컬 CLI 도구와 직접 소통한다는 보안적 장점도 갖추고 있습니다.
본문
Bring agentic CLI tools into Obsidian as a workspace copilot. Claude Code • Opencode • Gemini CLI • Any custom agent Agentic Copilot is a thin orchestration layer that connects Obsidian to whatever agentic coding tool you already use. It doesn't reinvent the wheel — it gives the wheel a steering column inside your knowledge base. Auto-detects your environment. Zero configuration required. - Why Agentic Copilot? - Quickstart - Features - Supported Agents - Commands - Configuration - How It Works - Development - Troubleshooting - FAQ - Contributing - License Most AI plugins ship their own LLM integration, locking you into a specific provider and model. Agentic Copilot takes a different approach: it connects to the CLI tools you already have installed — tools that handle auth, model selection, context windows, and tool use on their own. You (Obsidian) Agentic Copilot CLI Agent LLM Provider ~~~~~~~~~~~~~~~ (this plugin) What you get: - Use the same agent, same config, same API keys as your terminal workflow - Every improvement to Claude Code / Opencode / Gemini CLI lands in Obsidian automatically - Swap agents with a single command — no settings migration, no API key juggling - Your data never touches an intermediary — it flows directly from plugin to your local CLI tool # Claude Code (recommended) npm install -g @anthropic-ai/claude-code # — or — # Opencode curl -fsSL https://opencode.ai/install | bash | Method | Steps | |---|---| | Community Plugins | Settings → Community Plugins → Browse → search "Agentic Copilot" → Install → Enable | | BRAT (beta/pre-release) | Install BRAT → Add beta plugin → enter spencermarx/obsidian-ai | | Manual | Download main.js , manifest.json , styles.css from the latest release into /.obsidian/plugins/agentic-copilot/ → restart Obsidian → enable | Click the bot icon in the ribbon, or run Ctrl/Cmd+P → "Agentic Copilot: Open chat panel". That's it. The plugin auto-detects your agent and you're ready to go. A conversational side panel that streams agent responses in real-time, rendered with Obsidian's native markdown engine — links, code blocks, and themes all just work. Every prompt automatically includes your active file, text selection, and vault path so the agent knows what you're looking at. Fully configurable in settings. Type / in the chat input to autocomplete agent-native commands — /commit , /compact , /review-pr , /help , and more. Commands come directly from the connected CLI tool. When the agent suggests file changes, they appear as inline diffs with Accept / Reject buttons. No changes are applied without your confirmation (unless you enable auto-apply). Open multiple independent chat panels, each with its own agent session. Use different agents in different panels, or run parallel conversations with the same one. Select text in any file, then: - Right-click → Ask Agent — send the selection as a prompt - Right-click → Explain Selection — get an explanation - Command palette — Explain, Refactor, Ask about file, Run slash command On load, the plugin scans your PATH for known CLI tools and presents the first one found. Switch agents anytime via the command palette or settings. | Agent | Binary | Output Mode | Status | |---|---|---|---| | Claude Code | claude | --output-format stream-json (structured streaming) | ✅ Full support | | Opencode | opencode | run mode (text/JSON) | ✅ Full support | | Custom | any | stdin/stdout pipes | ✅ Generic adapter | | Gemini CLI | gemini | — | 🚧 Planned | Want to add your agent? See Adding a New Agent — it's a single file. Open with Ctrl/Cmd+P (command palette): | Command | Description | |---|---| | Open chat panel | Open or focus the chat sidebar | | Open new chat session | Open an additional chat panel (multi-session) | | Ask agent about current file | Send the active file to the agent | | Ask agent about selection | Send selected text to the agent | | Explain selection | Ask the agent to explain selected text | | Refactor selection | Ask the agent to refactor selected code | | Run agent slash command | Fuzzy-search and execute an agent slash command | | Restart agent session | Kill and restart the current session | | Switch agent | Switch between detected CLI agents | All commands are prefixed with Agentic Copilot: in the command palette. Open Settings → Agentic Copilot: Agent Settings | Setting | Description | Default | |---|---|---| | Agent | Which CLI tool to use (Auto-detect , specific agent, or Custom ) | Auto-detect | | Custom binary path | Full path or command name for a custom CLI agent | — | | Extra CLI arguments | Additional args appended to every invocation (e.g., --model opus ) | — | Context Settings | Setting | Description | Default | |---|---|---| | Working directory | Agent's cwd: vault root or active file's parent directory | Vault root | | Include active file | Auto-include the active file's content in every prompt | On | | Include selection | Auto-include the current text selection in every prompt | On | Session Settings
Genesis Park 편집팀이 AI를 활용하여 작성한 분석입니다. 원문은 출처 링크를 통해 확인할 수 있습니다.
공유