Hyunho Kim2 downloadsRun Claude Code, Antigravity and a shell in terminal panels inside Obsidian, with tools that let the AI read the open note and selection.
Use AI assistants like Claude Code and Antigravity inside Obsidian, right next to your notes.
Note: macOS only (Obsidian desktop v1.13+). Windows, Linux, and mobile devices (iOS/Android) are not supported.
AI Terminal adds terminal panels to Obsidian for two AI coding assistants, Claude Code (Anthropic) and Antigravity (Google), and for a normal shell. The assistants start in the vault folder, so they can read and edit the notes directly.
Features:
A Mac with the Obsidian desktop app, version 1.13 or newer. Windows, Linux and mobile devices (iOS/Android) are not supported.
Claude Code or the Antigravity CLI (or both), and an account for it. Claude Code needs a paid Claude plan (Pro or Max) or Anthropic API credits:
Apple's command line tools. The plugin needs Python and git, which come with them. Open the Terminal app, paste this line and press Enter:
xcode-select --install
Then follow the window that opens. If it says the tools are already installed, you are done.
To check that the AI is ready, type claude --version (or agy --version) in Terminal and press Enter. You should
see a version number.
From Obsidian (once AI Terminal is in the community plugin list):
By hand (before that, or to pick a version):
main.js, manifest.json and styles.css.ai-terminal and put the three files in it.If step 3 does not open a folder: open your vault folder in Finder and press Cmd+Shift+. to show hidden folders.
Open .obsidian, and make a folder named plugins in it if there is none.
| To do this | Do this |
|---|---|
| Open an AI panel | Click the terminal icon on the left, or press Cmd+P and type "AI Terminal" |
| Ask about a note | Click into the note, then ask in the panel: "summarize the note I have open" |
| Ask about part of a note | Select the text, click into the panel and ask: "explain the selected text" |
| Point the AI at a note | Click into the note, press Cmd+P and run "Send note path to terminal". The note's path appears in the panel. Add your question and press Enter |
| Start a new line without sending (Claude) | Shift+Enter |
| Copy / paste | Cmd+C / Cmd+V |
| Undo what the AI changed | See Undo AI changes |
Panels work like normal Obsidian tabs: you can drag them, split them or move them to another window, and the AI keeps running. When you restart Obsidian, the panels come back (Claude resumes each panel's conversation; Antigravity resumes its latest session).
Restored by mistake? Run the command again and pick "Before restore".
Snapshots save your notes only (.md, .canvas and .base files), not images, PDFs or settings.
They stay on your Mac, outside the vault.
agy mcp remove obsidian.
Obsidian cannot tell the plugin that it was removed, so the plugin cannot do this itself.
See the full clean-up steps.which claude
(or which agy). Copy the path it prints, for example /Users/you/.local/bin/claude, into
Settings › AI Terminal › Profiles › "Claude Code command" (or "Antigravity command").which python3) into Settings › AI Terminal › Terminal › "Python path".For more, see Troubleshooting in the user guide.
Obsidian asks plugins to say this clearly. In short: no payment, no ads, no telemetry, and the plugin itself never connects to the internet.
127.0.0.1, locked with a key). The
AI tools in its panels use it to read the open note and the selection. The AI tools themselves connect to their
companies (Anthropic, Google) and send what you ask and the notes they read — the same as when you use them in
Terminal.~/.config/obsidian-ai-terminal/: small helper scripts that the AI tools run (they come with the plugin, nothing
is downloaded) and a lock file.~/.local/share/obsidian-ai-terminal/: the snapshot history for undo.~/.claude/: while "Claude IDE connection" is on, a connection file in ~/.claude/ide/ lets Claude Code
see your selection. The plugin also reads Claude Code's settings (to give a tip about diffs) and its conversation
files (to continue a conversation after a restart).obsidian entry to Antigravity
(agy mcp add) and the rule mcp(obsidian/*) to ~/.gemini/antigravity-cli/settings.json, so Antigravity
can use the note tools without asking each time.~/.zshrc) are read by starting your login shell, so the AI tools find the same
programs as in Terminal.