Agent Client

by rait-09
5
4
3
2
1
Score: 79/100

Description

The Agent Client plugin brings external AI agents into a docked or floating chat inside the vault and keeps each conversation tied to your notes. It can pass wikilink context, pasted files and images to the selected agent, show live terminal output, display note edits as word level diffs and store session history locally so earlier chats can be resumed or forked. The plugin also lets you switch models, modes and settings during a session, approve or reject requested actions, export chats as Markdown notes and run multiple agent sessions in parallel from editor tabs. Notes are read and written through the vault API, while the agent process runs locally with the same system access it would have in your terminal.

Reviews

No reviews yet.

Stats

2435
stars
277,831
downloads
223
forks
127
days
2
days
11
days
198
total PRs
11
open PRs
22
closed PRs
165
merged PRs
182
total issues
51
open issues
131
closed issues
1,322
commits

RequirementsExperimental

  • A supported local AI agent installation and sign in, such as Claude Code, Codex, Gemini CLI, Mistral Vibe, OpenCode, Kiro, Hermes Agent or a custom agent

  • Any external account or API key required by the chosen agent provider

Latest Version

12 days ago

Changelog

✨ Feature Release (v0.13.0)

This release reworks how tool calls appear in the transcript: results are rendered in full, calls collapse to a single row by default, and permission review moves to an overlay above the input box. It also adds two preset agents, Pi and Grok Build.

