AI Watch

Antigravity CLI 1.5.22 Adds agy usage: A Zero-Token Quota Check (Plus Desktop 2.37.0)

By Lesia Kapliuk · Published

Previous release: Antigravity Desktop 2.36.0 and CLI 1.5.18–1.5.19

TL;DR: Across Antigravity CLI 1.5.20–1.5.22 (November 29–December 2, 2026) and Antigravity Desktop 2.37.0, our hands-on tests on Windows 11 (paid Google AI Pro) show four practical changes:

  • agy usage (1.5.22) checks quota without spending tokens: Its --json output gives exact remaining_fraction values; text mode rounds to whole percent. In our single-turn test, a turn's cost showed up within one minute and did not change across 13 subsequent calls.
  • agy conversations compact --dry-run (1.5.20+): On our Windows 11 machine, --dry-run matched 3 older conversations totaling 36.6 MB on disk while noting that originals stay backed up until deleted.
  • Cross-project drag-in chat links work in Desktop 2.37.0: Dragging another conversation from the sidebar into the message box—even from a different project—inserts a clickable blue link with a chat icon that opens that thread.
  • Collapsed /config groups (1.5.20+): Editor Mode and Voice collapse into summary rows and open dedicated sub-pages (Settings › Voice) with Enter or →.

What this means for you

  • If you call agy from another agent or script: Under Google's Antigravity Terms (and our December 1 Terms breakdown), running the unmodified harness via headless mode or Agent Client Protocol (ACP) is permitted. agy usage --json gives external tools a zero-token way to check remaining 5-hour and weekly quotas before starting a run (see our Google AI Plans and Gemini 4 Models guide and Gemini API Pricing Tiers Explained for how plan quotas and API billing differ).
  • If you want smaller session folders on disk: Run agy conversations compact --dry-run first to see which idle threads qualify before compacting.
  • If you organize work across multiple Antigravity projects: In Desktop 2.37.0, you can drag any sidebar conversation—including threads from other projects—into your active prompt box to link it.

How to Check Antigravity Quota from the CLI with agy usage (1.5.22)

Added in 1.5.22 (released December 2, 2026 per the antigravity-cli changelog), agy usage reads your account quota directly from the command line without starting a conversation, matching agy -p "/usage" across text, json (alias --json), and stream-json.

Windows Terminal running agy update to Antigravity CLI 1.5.22 followed by agy usage --json and agy usage --output-format text
Windows Terminal running agy update to Antigravity CLI 1.5.22 followed by agy usage --json and agy usage --output-format text

