derek-larson14/obsidian-claude-sidebar

Run Claude Code, Codex, and other agent CLIs in Obsidian

What it solves

It integrates AI agent command-line interfaces (CLIs) directly into the Obsidian note-taking app, eliminating the need to switch between a separate terminal window and your notes when using AI coding or productivity agents.

How it works

The plugin uses xterm.js for terminal emulation and Python's pty module (or pywinpty on Windows) to create a pseudo-terminal. This allows it to embed a fully functional terminal in the Obsidian sidebar that can run various agent CLIs like Claude Code, Codex, or GitHub Copilot.

Who it’s for

Users of Obsidian who use AI agent CLIs for coding or knowledge management and want a seamless way to interact with these agents while managing their files and notes.

Highlights

  • Multi-backend support: Works with Claude Code, Codex, Grok Build, OpenCode, GitHub Copilot, Cursor Agent, and Pi.
  • Contextual integration: Right-click folders to open agents in specific directories or send file paths and selections directly to the agent.
  • Project flexibility: Ability to open agents in projects located outside the Obsidian vault.
  • Cross-platform: Supports macOS, Linux, and Windows (including WSL path translation).

Related

  • Project
  • Project
  • Project
  • Project
  • Project