🌟 New:

  • 🧩 Standard Tool Content: Tool results are no longer dropped — text output, images, audio, links, and embedded resources returned by the agent are rendered inside the tool call, with raw output shown as a collapsed fallback when no structured content is available. (#386)
  • 📁 Collapsed Tool Calls: Each tool call is now a single frameless row (kind, title, status) that expands on click or via keyboard. Image results stay visible as thumbnails beside the row, and expanded output keeps live terminals running while collapsed. (#390)
  • 🔐 Permission Review Above the Input: Permission requests now appear as an overlay floating above the input box instead of inside the scrolling transcript, showing the command about to run or the diff about to be applied, with a count of queued requests. (#390)
  • 📋 Plan Strip: The agent's task plan moved out of the transcript into a collapsible strip under the chat header, showing progress at a glance without pushing messages around. (#402)
  • 💾 Tool Results in Chat Export: Exported Markdown now includes tool result text, links, and resources, and saves tool result images and audio as attachments the same way user attachments are handled. New "Include audio" settings mirror the existing image export options. (#412)
  • 🤖 Pi Preset: Pi is now a preset agent via the pi-acp adapter, with a setup page and install hint. Pi manages its own provider credentials, so no API key setting is needed. (#404)
  • 🤖 Grok Build Preset: xAI's Grok Build is now a preset agent, started with grok agent stdio. Sign in with grok login, or link an xAI API key; a signed-in session takes precedence over the key. (#419)
  • 🪟 Toggle All Floating Chats: New "Toggle all floating chat views" command minimizes every floating window while any is open and brings them all back otherwise, so one hotkey takes you to the editor and back. A "Minimize all floating chats" item was also added to the floating window's ⋮ menu. (#410)
  • 🔄 Remembered History Filters: The session history filters ("Show current vault only" and "Hide sessions without local data") are now remembered across opens and restarts, and the list opens already filtered the way you left it. (#406)

🔧 Improvements:

  • 🎨 Consistent Block Typography: Thinking blocks are no longer italic, and diff and terminal text now follow the chat font size setting instead of a fixed 12px, so all message blocks scale together. (#413)
  • 🎨 Word Diff Highlights: Removed the strikethrough from deleted-word highlights; color and weight alone mark the change, which reads more clearly around whitespace. (#408)
  • 💬 Agents That Echo the Prompt: Agents that send the user's message back while responding (Grok Build does) no longer cause it to appear twice in the chat. (#421)

🐛 Fixes:

  • 📝 Word-Level Diff Accuracy: Fixed deleted lines being rendered with the added line's whitespace (e.g. a task-list edit - [ ] → - [x] showed as - []), wrong word highlights pairing unrelated lines in multi-line replacements, a phantom "No newline at end of file" line, and an extra empty line at the end of new-file diffs. (#408)
  • 🔐 Zombie Permission Dialog: Fixed the permission dialog staying open after the agent process crashed; pending requests are now cancelled when the process exits. (#409)
  • 🔄 Stale Permission Requests: Fixed permission prompts from a previous run reappearing when loading a saved session. (#390)
  • 🪟 Floating Chat Font Size: Fixed the font size setting having no effect in floating chat windows, which also rendered at 15px instead of the default 14px. (#411)
  • 🔗 Wrapper Agents Not Finding Their CLI: Fixed agents installed under an absolute path (as set by Auto-detect) failing to start their companion CLI on macOS and Linux — e.g. "Could not start pi: executable not found" — by adding the agent's own directory to PATH. (#404)
  • ⚙ Settings Scroll Reset: Fixed the settings tab jumping back to the top whenever a toggle or dropdown re-rendered it. (#401)

🚀 Upgrade:

Update from v0.12.1 — no extra configuration required. New tool content and presets activate automatically.

⚠️ If you previously ran Pi or Grok Build as a custom agent with the id pi-acp or grok-build, that custom entry is renamed to pi-acp-2 / grok-build-2 to make room for the preset. Copy any custom path or environment variables into the preset settings, then delete the leftover custom entry.


👋 New Contributors

  • @stevenlaw32 made their first contribution in #388
  • @Mieluoxxx made their first contribution in #405
  • @meschkemaes made their first contribution in #419

Thank you for your continued support! Your feedback helps make this plugin better for everyone. 🙏

README file from

Github

Chat with Claude Code, Codex, Gemini CLI, and any ACP agent right in Obsidian — mention your notes with @ and let the agent read and edit them in your vault. No copy-paste.

MCP servers, Agent Skills, slash commands, permission prompts — whatever your agent can do, it works here out of the box.

Built on the Agent Client Protocol (ACP) by Zed.

Chat with an agent in the sidebar, right next to your notes

Turn Your Vault into a Front End for Your Agents

Side by side. Run several agents at once — in sidebar tabs, editor tabs, or floating windows — each with its own session and model. Broadcast a prompt to all of them, or cycle focus with a hotkey.

Three agents running side by side in editor tabs

Any folder. Point a chat at any directory with New chat in directory — a code project, a writing project, wherever your agent normally works. The agent picks up that folder's context files and project configuration, and you can still hand it vault notes with @ mentions.

In your notes. Embed a live chat inside any note with a code block — pin an agent, and let the conversation survive restarts with persist. Or add one-click agent buttons that fire a prepared prompt.

Mission control. The Session Manager lists every open conversation across sidebar, tabs, floating windows, and notes, with live status icons — including "waiting for permission". Click any entry to jump straight there.

Any ACP agent. Nine presets — Claude Code, Codex, Gemini CLI, Mistral Vibe, OpenCode, Kiro, Hermes Agent, Pi, Grok Build — plus any ACP-compatible agent as a custom entry. New agent ships ACP support tomorrow? Add it as a custom entry — no plugin update needed.

Features

  • Note Mentions: Reference notes with @ — fuzzy search over names, paths, and aliases. The active note is auto-mentioned, down to the exact lines you selected
  • Obsidian-Ready Answers: Agents are instructed to reply with [[wikilinks]], $LaTeX$, and clean Markdown tables (configurable)
  • Wikilink Context: [[links]] inside mentioned notes are surfaced as paths so the agent can decide which ones to read
  • MCP & Skills: Agents use the MCP servers and skills they already have — nothing to configure in the plugin
  • Slash Commands: Your agent's / commands, with inline argument hints
  • Images & Files: Paste or drag-and-drop into the chat
  • Modes, Models & Config: Switch them mid-session from the input toolbar, with a context-usage indicator
  • Visible Edits: Note edits show up as word-level diffs in the chat — you see exactly what changed
  • Permission Prompts: Approve or reject each agent action — from the banner or with a hotkey. Auto-allow is opt-in
  • Session History: Conversations are saved locally — resume or fork past sessions (agent-dependent)
  • Chat Export: Save conversations as Markdown notes with frontmatter, manually or automatically
  • Terminal Integration: Agents run commands with live output in the chat
  • Floating Chat: Draggable chat windows independent of the workspace — they remember their size and position
  • WSL Mode: Run agents inside WSL on Windows

Installation

  1. Open Settings → Community Plugins → Browse
  2. Search for "Agent Client"
  3. Click Install, then Enable

Get Started

  1. Install and authenticate an agent, following its setup guide:

    Claude Code · Codex · Gemini CLI · Mistral Vibe · OpenCode · Kiro · Hermes Agent · Pi · Grok Build · Custom Agents

  2. Open Settings → Agent Client and check the agent's path — Auto-detect usually finds it

  3. Click the robot icon in the ribbon and start chatting

Full Documentation

Security & Permissions

Agent Client is a desktop-only plugin. It launches your locally installed agents as child processes and lets them run terminal commands — that is the core of what it does. The filesystem is only probed read-only for the Auto-detect button; all note reading and writing goes through Obsidian's vault API.

Keep in mind that the agents themselves have the same full system access they have in a terminal. The plugin surfaces every permission request so you can approve or reject each action; Auto-allow permissions (off by default) skips those prompts entirely — enable it only if you understand the implications.

API keys are stored in Obsidian's Keychain, never as plain text. What leaves your machine is what you send to your agent's provider: your messages, mentioned notes, and attachments.

Other Ways to Install

Via BRAT (Pre-release Versions)

To try pre-release versions before they are published to Community Plugins:

  1. Install the BRAT plugin
  2. Go to Settings → BRAT → Add Beta Plugin
  3. Paste: https://github.com/RAIT-09/obsidian-agent-client
  4. Enable Agent Client from the plugin list

Manual Installation

  1. Download main.js, manifest.json, styles.css from Releases
  2. Place them in VaultFolder/.obsidian/plugins/agent-client/
  3. Enable the plugin in Settings → Community Plugins

Development

npm install
npm run dev

For production builds:

npm run build

License

Apache License 2.0 — see LICENSE for details.

Contributors

Thanks to everyone who has contributed!

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
AI Companion
9 months ago by Kowshik
An Obsidian plugin that provides AI assistance using OpenAI's API, triggered by the `/ai` slash command.
Asciinema Player
9 months ago by Dinu Gherman
Asciinema player plugin to render asciicasts in Obsidian.
CAO
2 years ago by Godot
Claude AI for Obsidian
Claude Sidebar
2 months ago by derek-larson14
Run Claude Code, Codex, and other agent CLIs in Obsidian
Claudian
2 months ago by Yishen Tu
An Obsidian plugin that embeds Claude Code/Codex as an AI collaborator in your vault
Claudian Plus
2 months ago by wuyifan-code
Codex Panel
2 months ago by murashit
Codex in your sidebar. ChatGPT Work for your Obsidian vault.
Command Line
a year ago by Steven Stallion
Copy command lines from your notes to the clipboard.
Console Markdown Plugin
4 years ago by Daniel Ellermann
An Obsidian plugin which renders console commands and their output.
Copilot
3 years ago by Logan Yang
Run agents in Obsidian - OpenCode, Codex, Claude Code etc.
DeepSeek Harness Native
a month ago by wuruihi
Obsidian 侧边栏内驱动本地 DeepSeek Harness (DSH) Web GUI,支持 vault 双向桥接与 DSH 服务自动管理。
deepseek-ai-assistant
a year ago by algernon
FleurEPUB
16 days ago by JC5
FleurPDF
a month ago by JC5
Smart PDF reading and annotation plugin for Obsidian with AI-powered features
Gemini Helper
2 months ago by TAKESHI MORITA
AI chat, workflow automation, semantic search (RAG), LLM Wiki (OKF) powered by Google Gemini. Works on both desktop and mobile.
Gnome Terminal Loader
3 years ago by David Carmichael
hello nemesis
2 years ago by Dian
ICOR for Life - Chat
a month ago by Paperless Movement S.L.
Talk to your AI team where the knowledge lives. A Claude chat inside the vault: it sees the note you have open and the text you selected, answers in readable ICOR cards, and archives your sessions as notes. Part of the ICOR for Life suite.
ICOR for Life - Connect
a month ago by Paperless Movement S.L.
Your app.myicor.com account inside your vault: ICOR Journey and Growth Assignment dashboards, knowledge-base search, reflections synced as notes you own, and myICOR context for Claude sessions. Part of the ICOR for Life suite.
Large Language Models
3 months ago by eharris128
The LLM plugin gives Obsidian users access to local and web-based, large language models via several chat interfaces: modal, widget, FAB window, and commands.
Lean Terminal
4 months ago by Sascha D. Kasper
Embedded terminal for Obsidian powered by xterm.js and node-pty
LearnKit
3 months ago by William Guy
A native study system for your Obsidian vault. LearnKit turns notes into durable knowledge with flashcards, spaced repetition, reviews, tests, and AI tools.
LLM Hub
2 months ago by TAKESHI MORITA
Obsidian plugin for AI chat, workflow automation, and semantic search — supports Gemini, OpenAI, OpenRouter, Grok, Ollama, and CLI backends
Local LLM Hub
2 months ago by TAKESHI MORITA
All-in-one local AI hub for Obsidian — LLM chat with vault tools, MCP servers, RAG, workflow automation, encryption, and edit history. Fully private, no cloud required.
Local REST API with MCP
4 months ago by Adam Coddington
A secure REST API and Model Context Protocol (MCP) server for your vault.
MantouAI
3 years ago by Morino Pan
MantouAI—— 让Obsidian变身智能助手
MCP Connector
2 months ago by istefox
Your Obsidian vault, exposed to Claude and any MCP client. Runs inside Obsidian, on-device semantic search, no cloud round-trip, no binary to download.
Neural Composer
2 months ago by Oscar Campo
AI-Powered Graph Memory for Obsidian
Note Companion
4 months ago by nexus-jpf
Note Companion: AI assistant for Obsidian that goes beyond just a chat. (prev File Organizer 2000)
Open in Terminal
9 months ago by ChenFeng
Open your vault in a new terminal window or launch Claude Code, Codex CLI, or Gemini CLI from Obsidian
OsyC
12 days ago by 3yesore
Personal Assistant
4 months ago by edonyzpc
A plugin that harnesses AI agents and streamlining techniques to help you automatically manage Obsidian.
Pieces for Developers
3 years ago by Pieces For Developers
Pieces' powerful extension for Obsidian-MD that allows users to access their code snippets directly within the Obsidian workspace
Publish Note to Mowen Note
a year ago by ziyou
This is a mowen plugin for Obsidian (https://obsidian.md)
Qiaomu Reader
16 days ago by 向阳乔木
已上架 Obsidian 社区插件市场:搜索 Qiaomu Reader 安装。Read EPUB, PDF and MOBI, highlight passages, keep linked notes and ask optional AI.
Rapid AI
2 years ago by Rapid AI
AI Assistant for selected text and generating content with Markdown. Shortcuts and quick action buttons provide instant AI assistance. It provides a high availability API for unlimited Chat GPT request rates, so you can ensure smooth work for any workload.
Ring a secretary
3 years ago by vorotamoroz
Shell commands
5 years ago by Jarkko Linnanvirta
Execute system commands via hotkeys or command palette in Obsidian (https://obsidian.md). Some automated events are also supported, and execution via URI links.
Sidet
2 months ago by Jiao Yingxing
An easy-to-use AI chat plugin for Obsidian with side browsing, focused conversations, and vault-aware knowledge capture.
SystemSculpt AI
3 months ago by systemsculpt
Enhance your Obsidian App experience with AI-powered tools for note-taking, task management, and much, MUCH more.
Terminal
4 years ago by polyipseity
Integrate consoles, shells, and terminals.
Vault LLM Assistant
a year ago by Brians Tjipto
An obsidian notebook plugin that uses LLM (OpenAI or Gemini) to answer questions and create new notes about your vault
Workbuddian
a month ago by jiang198012
Obsidian 插件:把本地 CodeBuddy CLI 或 Hermes agent 变成 vault 内 AI 聊天——流式回复、@引用、双后端切换。Obsidian plugin turning local CodeBuddy CLI or Hermes agent into an in-vault AI chat with streaming, @-references, and dual backends.
WorkBuddy
a month ago by Jason
obsidian plugin for workbuddy