desmond wen2k downloadsRun Antigravity CLI directly in an Obsidian sidebar pane.
An Obsidian plugin that embeds Antigravity CLI directly into a sidebar pane, so you can chat with Antigravity without leaving your notes.
[!NOTE] Version 2.0 Update: This version (V2.0) has transitioned to support the new Antigravity CLI (
agy). The older V1.0 version was designed for the original Gemini CLI (gemini). Since Google is deprecating/shutting down Gemini CLI, V2.0 has been fully migrated to support Antigravity CLI and handles automatic migration of your settings.
Before installing, make sure you have:
PATH as agypython3pythonmain.js, manifest.json, styles.css).<vault>/.obsidian/plugins/antigravity-cli-sidebar/
git clone https://github.com/desmondwen/obsidian-antigravity-cli-sidebar.git
cd obsidian-antigravity-cli-sidebar
npm install
npm run build
Then copy main.js, manifest.json, and styles.css to your Vault's plugins folder as described above.
Once enabled, you can open the Antigravity CLI sidebar in two ways:
Ctrl+P (or Cmd+P) and type "Open Antigravity CLI".The terminal will appear in the right sidebar, automatically launching:
agy --dangerously-skip-permissions --continue
Go to Settings → Antigravity CLI Settings to change:
| Setting | Description | Default |
|---|---|---|
| Antigravity Command | Path to the Antigravity CLI executable | agy |
| Default Arguments | Arguments passed on every launch | --dangerously-skip-permissions --continue |
The plugin uses:
terminal_pty.py / terminal_win.py) to spawn an interactive TTYchild_process to bridge the Python wrapper with xterm.jsThe terminal uses your Vault root as the working directory (cwd).
<vault>/.obsidian/plugins/antigravity-cli-sidebar/
| Problem | Solution |
|---|---|
| Terminal is blank | Make sure agy is installed and in your PATH. Test by running agy in a normal terminal. |
| "python3" not found | On some systems, only python exists. Create a symlink: ln -s $(which python) /usr/local/bin/python3 |
| Plugin won't enable | Ensure you are on Obsidian Desktop; this plugin does not support mobile. |
desmond wen
ISC