claudian README

The project's README from github.com/YishenTu/claudian. As one markdown file: README.md.

Claudian

Claudian on Trendshift GitHub stars Obsidian downloads GitHub release License

Preview

An Obsidian plugin that embeds AI coding agents (Claude Code, Codex, Grok Build, Antigravity CLI, OpenCode, Pi, DeepSeek Harness, and more to come) in your vault. Your vault becomes the agent's working directory — file read/write, search, bash, and multi-step workflows all work out of the box.

Features & Usage

Open Claudian interface from the ribbon icon or command palette. Everything works like your familiar coding agent, Claude Code, Codex, Grok Build, Antigravity CLI, OpenCode, Pi, and DeepSeek Harness — talk to the agent, and it reads, writes, edits, searches and run commands in your vault.

Inline Edit — Select text or start at the cursor position + hotkey to edit directly in notes with word-level diff preview.

Projects — Group sessions that work toward a shared goal. Every member shares the project's instructions and a memory file that the agents keep current, and the agents can cooperate by finding, reading and messaging each other. See the Projects guide.

Zen Mode — Collapse the sidebar holding Claudian and the chat moves to a compact composer at the bottom of your notes, with a one-line activity preview and the conversation one click away.

Slash Commands & Skills — Type / or $ for reusable prompt templates or Skills from user- and vault-level scopes.

@mention — Type @ to reference vault files, folders and other Claudian sessions.

Cross-Session Messaging — Let agents read, message, steer or interrupt other Claudian sessions, or start new ones on any provider. See the Cross-session messaging guide.

Side Chat (/side or /btw) — Explore a separate, temporary conversation with follow-ups and tools while keeping the main chat unchanged.

MCP Servers — Connect external tools through each coding agent's native CLI-managed MCP configuration.

Tabs & Session Management — Use multiple tabs in single-pane mode or a persistent session manager beside the chat in dual-pane mode.

Plugin API (experimental) — Let other Obsidian plugins send prompts to sessions, stop them and read their replies. See the Plugin API guide.

Collaboration — Collab is now a standalone plugin. See Claudian Collab.

Requirements

Installation

  1. Open Obsidian → Settings → Community plugins → Browse
  2. Search for "Claudian" and click Install
  3. Enable the plugin

Or install directly from the community plugin page.

From source (development)

  1. Clone this repository into your vault's plugins folder:

    cd /path/to/vault/.obsidian/plugins
    git clone https://github.com/YishenTu/claudian.git realclaudian
    cd realclaudian
    
  2. Install dependencies and build:

    npm install
    npm run build
    
  3. Enable the plugin in Obsidian:

    • Settings → Community plugins → Enable "Claudian"

Development

# Watch mode
npm run dev

# Production build
npm run build

Privacy & Data Use

Troubleshooting

See the Troubleshooting guide for a provider CLI or Node.js that isn't found, a newly released model that is missing, and authentication that fails while the CLI subscription works. If you have a feature request or run into a bug, please submit a GitHub issue.

Architecture

src/
├── main.ts                      # Plugin entry point and sole composition root
├── composition/                 # Host objects and view wiring shared by app and features
├── app/                         # Startup, conversations, settings, and storage
├── core/                        # Provider-neutral execution, registry, and type contracts
│   ├── execution/               # Run, session snapshot, and interaction primitives
│   ├── providers/               # Provider registry and workspace services
│   ├── process/                 # CLI discovery and managed child processes
│   ├── prompt/                  # Prompt and context encoding
│   ├── auxiliary/               # Shared provider auxiliary services
│   └── ...                      # bootstrap, commands, rpc, security, storage, tools, types
├── providers/
│   ├── antigravity/             # Antigravity CLI ACP adaptor, transcript history, models
│   ├── claude/                  # Claude Agent SDK adaptor, native history, plugins
│   ├── codex/                   # Codex shared app-server adaptor, JSON-RPC, JSONL history
│   ├── deepseek/                # DeepSeek Harness native Remote adaptor, presets, and history
│   ├── grok/                    # Grok Build ACP adaptor, native history, models, and tools
│   ├── opencode/                # OpenCode HTTP adaptor, shared server
│   ├── pi/                      # Pi RPC adaptor, model discovery, JSONL history
│   └── acp/                     # Agent Client Protocol shared mechanics
├── features/
│   ├── agent-skills/            # Vault skill and Claude command management
│   ├── chat/                    # Sidebar chat: tabs, workspace lifecycle, controllers, renderers
│   ├── inline-edit/             # Inline edit modal and provider-backed edit services
│   └── settings/                # Settings shell and provider tabs
├── shared/                      # Reusable UI components, settings controls, mention/dropdown
├── i18n/                        # Internationalization (10 locales)
├── utils/                       # Domain-free leaf helpers
└── style/                       # Modular CSS

