Claudian: Why Developers Are Ditching Standalone AI Agents for Obsidian
Your notes are dead weight. Every day, thousands of developers copy-paste between Obsidian and Claude Code, fracture their context across five different windows, and watch their precious mental models dissolve into tab chaos. What if your entire knowledge vault became the AI's workspace—not a file you awkwardly attach, but the native environment where intelligence lives, breathes, and builds? That's not a fantasy. That's Claudian, and it's about to fundamentally rewire how you think about AI-assisted development.
The pain is visceral and universal. You've meticulously architected your Obsidian vault—thousands of interconnected notes, MOCs (Maps of Content), fleeting captures transformed into permanent knowledge. Then you need Claude Code to refactor that API design document, or Codex to generate implementation notes from your architecture decisions. Suddenly you're exporting Markdown, losing wiki-links, destroying the very graph structure that makes your vault intelligent. The AI operates in a sterile void while your richest context rots in a sidebar. Claudian obliterates this fracture. It embeds Claude Code, Codex, Opencode, and future coding agents directly inside Obsidian, making your vault the agent's working directory with file read/write, search, bash execution, and multi-step workflows functioning natively. No context loss. No format mangling. Just seamless cognitive extension.
What Is Claudian?
Claudian is an Obsidian plugin that transforms your knowledge vault into a native AI collaboration environment. Created by developer Yishen Tu, it represents a paradigm shift in how we interface with large language models: instead of treating AI as an external service you query, Claudian makes AI an inhabitant of your knowledge space.
The plugin's architecture is deliberately provider-agnostic. While it launched with deep Claude Code integration—leveraging Anthropic's official CLI and Agent SDK—it now supports OpenAI's Codex and Opencode, with more providers on the roadmap. This isn't a thin wrapper around API calls. Claudian spawns actual CLI processes, manages their lifecycle, handles JSON-RPC transport for Codex, implements the Agent Client Protocol (ACP) for shared communication patterns, and maintains sophisticated session state including conversation forking, compaction, and resumption.
Why is this trending now? Three converging forces: the explosion of AI coding agents capable of autonomous file manipulation (Claude Code, Codex CLI), Obsidian's maturation as a serious developer knowledge base (not just note-taking), and the growing recognition that context is everything in LLM interactions. Developers realized that their most valuable context—their personal knowledge graphs, project documentation, research notes—lived in Obsidian, while their most powerful tools lived elsewhere. Claudian bridges this gap with architectural elegance, making it one of the fastest-growing community plugins in Obsidian's ecosystem.
The project's MIT license and active development (check that star history) signal serious open-source commitment. With 10 internationalization locales already implemented and a modular TypeScript architecture, it's built for longevity and community contribution.
Key Features That Redefine AI-Native Note-Taking
Native Vault Integration. Unlike browser-based AI interfaces or standalone apps, Claudian treats your Obsidian vault as the filesystem root. The agent reads your notes with wiki-links intact, writes new files respecting your folder hierarchy, executes bash commands in your vault's context, and searches across your entire knowledge base using familiar tools. This isn't "AI with file access"—it's "your vault gains autonomous intelligence."
Inline Edit with Word-Level Diff. Select any text in your notes, trigger the hotkey, and watch the agent propose edits with granular diff visualization. You see exactly what changes at the word level before accepting. This transforms rough captures into polished documentation without leaving your editing flow.
@Mention System. Type @ to reference vault files, subagents, MCP servers, or even external directories. This creates dynamic context assembly: your prompt automatically includes relevant notes, the agent can delegate to specialized subagents, and external tools integrate seamlessly. It's like @mentions in Slack, but for composable AI reasoning.
Plan Mode (Shift+Tab). Before executing, the agent explores your vault, analyzes requirements, and presents an implementation plan for your approval. This prevents destructive operations on precious notes and teaches you the agent's reasoning process. Toggle it off when you trust the workflow.
MCP Server Connectivity. Via Model Context Protocol, connect external tools through stdio, SSE, or HTTP transports. Claude manages vault-specific MCP in-app; Codex leverages its CLI-managed configuration. This means your agent can query databases, trigger CI/CD pipelines, or access proprietary APIs while remaining anchored in your notes.
Multi-Tab Conversation Management. Multiple parallel chat sessions, full conversation history, forking for experimental branches, resumption across sessions, and compaction to manage token limits. It's Git branches for thought—explore ideas without losing your main thread.
Instruction Mode (#). Inject refined custom instructions directly from chat input using # prefix. No diving into settings panels—just annotate your intent and the agent adapts its behavior in real-time.
Use Cases Where Claudian Dominates
Technical Documentation Generation. You've sketched API endpoints in fleeting notes. Select them, trigger inline edit, and Claudian expands them into complete OpenAPI specifications with examples—stored directly in your docs/ folder, cross-linked to your architecture decision records. The agent reads your existing patterns and matches your team's style.
Research Synthesis & Knowledge Distillation. Academic papers, conference talks, book highlights scattered across your vault. @mention relevant sources, ask for synthesis in Plan Mode, and receive a structured literature review that respects your Zettelkasten conventions. The agent preserves your atomic note principles while accelerating synthesis 10x.
Code-Adjacent Project Management. Your vault contains user stories, technical specs, and retrospectives. Claudian can read these, generate implementation tasks, update status in your notes as you discuss progress, and even draft commit messages based on your captured decisions. It becomes a project-aware collaborator, not just a code generator.
Personal Knowledge Base Refactoring. Legacy vaults accumulate structural debt. Use Plan Mode to analyze your graph density, identify orphaned notes, propose MOC restructuring, and execute migrations with human approval at each step. The agent understands Obsidian's linking syntax and maintains graph integrity throughout.
Multi-Agent Research Workflows. Configure MCP servers for arXiv search, GitHub issues, or internal wikis. Delegate subagents with specialized @mentions: one agent searches literature, another drafts methodology, a third critiques assumptions. Your vault becomes the coordination hub for distributed AI cognition.
Step-by-Step Installation & Setup Guide
Prerequisites
Before installation, verify your environment:
- Obsidian v1.7.2+ (Desktop only: macOS, Linux, Windows)
- Claude Code CLI installed via native installer (recommended) or npm: code.claude.com/docs
- Active Claude subscription/API or compatible provider (OpenRouter, Kimi)
- Optional: Codex CLI or Opencode for alternative providers
Method 1: Community Plugins (Recommended)
The simplest path for most users:
- Open Obsidian → Settings → Community plugins → Browse
- Search for "Claudian" and click Install
- Enable the plugin
Or visit the community plugin page directly.
Method 2: Manual GitHub Release
For specific versions or pre-releases:
- Download
main.js,manifest.json, andstyles.cssfrom the latest release - Create the plugin directory in your vault:
/path/to/vault/.obsidian/plugins/claudian/ - Copy downloaded files into this folder
- Enable in Obsidian: Settings → Community plugins → Enable "Claudian"
Method 3: Development Build
For contributors or bleeding-edge features:
# Navigate to your vault's plugins directory
cd /path/to/vault/.obsidian/plugins
# Clone the repository
git clone https://github.com/YishenTu/claudian.git
cd claudian
# Install dependencies and build
npm install
npm run build
Enable the plugin in Obsidian settings as above. For active development, use watch mode:
npm run dev # Watch mode with hot reload
npm run build # Production build when ready
Critical Post-Installation: CLI Path Configuration
The most common failure mode is CLI auto-detection failing, especially with Node version managers (nvm, fnm, volta). Leave the Claude CLI path setting empty initially—Claudian attempts auto-detection first. If you encounter spawn claude ENOENT or Claude CLI not found, manually configure:
| Platform | Discovery Command | Example Path |
|---|---|---|
| macOS/Linux | which claude |
/Users/you/.volta/bin/claude |
| Windows (native) | where.exe claude |
C:\Users\you\AppData\Local\Claude\claude.exe |
| Windows (npm) | npm root -g |
{root}\@anthropic-ai\claude-code\cli-wrapper.cjs |
Windows critical note: Avoid .cmd and .ps1 wrappers. Use claude.exe for native installs, or cli-wrapper.cjs for npm installs. cli.js is legacy-only.
If claude and node reside in different directories (check with dirname $(which claude) vs dirname $(which node)), add Node.js to your PATH in Settings → Environment → Custom variables:
PATH=/path/to/node/bin:$PATH
Real Code Examples from the Repository
Let's examine actual implementation patterns from Claudian's codebase and documentation.
Example 1: Development Build Commands
The repository's build system demonstrates modern TypeScript plugin development for Obsidian:
# Clone into vault plugins directory for live development
cd /path/to/vault/.obsidian/plugins
git clone https://github.com/YishenTu/claudian.git
cd claudian
# Install all dependencies including Obsidian API types
npm install
# Production build - outputs main.js, manifest.json, styles.css
npm run build
# Watch mode for iterative development
# Rebuilds automatically on file changes
npm run dev
Why this matters: Claudian uses standard npm scripts but with Obsidian-specific constraints. The build output must land in the vault's .obsidian/plugins/claudian/ directory for live reloading. The manifest.json declares plugin metadata Obsidian uses for versioning and compatibility checking. This pattern is replicable for any Obsidian plugin development.
Example 2: Plugin Architecture - Modular Provider System
The source structure reveals sophisticated separation of concerns:
src/
├── main.ts # Plugin entry point - Obsidian lifecycle hooks
├── app/ # Shared defaults and plugin-level storage
├── core/ # Provider-neutral runtime, registry, type contracts
│ ├── runtime/ # ChatRuntime interface and approval types
│ ├── providers/ # Provider registry and workspace services
│ ├── auxiliary/ # Shared provider auxiliary services
│ ├── bootstrap/ # Plugin bootstrap wiring
│ ├── security/ # Approval utilities for destructive operations
│ └── ... # commands, mcp, prompt, storage, tools, types
├── providers/
│ ├── claude/ # Claude SDK adaptor, prompt encoding, MCP
│ ├── codex/ # Codex app-server adaptor, JSON-RPC transport
│ ├── opencode/ # Opencode adaptor
│ └── acp/ # Agent Client Protocol shared transport
├── features/
│ ├── chat/ # Sidebar chat: tabs, controllers, renderers
│ ├── inline-edit/ # Inline edit modal and provider-backed services
│ └── settings/ # Settings shell with provider tabs
├── shared/ # Reusable UI components and modals
├── i18n/ # Internationalization (10 locales)
├── types/ # Shared ambient types
├── utils/ # Cross-cutting utilities
└── style/ # Modular CSS
Architecture insight: The core/ directory maintains provider-agnostic abstractions—ChatRuntime, approval flows, workspace services—while providers/ implements vendor-specific adapters. This explains how Claudian added Codex and Opencode support rapidly: they implement the same interfaces against different transport mechanisms (Claude SDK vs. JSON-RPC for Codex). The acp/ directory suggests emerging standardization around Agent Client Protocol, future-proofing against new AI agent services.
Example 3: Troubleshooting Path Resolution
The README includes diagnostic commands for environment issues:
# Verify claude and node are co-located for GUI app discovery
# Critical when using nvm, fnm, or volta
# Find claude's directory
dirname $(which claude)
# Output: /Users/you/.volta/bin
# Find node's directory
dirname $(which node)
# Output: /Users/you/.volta/bin
# MISMATCH? GUI apps like Obsidian won't resolve Node.js
# Solutions: native binary install, or explicit PATH augmentation
Practical implementation: This isn't just documentation—it's a debugging protocol. GUI applications on macOS and Linux don't inherit shell environment variables, so Node version managers break CLI discovery. Claudian's solution hierarchy (auto-detect → manual path → environment variables → native install) shows mature UX thinking for developer tools.
Example 4: Privacy-Aware Data Flow Documentation
The privacy section uses structured disclosure:
- **Sent to API**: Your input, attached files, images, and tool call outputs.
Default: Anthropic (Claude) or OpenAI (Codex); configurable via provider settings.
- **Local storage**:
- Claudian settings: `vault/.claudian/`
- Claude provider files: `vault/.claude/`
- Transcripts: `~/.claude/projects/` (Claude), `~/.codex/sessions/` (Codex)
- **Environment variables**: Provider subprocesses inherit Obsidian process
environment plus custom variables. Required for CLI auth, proxies, certificates.
- **Device-specific paths**: Per-device CLI paths use opaque local key in browser
local storage—not system hostname.
- **Background activity**: No telemetry beacons. UI polling reads local
Obsidian/editor state only. Network activity limited to explicit provider work,
configured MCP endpoints, and required SDK/CLI calls.
Trust engineering: This granular disclosure enables informed consent. Users auditing data exposure can trace exactly what leaves their machine versus stays local. The vault/.claudian/ and vault/.claude/ co-location means vault-specific state travels with your notes—critical for sync across devices.
Advanced Usage & Best Practices
Master @Mentions for Context Assembly. Don't paste file contents into chat. Instead, @mention notes and let Claudian handle retrieval. This preserves token efficiency (the agent reads only what's needed) and maintains link integrity. Create "context MOCs"—Maps of Content that @mention clusters of related notes—for complex multi-file operations.
Plan Mode for Destructive Operations. Always enable Plan Mode (Shift+Tab) when refactoring vault structure, renaming conventions, or bulk-updating frontmatter. The exploration phase often reveals dependencies you'd miss. Approve step-by-step, not wholesale.
Environment Variables for Enterprise. Store API keys, proxy configurations, and certificate paths in Claudian's environment settings, not shell profiles. This ensures GUI-launched Obsidian inherits them. Use PATH augmentation to resolve Node manager issues without system-wide changes.
Conversation Hygiene. Fork conversations before experimental prompts. Compact long sessions before they hit token limits. Resume strategic conversations rather than starting fresh—Claudian maintains context across sessions that standalone CLIs lose.
MCP Server Curation. Start with one or two high-value MCP servers (GitHub, database, search). Each adds latency and complexity. Vault-specific MCP configurations in Claudian stay separate from global CLI configs, enabling project-scoped tooling.
Comparison with Alternatives
| Feature | Claudian | Cursor | GitHub Copilot | Standalone Claude Code |
|---|---|---|---|---|
| Knowledge base integration | Native Obsidian vault | Limited file sync | None | Manual file attachment |
| Note-native workflows | Full wiki-link preservation | Markdown export only | N/A | Context window dumping |
| Multi-provider support | Claude, Codex, Opencode | Proprietary | OpenAI only | Single provider |
| Local data control | Vault-local storage | Cloud-dependent | Cloud-dependent | Mixed |
| Inline editing | Word-level diff in notes | Inline in code only | Inline in code only | Terminal output |
| MCP extensibility | In-app + CLI managed | Limited | Limited | CLI only |
| Cost model | Bring your own API keys | Subscription | Subscription | API/subscription |
| Offline capability | Partial (local processing) | None | None | None |
The verdict: Choose Claudian when your knowledge base is your competitive advantage—when notes, documentation, and code context form an integrated system. Use Cursor for pure code editing with AI assistance. Copilot excels at inline completion within established IDEs. Standalone Claude Code works for terminal-centric workflows without note integration.
FAQ
Is Claudian free to use? The plugin is MIT-licensed and free. You provide your own API keys or subscriptions for Claude, Codex, or other providers. Claudian adds no additional fees.
Does Claudian work on mobile? No—desktop only (macOS, Linux, Windows). The plugin requires spawning CLI processes and filesystem operations that Obsidian mobile doesn't support.
Will Claudian mess up my vault structure? Plan Mode prevents surprise changes. The agent presents plans for approval before executing file operations. You maintain full control over destructive actions.
Can I use Claudian without Claude Code CLI? Yes—Codex and Opencode providers are functional alternatives. However, Claude Code offers the most mature integration currently.
How does Claudian handle my API costs? Efficiently. @mentions retrieve only needed context rather than dumping entire files. Conversation compaction manages token windows. But you remain responsible for provider billing.
Is my vault data sent to Anthropic or OpenAI?
Only what you explicitly share: your prompts, @mentioned files, and tool outputs. Local storage stays in vault/.claudian/. Review the Privacy & Data Use section for full transparency.
Can I contribute to development?
Absolutely. Clone the repository, run npm run dev, and submit PRs. The modular architecture in src/ welcomes provider extensions, UI improvements, and localization contributions.
Conclusion
Claudian isn't merely an Obsidian plugin—it's a cognitive infrastructure upgrade. By embedding Claude Code, Codex, and emerging AI agents directly into your knowledge vault, it dissolves the artificial boundary between thinking and building, between capturing ideas and executing on them.
The developers abandoning standalone AI tools for Claudian aren't chasing novelty. They're recognizing that context is compound interest: every note, every link, every captured insight becomes more valuable when an intelligent agent can traverse it natively. Your vault stops being a static archive and becomes a living, reasoning collaborator.
The installation takes minutes. The architectural shift in how you work with AI—that's the transformation. Start with the community plugin install, configure your Claude CLI path, and send your first @mention. Experience what happens when your knowledge base finally gains intelligence.
Star the repository, report issues, contribute code—this is open-source infrastructure for the next decade of knowledge work. The future of AI-assisted development isn't external tools bolted onto your workflow. It's AI inhabiting your workflow natively. Claudian is that future, available today.
👉 Get Claudian on GitHub | ⭐ Star the repo | 🚀 Install from Obsidian Community Plugins