Antigravity CLI
Google Antigravity CLI
- agy
Google's CLI, sharing ~/.gemini with Gemini CLI. Native audio and video attachments.
- Invoke
- 2 of 6 · official
- Models
- native listing
- MCP
- json · antigravity
- Agents file
- ~/.gemini/config/AGENTS.md
Access
- Get
getHarness("antigravity") - CLI
harnesses paths antigravity --json - Tryantigravity in the explorer
Antigravity lives under ~/.gemini/ next to Gemini CLI but keeps its own subtree: config/ for the shared customization root with AGENTS.md, skills, plugins and hooks, antigravity-cli/ for the CLI's own settings, conversations, history and a SQLite summary index. Conversations are Protocol Buffers, which is why there is no session schema for it here yet.
It is the only harness with both audio and video verified: attachments go into model context natively, with documented audio formats and direct video pasting. Its binary is agy, and the headless mode is --print. No environment variable marks a session, so detection is by the .antigravitycli marker only. MCP servers use their own dialect in ~/.gemini/config/mcp_config.json. agy models lists Gemini, Claude and GPT-OSS models side by side. listModels puts all of them under google, since every one of them runs through Google's service.
Capabilities and invocation
- mcp: yes
- vision: yes
- audio: yes
- video: yes
- tools: yes
- streaming: yes
Binary agy, evidence official. Non-interactive print mode. Model selection appends --model {model}.
- advisor{}rejected
- advisor · json{ structured: true }rejected
- read-only{ readOnly: true }rejected
- read-only · json{ readOnly: true, structured: true }rejected
- agent{ tools: true }
--print {prompt} - agent · json{ tools: true, structured: true }
--print --output-format json {prompt}
Model listing runs agy models, and a filter matches the ids locally. Prints one id and display name per row, with no default marked and no filter; verified with 1.2.5.
Paths
Templates as the registry stores them. ~, ${HOME}, ${TMPDIR} and %VAR% expand in resolve(); entries tagged with a platform are dropped on the others. Open in the explorer to see them expanded for a home directory of your choice.
config
~/.gemini/config/config.jsonShared Antigravity configuration and user settings.
~/.gemini/antigravity-cli/settings.jsonCLI-specific settings, including trusted workspaces.
~/.gemini/config/skills.jsonExplicit registrations of skill directories outside the default locations.
~/.gemini/config/plugins.jsonExplicit registrations of plugin directories outside the default locations.
.agents/skills.jsonWorkspace registrations of skill directories outside .agents/skills/.
.agents/plugins.jsonWorkspace registrations of plugin directories outside .agents/plugins/.
sessions
~/.gemini/antigravity-cli/conversations/Persisted CLI conversations.
~/.gemini/antigravity-cli/history.jsonlCLI prompt history.
~/.gemini/antigravity-cli/conversation_summaries.dbConversation summary index.
instructions
~/.gemini/config/AGENTS.mdGlobal rules in the shared Antigravity customization root.
AGENTS.mdWorkspace instructions; GEMINI.md is also supported.
GEMINI.mdWorkspace instructions compatible with Gemini CLI.
skills
.agents/skills/~/.gemini/config/skills/
hooks
.agents/hooks.json~/.gemini/config/hooks.json
Empty
commandspromptTemplatestempThat is not the same as the feature being missing.
MCP servers
~/.gemini/config/mcp_config.jsonuser · json · antigravity · mcpServers
Detection
envVars
None. Detection is by project markers only.
projectMarkers
- .antigravitycli
Persistence
- JSON - Settings and project metadata. (official)
- JSONL - Prompt history. (official)
- SQLite - Conversation summary index. (official)
- Protocol Buffers - Conversation and runtime state. (official)
syncAgentsFiles links ~/.gemini/config/AGENTS.md to the master bundle.