In PowerShell 7+ on Windows, you can pull the exact bucket fields directly without jq or extra tools (note that PowerShell's default table formatter displays floats to two decimal places and localizes reset_time, while the JSON holds full precision):

(agy usage --json | ConvertFrom-Json).command.data.groups.buckets |
  Select-Object id, remaining_fraction, reset_time

On our Pro account (captured at ~15:52 UTC, after the poll below), that printed:

id            remaining_fraction reset_time
--            ------------------ ----------
gemini-weekly               0.74 08.12.2026 7:15:31
gemini-5h                   0.92 02.12.2026 18:11:05
3p-weekly                      1 01.01.1970 0:00:00
3p-5h                          1 01.01.1970 0:00:00

--json vs. stream-json

  • agy usage --json returns a single JSON object with status: "SUCCESS", duration_seconds: 0, num_turns: 0, all usage counters at 0, the tab-separated summary in response, and command.data.groups[] with exact remaining_fraction floats and ISO reset_time timestamps (unused 100% pools report "1970-01-01T00:00:00Z", i.e., Unix timestamp 0, until a window starts).
  • agy usage --output-format stream-json emits two NDJSON lines: first {"event":"command_result","command":...}, followed by {"event":"result","result":{...}} wrapping the same object returned by --json.
  • Minor payload leftover: command.data.groups[0].description still lists Orchestrator (Argon) alongside Gemini 4 Neon, Carbon, and Hydrogen, even after Argon's December 1 removal from consumer plans.
Side-by-side readable comparison of agy usage --json and agy usage --output-format stream-json highlighting remaining_fraction, reset_time, the Orchestrator (Argon) leftover, and the two-event NDJSON wrapper
Side-by-side readable comparison of agy usage --json and agy usage --output-format stream-json highlighting remaining_fraction, reset_time, the Orchestrator (Argon) leftover, and the two-event NDJSON wrapper

How fast does agy usage --json reflect a turn? (Single-turn test)

To see whether quota updates lag behind completed turns, we polled agy usage --json every 60 seconds for 15 minutes on December 2 (15:15:20–15:29:49 UTC) around a single turn running on Gemini 4 Hydrogen (Medium), with no other runs in parallel. Sample 0 ran right before that turn finished, and sample 1 ran roughly 1 minute later after the response completed:

Time (UTC)gemini-weekly (remaining_fraction)Deltagemini-5h (remaining_fraction)Delta
15:15:20 (before turn completed)0.74759817—0.95971179—
15:16:22 (~1 min later, after turn)0.74606931-0.00152886 (-0.15 percentage points)0.95359617-0.00611562 (-0.61 percentage points)
15:17:24 – 15:29:49 (13 calls)0.746069310.000000000.953596170.00000000

Three takeaways from this single-turn test:

  1. agy usage consumes zero quota: Thirteen consecutive agy usage --json calls left both fractions unchanged, confirming that the command itself does not spend quota.
  2. Deduction appeared within 1 minute: The deduction appeared on the very next ~1-minute sample and did not drift afterward.
  3. Why text mode can look unchanged on small weekly drops: agy usage --output-format text rounds to whole percentages, so a 0.15 percentage-point weekly drop is invisible unless you read remaining_fraction from --json. As an observation, the 5-hour delta was almost 4× the weekly delta (0.00611562 / 0.00152886 = 4.0001), which suggests the 5-hour bucket may be roughly one-quarter of the weekly bucket, though Google does not publish the exact ratio.

We saw the same fast settling on the Claude pool in a second, 30-second-interval poll around two agy -p --model claude-opus-5-5-medium runs (16:17–16:18 UTC):

  • Before the first call, both Claude buckets stood at 1.0 with reset_time: "1970-01-01T00:00:00Z". Immediately after the first run (22,357 total tokens, finished at 16:17:41 UTC), claude-weekly dropped to 0.97828859 (-2.17 pp), claude-5h dropped to 0.95657718 (-4.34 pp), and reset_time switched to 2026-12-09T16:17:41Z.
  • After the second run (18,075 total tokens, finished at 16:18:40 UTC), the 16:18:57 UTC sample—17 seconds later—already reflected the new totals (0.94731313 weekly, 0.89462620 5-hour). On both Claude runs, the 5-hour deduction was 2× the weekly deduction (versus ~4× on Gemini).

In both tests, quota updated almost immediately—whereas in our November 13–15 coding tests, we had to wait noticeably longer after each run until reported figures stopped changing (for example, a Sonnet 5.5 run hit 429 while a snapshot still showed 42% due to reporting lag), though we did not run dedicated timing measurements back then.


On Windows 11 with Antigravity Desktop 2.37.0:

  • Dragging conversations into the message box: The 2.37.0 changelog notes support for dragging a conversation from the sidebar into the message box to mention it. In our test, this worked even for conversations from another project—dropping them in renders a clickable blue link with a chat icon (AI Model Updates And Quotas, AI Model Project Naming), and clicking the link opens that conversation.
Antigravity Desktop 2.37.0 prompt box showing two dragged-in conversations from another project rendered as clickable blue links with chat icons
Antigravity Desktop 2.37.0 prompt box showing two dragged-in conversations from another project rendered as clickable blue links with chat icons
  • Light theme presets live under Light Theme › Preset: In Settings › Appearance, the top Theme control remains a three-way toggle (system, light, dark). The Light Theme section underneath exposes a Preset dropdown (Default Light selected in our screenshot); our version tracker also lists Catppuccin, Everforest, Gruvbox Material, One Light, and Solarized Light in 2.37.0 (we did not click open the dropdown to verify all six entries in the UI).
Antigravity Desktop 2.37.0 Settings Appearance page showing the top three-way Theme toggle and the Light Theme Preset dropdown below it
Antigravity Desktop 2.37.0 Settings Appearance page showing the top three-way Theme toggle and the Light Theme Preset dropdown below it
  • Other 2.37.0 changelog items (not directly tested):
  • Features: The model selector groups unavailable plan models under an upgrade prompt with a footer button (Upgrade to AI Ultra already appeared on our Pro account in 2.36.0); View Usage highlights quotas at 20% or less; dragged URLs expand titles like pasted links; Marketplace suggestions are suppressed when disabled by an organization admin.
  • Fixes: Artifact stalls before turns, clipped dictation endings on fast Send/Stop, hidden replies before MCP Apps, ZWJ/emoji handling, admin-blocked Always allow rules, missing plugin sign-in buttons, and Swarm Reconnecting stalls.

CLI 1.5.20–1.5.22: conversations compact, collapsed /config, and /diff mouse support

Testing agy conversations compact --dry-run (1.5.20+)

Added in 1.5.20 (November 29), agy conversations compact shrinks idle saved conversations by deduplicating repeated turn metadata while keeping original files as backups (--dry-run, --yes, --undo, --delete-backups). Running agy conversations compact --dry-run on our Windows 11 machine (1.5.22) matched 3 older conversations totaling 36.6 MB:

Matched 3 conversation(s) to compact (36.6 MB on disk):
  ID                                    SIZE     MODIFIED    TITLE
  143471be-8a3d-4187-869d-d416325d1c13  16.0 MB  2026-11-11  Rules for this task:
  e814a2d4-8a1c-4e9d-933f-7769af8ef266  10.5 MB  2026-11-11  Rules for this task:
  8c60abf9-5f40-4628-88d1-ff492a89e968  10.1 MB  2026-11-11  Rules for this task:
Originals are kept as backups in C:\Users\<user>\.gemini\antigravity-cli\conversations_precompact until you delete them.

Dry run only; no changes made.

Collapsed /config groups (1.5.20, verified in 1.5.21)

In /config, multi-setting sections such as Editor Mode (default >) and Voice (dictation >) collapse into single summary rows. Pressing Enter or → opens a dedicated sub-page (Settings › Voice), while typing in Search: still queries nested settings from the root view.

Antigravity CLI 1.5.21 /config root screen showing Editor Mode and Voice collapsed into single summary rows
Antigravity CLI 1.5.21 /config root screen showing Editor Mode and Voice collapsed into single summary rows
Antigravity CLI 1.5.21 Settings Voice sub-page opened from /config showing Mode, Voice, Full Duplex, Volume, and Playback Speed
Antigravity CLI 1.5.21 Settings Voice sub-page opened from /config showing Mode, Voice, Full Duplex, Volume, and Playback Speed

Other changes across 1.5.20–1.5.22 (according to agy changelog)

  • 1.5.20: Enabled xhigh/max reasoning efforts on custom gemini-api:// models, and fixed agy acp issues (hiding Desktop conversations from session/list, using the project cwd instead of editor launch dir, reading unsaved editor buffers, and removing duplicate MODEL_PLACEHOLDER_... entries).
  • 1.5.21: Added mouse support in /diff and full-screen diff (f) with clean code copy (Shift+drag for native terminal selection), overwriteResult support for PostToolUse hooks, faster concurrent sign-in/startup, single-version SemVer skill loading, a fix for Invalid signature in thinking block when compacting after switching between Gemini and Claude, and a pagination fix for Agent Swarm's read_board 10 KB cap.
  • 1.5.22: Added agy usage, atomic multi-hunk edit_file (with per-hunk agy acp previews), Windows PowerShell 5.1 command guidance (; + $LASTEXITCODE/$?), and fixes for run_workflow inside Orchestrator sessions, subagents stalling idle after messaging peers, and 24-bit color in kitty/Ghostty over SSH.

Notable additions in recent releases (not yet active in our UI)

Our version tracker's comparison of the 1.5.20–1.5.22 and 2.36.0–2.37.0 releases also shows several features that are present in the releases but not enabled in our UI (presence in a release is not a product launch):

  • gemini-v4x (agy-cli 1.5.22): A new model identifier appeared in 1.5.22. We don't know which model this identifier maps to.
  • Winter theme (agy-cli 1.5.21): enable-holiday-frost ("Small holiday details through Jan 1", Hide Seasonal Touches) is present in the release, but gated by cli-seasonal-theme-periods and not active on December 2.
  • Chrome cookie import (agy-cli 1.5.21): enable-browser-chrome-cookie-import strings for importing selected site cookies from local Chrome profiles (excluding managed/work profiles) into the browser subagent. If shipped, this would let the browser agent reuse your logged-in sessions—worth checking what it can access before enabling.
  • Computer use app permissions (agy-cli 1.5.22): New permission strings for background app access ("Apps set to Always can be used in the background without asking; the agent still asks before deleting or sending. Terminals, code editors, password managers and system settings are always blocked.").
  • Separate MCP App views (Desktop 2.37.0): While inline MCP Apps already render in chat (referenced in the 2.37.0 fixes above), mcpAppViews.js, mcpAppViewPreload.js, and --agy-mcp-app-views add scaffolding for standalone MCP App views not yet exposed in our UI.

FAQ

Does agy usage consume tokens or quota?

No. Both --json output (duration_seconds: 0, num_turns: 0, total_tokens: 0) and our 13 consecutive agy usage --json polls with identical remaining_fraction values confirm it does not spend quota.

How do I check my Antigravity quota from the command line?

Update to agy 1.5.22 and run agy usage (or agy usage --json / agy usage --output-format stream-json for scripts).

Why does agy usage show the same percentage after a prompt?

Text mode (--output-format text) rounds remaining quota to whole percentages, so a small prompt that uses 0.15 percentage points of your weekly limit won't change the rounded number. Use agy usage --json and inspect remaining_fraction.

How do I update to Antigravity CLI 1.5.22?

Run agy update from your terminal and restart agy once the update completes.


Sources: Antigravity Changelog, Antigravity Terms of Service, antigravity-cli CHANGELOG.md, our own agy 1.5.21/1.5.22 and Desktop 2.37.0 checks on Windows 11 (December 1–2, 2026), and our version tracker's comparison of the official releases.