Something went wrong. Try again.
A plugin for Obsidian that gives you access to your Google Antigravity CLI instance so you don't need to leave your vault to use it.
Something went wrong. Try again.
Files
- TypeScript 74%
- JavaScript 21%
- CSS 5%
README.md
Obsidian Antigravity Assistant (obsidian-antigravity) #
A desktop side-panel plugin connecting Obsidian directly to a local Google Antigravity CLI (agy) instance scoped to your active vault root.
Prerequisites #
Both applications must be installed on the same desktop computer (Windows, macOS, or Linux):
- Obsidian Desktop (
v1.5.0or newer) - Google Antigravity CLI (
agy) authenticated and runnable on your machine
Installation #
Method 1: Install with Antigravity (Recommended) #
Because Obsidian and Antigravity are already on your computer, you can have Antigravity install the plugin into your vault directly from Tangled.
Paste the following prompt into Antigravity (replacing <PATH_TO_YOUR_VAULT> with your Obsidian vault path, or run Antigravity directly inside your vault folder):
Install the obsidian-antigravity plugin into my Obsidian vault at <PATH_TO_YOUR_VAULT>:
1. Clone https://tangled.org/fabricatedtechnobabble.com/obsidian-antigravity into a temporary directory outside the vault.
2. If Node.js and npm are installed, run `npm ci && npm test && npm run build` inside the cloned directory to verify and build fresh artifacts from source; otherwise verify that the pre-bundled `main.js`, `manifest.json`, and `styles.css` files are present.
3. Create `<PATH_TO_YOUR_VAULT>/.obsidian/plugins/obsidian-antigravity/` if it does not exist, and copy ONLY `manifest.json`, `main.js`, and `styles.css` into that folder (do not copy `.git` or `node_modules` into the vault).
4. Clean up the temporary clone directory and confirm when ready so I can enable the plugin in Obsidian.
Once the files are copied:
- In Obsidian, open Settings → Community Plugins (enable Community Plugins if prompted), click the Reload plugins button, and toggle on Antigravity Assistant.
- Click the sparkles icon in the left ribbon (or run
Antigravity Assistant: Open Antigravity Side Panelfrom the Command Palette).
Method 2: Manual Installation #
- Clone the repository outside your vault:
git clone https://tangled.org/fabricatedtechnobabble.com/obsidian-antigravity cd obsidian-antigravity - (Optional) Install dependencies, run tests, and build from source:
npm ci npm test npm run build - Create
<Your-Vault>/.obsidian/plugins/obsidian-antigravity/and copy these three files into it:manifest.jsonmain.jsstyles.css
- In Obsidian, go to Settings → Community Plugins, reload installed plugins, and enable Antigravity Assistant.
Key Capabilities #
- Step-Batched Deliberation Gate & Safety Containment:
- Read-only vault tools are auto-approved over stdio without interrupting agent progress.
- File mutations (
write_file,edit_file,create_file,patch_file,append_file,delete_file) are checked for vault-root path containment, flagged when targeting protected paths (.obsidian/,.git/,.env,.trash/), and batched per step into a single Diff Approval Card (Execute Now,Save for Later, orDo Nothing) with keyboard shortcuts (1,2,3,Esc) and collapsible receipts.
- Interactive Choice & Collapsible Thinking Cards:
- Agent
ask_questionprompts render as native clickable Choice Cards inside the panel. - Model reasoning and active tool steps stream into a collapsible Thinking Card with a live elapsed timer.
- Agent
- Embedded CodeMirror 6 Input & Non-Blocking Queue / Steering:
- Uses a native CodeMirror 6
EditorViewwith Markdown syntax highlighting and@vault-note mention autocomplete. - Never disables input during generation:
Entersubmits using your configured default action (Queue or Steer),Alt + Enter(Option + Enteron macOS) triggers the inverse action, andShift + Enterinserts a newline.
- Uses a native CodeMirror 6
- Queue-Time Context Snapshotting:
- Active note paths and editor selections are snapshotted at submission time so switching notes mid-response never corrupts queued turn context.
- Vault-Persisted Markdown Sessions:
- Automatically serializes conversations into standard Markdown notes under
<vault>/Conversations/and restores the latest session on startup.
- Automatically serializes conversations into standard Markdown notes under
- Desktop-Scoped & Sync-Safe:
- Configured with
"isDesktopOnly": trueinmanifest.json. Obsidian Mobile cleanly skips loading the plugin over Obsidian Sync while keeping saved conversation notes readable across all devices.
- Configured with
Configuration #
In Settings → Antigravity Assistant:
- Antigravity CLI Executable Path: Leave empty for automatic discovery (searches common binary locations, Scoop shims, and
PATH), or set an explicit path toagy/agy.exe/agy.cmd. Click Test Connection to verify. - AGY Model: Choose which model
agyuses for sessions, or click Refresh Models to query available models from your local CLI. - Session History Folder: Vault folder where Markdown session transcripts are saved (default:
Conversations). - Reasoning Effort: Default reasoning effort level (
low,medium,high,max). - Default Submission Behavior: Choose whether
Enterdefaults to Queue / Wait or Steer / Interrupt (Alt + Enter/Option + Enterperforms the opposite;Shift + Enterinserts a newline). - Default Thinking Display: Start reasoning cards Collapsed or Expanded.
- Maximum Queued Turns: Maximum number of turns (
1–5) that can be queued while a response is streaming (default:3).
Development & Testing #
# Run Vitest unit suite (safety gate, tool batching, IPC framing, UI components)
npm test
# Development build with live file watcher
npm run dev
# Production bundle
npm run build
Contributing & License #
- Contributing: See CONTRIBUTING.md for guidelines on bug reports, feature proposals, and pull requests on Tangled.
- License: Released under the MIT License.