usage

Antigravity 1.5.7

Tools and page contents
On this page

New 1

01

Agent defaults to Auto mode while strict permissions protect file edits

When you open the terminal to ask the agent to handle work, if you have not saved a mode setting yet, how it starts is affected by this change. Sessions with no saved mode, including headless mode (an execution mode without a terminal screen) using the -p flag, now start in Auto by default wherever Auto is supported, while the rest stay in Default. ⟦A camera used to select normal mode by default at startup, and now models that support auto mode select auto mode by default while the rest still select normal mode; what changed is which mode is selected at power-on.⟧ To keep the previous behavior, you can set Agent Mode to Default in /config, which saves the setting to settings.json:

```json { "agentMode": "" } ```

In addition, strict under Tool Permission takes precedence over Auto and accept-edits modes, so it still asks and waits for your approval before editing files.

Original changelog

Changed the default Agent Mode from Default to Auto: sessions with no saved mode, including headless -p runs, now start in Auto wherever Auto mode is available and in Default elsewhere; to keep the previous behavior, choose Default for Agent Mode in /config, which saves "agentMode": "" to settings.json. A Tool Permission setting of strict now also takes precedence over Auto and accept-edits modes, so file edits still ask for approval under strict.

Fixed 7

02

Terminal line wrapping stops freezing and steps keep streaming during tool group redraws

When running commands that print large logs or calling tools in the terminal, the screen could sometimes freeze all at once. Previously, if a command printed a very long line with no spaces at all, it triggered multi-second UI freezes that also stalled text streaming and window resizing. Line wrapping now takes time proportional to the line's length instead of locking up for seconds. Also, while a group of tool calls with long output was animating its token (the unit AI uses to process text) counts, agent replies used to stall for 20 seconds or more. Now, streamed execution steps continue to appear while that tool group re-renders. Where long spaceless text or tool output animations used to freeze the screen, window resizing and step streaming now respond immediately.

Original changelog

Fixed multi-second UI freezes, which also stalled streaming and window resizing, when a command printed a very long line without spaces; line wrapping now takes time proportional to the line's length.

Fixed agent replies stalling for 20 seconds or more while a group of tool calls with long output was still animating its token counts; streamed steps now keep appearing while the group re-renders.

03

Agent receives notifications when background commands wait for passwords or prompts

When you ask the agent to run a long-running task, you may have seen the whole process suddenly stall in silence. Previously, when a command moved to the background was waiting for input, such as a password or y/n confirmation prompt printed before going to the background, the agent did not notice and just waited silently. Now, once the output settles, the agent receives a notification instead of waiting silently. Once the output settles, the agent is now notified that input is needed rather than waiting in silence.

Original changelog

Fixed the agent not noticing that a command it moved to the background was waiting for input, such as a password or y/n prompt printed before the command went to the background; the agent is now notified once that output settles instead of waiting silently.

04

Windows browser sign-in supports both IPv4 and IPv6 callbacks

When signing in through a browser on Windows, the terminal would occasionally not respond after the web page redirected. Previously, the CLI's local sign-in callback listened on only IPv4 or IPv6, so if the browser redirected over the other protocol, sign-in could not complete. Now, the local callback listens on both protocols. Sign-in used to get stuck on the verification screen due to protocol mismatches, and now it completes normally after the browser redirects.

Original changelog

Fixed browser sign-in on Windows sometimes failing to complete because the CLI's local sign-in callback listened on only IPv4 or IPv6 while the browser redirected over the other; the callback now listens on both.

05

Enterprise gateway requests to Gemini 4 Carbon adjust parameters to prevent HTTP 400 errors

When using Gemini 4 Carbon through a model gateway in an enterprise environment, your requests may have failed to connect. Previously, requests returned an HTTP 400 error with the message Thinking budget is not supported for this model. Now, the CLI sends a thinking level to Gemini 4 Carbon instead, and the model ID sent to the gateway no longer retains a Low, Medium, or High suffix. Requests that used to be rejected directly by the gateway now succeed with the corrected format.

Original changelog

Fixed Gemini 4 Carbon requests through an enterprise model gateway failing with an HTTP 400 Thinking budget is not supported for this model error; the CLI now sends Gemini 4 Carbon a thinking level and no longer leaves the Low, Medium, or High suffix in the model ID it sends to the gateway.

06

Enterprise security policies tighten review checks and restore custom rules without an OS sandbox

When running commands or accessing files under organization-managed policies, two fixes have been made to the review mechanism. Previously, a PreToolUse hook (a small program triggered by specific events) returning auto_approve, or a wildcard command(*) allow rule, could accidentally bypass admin-enforced reviews. Now, commands that leave the terminal sandbox, commands held for review by admin policy, and file reads or writes outside the workspace under an "always ask" policy always ask for your approval. When an organization policy requires commands to run inside a terminal sandbox but the machine lacks an OS sandbox, saved allow and deny rules used to be ignored, causing every command to prompt repeatedly. Now, saved allow and deny rules apply normally, while unlisted commands still ask before running. Instead of rule gaps bypassing company reviews or missing OS sandboxes triggering repetitive prompts, reviews are now enforced and custom lists work as expected.

Original changelog

Fixed a PreToolUse hook returning auto_approve, or a wildcard command(*) allow rule, bypassing an organization's admin-enforced review: commands that would leave the terminal sandbox, commands the admin policy holds for review, and file reads or writes outside the workspace under an "always ask" file-access policy now always ask for your approval.

Fixed saved command allow and deny rules being ignored, so that every command asked for approval, when an organization's admin policy requires commands to run in the terminal sandbox but the machine has no OS sandbox; your saved rules now apply and unlisted commands still ask before running.

07

Background task details preserve code blocks and backtick formatting

When checking a background task's status with the manage_task tool, the text formatting may have been garbled. Previously, if the task's recent output or input sent to the task contained Markdown code blocks or runs of backticks, the task details formatting broke. This issue is now fixed, and the content preserves its original formatting. Where reading task details with code used to look messy, everything now stays cleanly formatted.

Original changelog

Fixed background task details from manage_task losing their formatting when the task's recent output, or input sent to the task, contained Markdown code blocks or runs of backticks.

08

Remote Control hides broken links instead of showing unopenable URLs

When viewing agent replies with Remote Control, unclickable links could sometimes appear at the end. Previously, at the end of some replies, such as a swarm coordinator's link to the swarm UI, Remote Control showed URLs that could not be opened. Remote Control now omits these links. Where unclickable URLs used to show up in the remote interface, Remote Control now skips these unopenable links.

Original changelog

Fixed Remote Control showing a link that could not be opened at the end of some agent replies, such as the swarm coordinator's link to the swarm UI; Remote Control now leaves these links out.