Skip to content

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

What the release notes say

  • Added Gemini 4 Hydrogen (Low, Medium, High, and XHigh) and Gemini 4 Carbon (Low, Medium, and High) to /model and --model when you connect with a GEMINI_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 use Ctrl+O. The default Rendering Mode is unchanged.
  • Added context window usage updates to agy acp sessions, 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.routeWebFetch stops the agent's web page reads from going around an enterprise model gateway by disabling URL reading unless a proxy.address is configured, and featureControls.remoteControlEnabled lets an organization turn off Remote Control. With an enterprise model gateway, web pages are now fetched directly from your machine (through proxy.address when set) instead of through Google's fetch service.
  • Improved the first message of a conversation in --remote-agent sessions, 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 /new or switching projects, and starts a resumed conversation's idle environment in the background as soon as it opens with --continue or --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 as git status '&& del secret.txt', could otherwise be approved by a rule meant only for git 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 in mcp_config.json) and for the /browser subagent'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 -p runs ignoring your organization's Gemini Enterprise admin controls for plugins: when an administrator disables plugins, installing, importing, or enabling one now fails with plugins 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 a PreInvocation or PreToolUse hook that should block the agent go unenforced; hook commands are now passed to cmd.exe exactly 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.json and files passed to --settings are no longer rejected as malformed, a hooks.json no longer leaves /hooks empty with none of its hooks running, and custom agent and rule files no longer go missing from /agents and the agent picker or lose their frontmatter trigger.
  • Fixed opening your external editor on Windows when EDITOR or the Editor setting is a normal Windows path such as C:\Tools\ed.cmd or "C:\Program Files\Vim\vim.exe"; backslashes were dropped, so Ctrl+G, /open, /keybindings, and artifact review failed with an editor ... not found in PATH error.
  • 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.Close or 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.