Contributing

Issues and focused pull requests are welcome. Issues are the preferred starting point: describe the problem, reproduction steps, and environment clearly so it can be investigated.

Before opening a pull request, please read the contribution guide. Pull requests must explain the problem, the proposed solution, why the approach is appropriate, and how the change was validated. Pull requests that add a new provider are not accepted; the guide explains this maintenance and product-quality boundary in detail.

Star History

Star History Chart

Sponsorship

Kimi (Moonshot AI)

Kimi (Moonshot AI)

Thanks Kimi (Moonshot AI) for supporting Claudian! Try a Kimi Code plan (CN | Global), or use the API through the Kimi Open Platform (CN | Global). New users receive bonus API credits equal to 10% of their first successful top-up. This offer ends December 31, 2026. Claudian receives no affiliate commission from these links.

Ke Holdings Inc. (BEIKE)

MOMA

Claudian is proudly sponsored by Ke Holdings Inc. (BEIKE) and the MOMA team. Their support helps Claudian continue to improve through ongoing development and maintenance.

Want to support Claudian or appear here? Contact me: [email protected].

License

Licensed under the MIT License.

claudian (YishenTu/claudian)

Searching Database…

What is this?Claudian is an Obsidian plugin that embeds AI coding agents (Claude Code, Codex, Grok, Opencode, Pi) into your vault, turning the vault into the agent's working directory for file read/write, search, and bash commands.
Is this a standalone app or does it need Obsidian running?It's an Obsidian plugin, not a standalone app — it lives inside the Obsidian desktop app and drives external coding-agent CLIs you already have installed.
How do I install Claudian?Install it from Obsidian's Community Plugins browser by searching for 'Claudian' and clicking Install, then enable it; alternatively, clone the repo into your vault's plugins folder and build it from source.
Do I need Claude Code or another CLI installed first?Yes — at least one harness (Claude Code CLI, Codex CLI, Grok Build, OpenCode, or Pi) must be installed, plus a compatible subscription or API provider such as OpenRouter, Kimi, GLM, or DeepSeek, and Obsidian v1.13.0+.
Any install pitfalls I should know about?The plugin bundle is now over 5 MB because of the Claude Agent SDK, so Obsidian's official Sync can't sync it — you need to install and update it manually on each device. CLI auto-detection can also fail on Windows if the provider CLI isn't on PATH for GUI apps.
Does Claudian work on mobile Obsidian or only desktop?Desktop only — macOS, Linux, and Windows. There's no mobile support, and Collab Mode additionally requires Git.
Where does my vault data go when I use Claudian?Your input, attached files, images, and tool call outputs are sent to whichever provider you select (Anthropic, OpenAI, xAI, or an OpenCode/Pi-configured backend); the plugin runs no telemetry of its own.
What is Collab Mode?An experimental feature letting multiple Claudian users work on a shared project together; Git-based project data and coordination metadata sync directly between teammates' devices over the local network, with no Claudian cloud service involved.
What does Inline Edit do?Select text or place the cursor and trigger a hotkey to have the agent edit directly in your notes, with a word-level diff preview before changes are applied.
Can I connect MCP servers to Claudian?Yes — MCP servers are configured through each coding agent's own native CLI-managed MCP configuration rather than a separate Claudian setting.
Why won't the maintainer accept PRs adding new agent providers?The contribution guide explicitly draws this as a maintenance and product-quality boundary, so new provider integrations are not accepted as community pull requests.
Creator
YishenTu
Size
39.4 MB
Stars
16K
Age
11mo
Commits · 90 Days