AGENT ✦ CAPABILITIES
Feed GitHub
10/23Agent
Google

Antigravity CLI

Home ~/.gemini/antigravity-cli/ (CLI state) · ~/.gemini/config/ (shared with Antigravity 2.0 and the IDE) · command: agy

8 features · 10 models · 9 sources · verified 2026-11-26

Instructions

◆Documented currentInstructions
Project (repo)
AGENTS.md or GEMINI.md in any directory, and .agents/AGENTS.md or .agents/GEMINI.md; read from the file's folder up to the workspace root. No frontmatter
Global (user)
~/.gemini/GEMINI.md, ~/.gemini/AGENTS.md, ~/.gemini/config/GEMINI.md or ~/.gemini/config/AGENTS.md. Always active, no frontmatter

Rules

◆Documented currentRules
Project (repo)
.agents/rules/*.md (legacy .agent/rules/); only direct children are scanned unless registered in .agents/rules.json. YAML frontmatter is required: trigger (always_on, model_decision, glob, manual), plus description or globs depending on the trigger. Files over 24,000 bytes are truncated
Global (user)
~/.gemini/config/rules/*.md; CLI only: ~/.gemini/antigravity-cli/rules/*.md. Global and always_on rules share a 20,000-token budget

Settings

◆Documented currentSettings
Project (repo)
Not documented as a file; project settings are edited in the Settings UI
Global (user)
~/.gemini/antigravity-cli/settings.json (only non-default values are written), ~/.gemini/antigravity-cli/keybindings.json. Command-line flags such as --sandbox override saved values for the session

Skills

◆Documented currentSkills
Project (repo)
.agents/skills/*/SKILL.md (legacy .agent/skills/); each skill becomes a slash command. Frontmatter: description (required), name (defaults to the folder name)
Global (user)
~/.gemini/antigravity-cli/skills/*/SKILL.md (Antigravity 2.0 and the IDE use ~/.gemini/config/skills/)

Subagents

◆Documented currentSubagents
Project (repo)
.agents/agents/<name>.md or .agents/agents/<name>/agent.md. Markdown with YAML frontmatter: name, description (both required), tools, mainAgent, subagent, model (inherit, flash, pro), commandExecutionPolicy, mcpServers, skills, plugins. Nesting is limited to 10 levels. /agents opens the agent manager
Global (user)
~/.gemini/config/agents/<name>.md or ~/.gemini/config/agents/<name>/agent.md

Hooks

◆Documented currentHooks
Project (repo)
.agents/hooks.json at the project/workspace root. Events SessionStart, PreToolUse, PostToolUse, PreInvocation, PostInvocation, Stop (only PreToolUse/PostToolUse use a matcher regex over tool names); handler fields command (required), type (only "command", default), timeout (default 30s), enabled (default true). /hooks lists loaded hooks
Global (user)
~/.gemini/config/hooks.json. A plugin can also bundle a hooks.json (CLI only). Hooks are not read from ~/.gemini/antigravity-cli/settings.json

MCP

◆Documented currentMCP
Project (repo)
.agents/mcp_config.json
Global (user)
~/.gemini/config/mcp_config.json. mcpServers key; local stdio servers use command; remote servers use serverUrl (url is accepted as an alias; httpUrl is not supported — remote servers must use Streamable HTTP, not legacy HTTP+SSE); optional args, env, cwd, headers, authProviderType (google_credentials), oauth, disabled, enabledTools/disabledTools, tools (per-tool eager/background), timeoutSeconds

Plugins

◆Documented currentPlugins
Project (repo)
.agents/plugins/<name>/ — active only in that workspace
Global (user)
~/.gemini/config/plugins/<name>/, active across all workspaces; CLI installs stage here too. A plugin has a plugin.json or .antigravity-plugin/plugin.json (name, displayName, version, description, logo, suggestedPrompts) and can bundle skills, MCP servers, custom agents/subagents, rules, and lifecycle hooks. Manage with agy plugin install|list|enable|disable|uninstall|validate|import [gemini|claude] or /plugin (alias /plugins)
MODModels

Picking a model

Default
Gemini 4 Neon at Medium effort when no model is selected; Free, Google AI Plus and standard Google AI Pro trial accounts default to, and are limited to, Gemini 4 Hydrogen
Select
--model <slug>, --effort <level>, /model, /effort, model in ~/.gemini/antigravity-cli/settings.json (saved by label)
Providers
Google account (Antigravity plans), Gemini API key (modelProvider: "gemini", extra models via customModelsConfig), Gemini Enterprise (ADC)
ID format
<model>-<effort> slugs from agy models; display labels such as Gemini 3.8 Flash (Medium) also work. Gemini Enterprise documents base IDs plus --effort
ModelIDAliases
Gemini 4 Neon◆Documented current gemini-4-neon-medium gemini-4-neon-low, gemini-4-neon-high, gemini-4-neon-xhigh, gemini-4-neon
Gemini 4 Hydrogen◆Documented current gemini-4-hydrogen-high gemini-4-hydrogen-medium, gemini-4-hydrogen-low, gemini-4-hydrogen-xhigh, gemini-4-hydrogen
Gemini 4 Carbon◆Documented current gemini-4-carbon-high gemini-4-carbon-medium, gemini-4-carbon-low, gemini-4-carbon
Gemini 3.7 Flash◆Documented current gemini-3.7-flash-medium gemini-3.7-flash-high, gemini-3.7-flash-low, gemini-3.7-flash
Gemini 3.6 Flash◆Documented current gemini-3.6-flash-medium gemini-3.6-flash-high, gemini-3.6-flash-low, gemini-3.6-flash
Gemini 3.1 Pro◆Documented current gemini-3.1-pro-high gemini-3.1-pro-low, gemini-3.1-pro-preview
Claude Opus 5.5◆Documented current claude-opus-5-5-medium claude-opus-5-5-low, claude-opus-5-5-high, claude-opus-5-5-max
Claude Sonnet 5.5◆Documented current claude-sonnet-5-5-medium claude-sonnet-5-5-low, claude-sonnet-5-5-high, claude-sonnet-5-5-max
Orchestrator (Neon)◆Documented current Orchestrator (Neon) —
Orchestrator (Carbon)◆Documented current Orchestrator (Carbon) —