Antigravity
Install, authenticate, verify, and run Antigravity CLI through Karmas Coder.
Karmas Coder connects to Google’s Antigravity CLI through the agy executable. Antigravity owns its account session, models, permissions, tools, and conversation runtime; Karmas Coder supplies the task boundary, working environment, transcript, browser, terminal, diff, and Git workflow around it.
Install
On macOS and Linux, use the official installer:
curl -fsSL https://antigravity.google/cli/install.sh | bashOn Windows PowerShell:
irm https://antigravity.google/cli/install.ps1 | iexThe Unix installer normally places agy under ~/.local/bin. Verify the executable from a fresh terminal:
agy --versionAuthenticate
Start Antigravity in a normal terminal:
agyAntigravity first checks the operating system’s secure keyring. If no valid session exists, it opens Google Sign-In in a browser. In an SSH or remote session, it can print an authorization URL and accept the resulting code in the terminal.
To remove stored credentials from an interactive Antigravity session, use:
/logoutKarmas Coder does not copy or replace the credential profile stored by Antigravity.
Verify
From a clean test directory:
mkdir -p /tmp/agy-synara-check
cd /tmp/agy-synara-check
agyConfirm that Antigravity starts without a keyring or sign-in error and can answer a harmless read-only request. Exit before making changes. This isolates installation and authentication problems from Karmas Coder.
Connect to Karmas Coder
Enable Antigravity
Open provider settings and confirm that Karmas Coder detects agy.
Check the executable path
Use automatic discovery unless you intentionally installed Antigravity elsewhere. A custom binary path must point to the executable itself.
Refresh models
Confirm that Karmas Coder can discover the models exposed by the installed Antigravity runtime.
Start a bounded task
Use a clean repository and a small objective. Review the selected model, mode, and working environment before sending the first turn.
Capabilities in Karmas Coder
Antigravity sessions can expose:
- Model selection discovered from the installed runtime
- Assistant output, command execution, file changes, and web-search activity
- Permission requests surfaced through Karmas Coder
- Plan-oriented and normal task workflows supported by the runtime
- Attachments projected into the provider prompt
- Conversation continuity where the runtime supplies a conversation identifier
- Karmas Coder's terminal, browser, diff, checkpoint, and Git delivery surfaces
Karmas Coder does not currently classify Antigravity as supporting native live-turn steering. Use interruption and follow-up controls according to the state shown in the active task.
Antigravity keeps its own settings and conversation data. Changes to its permission mode, sandbox, model, hooks, or workspace trust can alter behavior even when the same task is opened through Karmas Coder.
Updating
Antigravity includes a native update path and its installer can install or upgrade the CLI. Keep the installation directory writable by your user and restart Karmas Coder after the executable changes.
If an update is stuck, check Antigravity’s own updater status and lock files before reinstalling. Do not delete unrelated files from its configuration directory.
Troubleshooting
Antigravity is not detected
- Run
agy --versionfrom a fresh terminal. - Confirm
~/.local/binor the Windows installation directory is onPATH. - Remove or correct an obsolete custom binary path in Karmas Coder.
- Restart Karmas Coder after installation or shell-profile changes.
Authentication repeatedly opens or fails
Launch agy directly. Check whether the operating-system keyring is unlocked and available to your user session. In SSH environments, complete the printed authorization flow rather than expecting a local browser to open remotely.
Models are missing
Update Antigravity, confirm the account can see the expected models in the CLI, then refresh provider status in Karmas Coder. Availability can depend on the account and runtime release.
A completed reply ends with a timeout
Karmas Coder can recover the exact timeout waiting for response error after a complete assistant reply when all tools and background tasks have settled and stop-hook cleanup captured the process tree before its parent exited and verified cleanup. Other provider errors, incomplete output, and interrupted turns remain failures or interruptions. A visible reply alone does not guarantee completion.
Antigravity reports an updater lock
Follow Antigravity’s updater troubleshooting guidance. A stale updater lock, read-only install directory, or competing update process can prevent the runtime from refreshing.
Official documentation
Continue with Your first task or Provider handoffs.