Harnesses

Antigravity CLI

Google's second CLI, sharing ~/.gemini with Gemini CLI. Native audio and video attachments, conversations as Protocol Buffers, hooks in JSON.
IDantigravity01 / 1316 paths · project
Harness

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
Inferred 0 / 16

Access

GetgetHarness("antigravity")
CLIharnesses 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}.

Callinvoke(prompt, options)2 of 6 modes
  • 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.

PathsgetHarness("antigravity")16 templates · 5 groups

config

  • ~/.gemini/config/config.jsonuserofficialall

    Shared Antigravity configuration and user settings.

  • ~/.gemini/antigravity-cli/settings.jsonuserofficialall

    CLI-specific settings, including trusted workspaces.

  • ~/.gemini/config/skills.jsonuserofficialall

    Explicit registrations of skill directories outside the default locations.

  • ~/.gemini/config/plugins.jsonuserofficialall

    Explicit registrations of plugin directories outside the default locations.

  • .agents/skills.jsonprojectofficialall

    Workspace registrations of skill directories outside .agents/skills/.

  • .agents/plugins.jsonprojectofficialall

    Workspace registrations of plugin directories outside .agents/plugins/.

sessions

  • ~/.gemini/antigravity-cli/conversations/dataofficialall

    Persisted CLI conversations.

  • ~/.gemini/antigravity-cli/history.jsonldataofficialall

    CLI prompt history.

  • ~/.gemini/antigravity-cli/conversation_summaries.dbdataofficialall

    Conversation summary index.

instructions

  • ~/.gemini/config/AGENTS.mduserofficialall

    Global rules in the shared Antigravity customization root.

  • AGENTS.mdprojectofficialall

    Workspace instructions; GEMINI.md is also supported.

  • GEMINI.mdprojectofficialall

    Workspace instructions compatible with Gemini CLI.

skills

  • .agents/skills/projectofficialall
  • ~/.gemini/config/skills/userofficialall

hooks

  • .agents/hooks.jsonprojectofficialall
  • ~/.gemini/config/hooks.jsonuserofficialall

Empty

commandspromptTemplatestempThat is not the same as the feature being missing.

MCP servers

FilemcpConfigs1 file
  • ~/.gemini/config/mcp_config.jsonuser · json · antigravity · mcpServers

Detection

CalldetectHarness()project markers only

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.