Antigravity CLI
- getHarness
- getHarness("antigravity")
- binary
- agy
- invoke modes
- 2 of 6 · official
- model listing
- no
- mcp config
- json · antigravity
- agents file
- ~/.gemini/config/AGENTS.md
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.
Capabilities and invocation
mcp: yesvision: yesaudio: yesvideo: yestools: yesstreaming: yes
Binary agy, evidence official. Non-interactive print mode. Model selection appends --model {model}.
advisor
{}
advisor · json
{ structured: true }
read-only
{ readOnly: true }
read-only · json
{ readOnly: true, structured: true }
agent
{ tools: true }
--print {prompt}agent · json
{ tools: true, structured: true }
--print --output-format json {prompt}Paths
Templates as the registry stores them. ~, ${HOME} 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.jsonuser · official · allShared Antigravity configuration and user settings.~/.gemini/antigravity-cli/settings.jsonuser · official · allCLI-specific settings, including trusted workspaces.~/.gemini/config/skills.jsonuser · official · allExplicit registrations of skill directories outside the default locations.~/.gemini/config/plugins.jsonuser · official · allExplicit registrations of plugin directories outside the default locations..agents/skills.jsonproject · official · allWorkspace registrations of skill directories outside .agents/skills/..agents/plugins.jsonproject · official · allWorkspace registrations of plugin directories outside .agents/plugins/.
sessions
~/.gemini/antigravity-cli/conversations/data · official · allPersisted CLI conversations.~/.gemini/antigravity-cli/history.jsonldata · official · allCLI prompt history.~/.gemini/antigravity-cli/conversation_summaries.dbdata · official · allConversation summary index.
instructions
~/.gemini/config/AGENTS.mduser · official · allGlobal rules in the shared Antigravity customization root.AGENTS.mdproject · official · allWorkspace instructions; GEMINI.md is also supported.GEMINI.mdproject · official · allWorkspace instructions compatible with Gemini CLI.
skills
.agents/skills/project · official · all~/.gemini/config/skills/user · official · all
hooks
.agents/hooks.jsonproject · official · all~/.gemini/config/hooks.jsonuser · official · all
empty
commands No known location. That is not the same as the feature being missing.
MCP servers
~/.gemini/config/mcp_config.jsonuser · json · antigravity · mcpServersDetection
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.
Gemini CLI
Google's CLI. Headless -p mode, settings.json at user, project and system scope with a Windows path, audio through read_file, commands in TOML.
Grok CLI
xAI's CLI. ACP session update streams as JSONL, TOML config, rules and hooks with Claude and Cursor compatibility, GROK_HOME to move it all.