- Added Gemini 4 Hydrogen (Low, Medium, High, and XHigh) and Gemini 4 Carbon (Low, Medium, and High) to
/modeland--modelwhen you connect with aGEMINI_API_KEY, added Gemini 4 Hydrogen (Low, Medium, High, and XHigh) when you sign in with Application Default Credentials (AGY_ADC_AUTH), and added support for Gemini 4 Hydrogen through an enterprise model gateway. - Added click-to-expand in the
full screen (altscreen)rendering mode: clicking a tool group, a thought, a prompt's attached images, or multi-line command output now expands or collapses just that item, so you no longer have to useCtrl+O. The defaultRendering Modeis unchanged. - Added context window usage updates to
agy acpsessions, so editors such as JetBrains AI Chat can show how much of the model's context window the conversation is using; the value is sent when a session starts or is reloaded, after each model call, and after a model or thinking level change. - Added support for two admin settings:
gateway.routeWebFetchstops the agent's web page reads from going around an enterprise model gateway by disabling URL reading unless aproxy.addressis configured, andfeatureControls.remoteControlEnabledlets an organization turn off Remote Control. With an enterprise model gateway, web pages are now fetched directly from your machine (throughproxy.addresswhen set) instead of through Google's fetch service. - Improved the first message of a conversation in
--remote-agentsessions, which no longer waits for its remote environment to start or resume: the CLI now prepares a new conversation's environment as soon as the session knows its remote project, and again after/newor switching projects, and starts a resumed conversation's idle environment in the background as soon as it opens with--continueor--conversation=<id>. - Fixed a security issue in the terminal sandbox's network proxy where a command could get around path-based network rules, such as those limiting where credentials are sent or which Git and API paths are allowed, by using percent-encoded slashes (
%2F), backslashes, or..segments in a URL path; every way of reading the path is now checked against the rules, and the cleaned-up path is the one sent upstream. - Fixed always-allow command rules on Windows so they can no longer be bypassed when the shell is
cmd,cmd.exe,powershell.exe,pwsh.exe, or a full path to one of them. Commands run in PowerShell or Command Prompt now always need an exact match, because their quoting rules differ from POSIX shells. A command with hidden extra statements, such asgit status '&& del secret.txt', could otherwise be approved by a rule meant only forgit status. - Fixed permission rules for MCP tools, such as an
mcp(server/tool)deny or ask rule, being ignored for MCP tools that are loaded up front (marked eager inmcp_config.json) and for the/browsersubagent's Chrome DevTools tools; these tools now ask for approval or are blocked according to your rules, like other MCP tools. - Fixed
/plugin,agy plugin, and headless-pruns ignoring your organization's Gemini Enterprise admin controls for plugins: when an administrator disables plugins, installing, importing, or enabling one now fails withplugins are disabled by your organization, and when the plugin marketplace is disabled, marketplace catalogs are not fetched and marketplace installs fail; listing, disabling, and uninstalling plugins still work. - Fixed hook commands on Windows that contain double quotes, such as
type "C:\my dir\deny.json", failing and being silently skipped, which let aPreInvocationorPreToolUsehook that should block the agent go unenforced; hook commands are now passed tocmd.exeexactly as written. - Fixed files saved with a UTF-8 byte order mark (BOM), as Windows PowerShell, Visual Studio, and Notepad's "UTF-8 with BOM" option do, being silently ignored:
settings.jsonand files passed to--settingsare no longer rejected as malformed, ahooks.jsonno longer leaves/hooksempty with none of its hooks running, and custom agent and rule files no longer go missing from/agentsand the agent picker or lose their frontmatter trigger. - Fixed opening your external editor on Windows when
EDITORor theEditorsetting is a normal Windows path such asC:\Tools\ed.cmdor"C:\Program Files\Vim\vim.exe"; backslashes were dropped, soCtrl+G,/open,/keybindings, and artifact review failed with aneditor ... not found in PATHerror. - Fixed
!shell commands hanging forever with no output when the command wrote a lot to stderr, which was easy to hit on Windows with build tools that print progress or warnings to stderr; such commands now finish and show their stdout and stderr lines in the order they were written. - Fixed agent turns failing when a network connection silently went stale or the network dropped a shared HTTP/2 connection, for example with
http2: client connection force closed via ClientConn.Closeor after a socket write error; model requests now retry on a fresh connection and, if retries run out, show the CLI's network error message. Slow model responses also no longer time out after 60 seconds when an organization's admin settings configure a proxy or custom CA certificate. - Fixed the CLI sometimes never exiting after a session, and background requests such as generating a conversation title, worktree name, or commit message hanging, when the model answered one of those requests with an unexpectedly long reply.
- Fixed a single empty or corrupted queued message file, for example one left behind by an unclean shutdown, blocking every later message to the agent, so background task completions, timers, and subagent replies no longer silently stop reaching it; the unreadable file is set aside and the remaining messages are delivered.
Google Antigravity 1.5.8
Released · Google
Security fixChanges permission rules, MCP server config, subagent definitions, hooks, settings files, agent context files
Models:Adds Gemini 4