Antigravity CLI 1.5.22 Adds agy usage: A Zero-Token Quota Check (Plus Desktop 2.37.0)
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--jsonoutput gives exactremaining_fractionvalues; 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-runmatched 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
/configgroups (1.5.20+):Editor ModeandVoicecollapse into summary rows and open dedicated sub-pages (Settings › Voice) withEnteror→.
What this means for you
- If you call
agyfrom 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 --jsongives 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-runfirst 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.

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 --jsonreturns a single JSON object withstatus: "SUCCESS",duration_seconds: 0,num_turns: 0, allusagecounters at0, the tab-separated summary inresponse, andcommand.data.groups[]with exactremaining_fractionfloats and ISOreset_timetimestamps (unused 100% pools report"1970-01-01T00:00:00Z", i.e., Unix timestamp0, until a window starts).agy usage --output-format stream-jsonemits 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].descriptionstill listsOrchestrator (Argon)alongside Gemini 4 Neon, Carbon, and Hydrogen, even after Argon's December 1 removal from consumer plans.

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) | Delta | gemini-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.74606931 | 0.00000000 | 0.95359617 | 0.00000000 |
Three takeaways from this single-turn test:
agy usageconsumes zero quota: Thirteen consecutiveagy usage --jsoncalls left both fractions unchanged, confirming that the command itself does not spend quota.- Deduction appeared within 1 minute: The deduction appeared on the very next ~1-minute sample and did not drift afterward.
- Why
textmode can look unchanged on small weekly drops:agy usage --output-format textrounds to whole percentages, so a0.15percentage-point weekly drop is invisible unless you readremaining_fractionfrom--json. As an observation, the 5-hour delta was almost4×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.0withreset_time: "1970-01-01T00:00:00Z". Immediately after the first run (22,357total tokens, finished at16:17:41 UTC),claude-weeklydropped to0.97828859(-2.17pp),claude-5hdropped to0.95657718(-4.34pp), andreset_timeswitched to2026-12-09T16:17:41Z. - After the second run (
18,075total tokens, finished at16:18:40 UTC), the16:18:57 UTCsample—17 seconds later—already reflected the new totals (0.94731313weekly,0.894626205-hour). On both Claude runs, the 5-hour deduction was2×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.
Desktop 2.37.0: cross-project drag-in chat links and Appearance presets
On Windows 11 with Antigravity Desktop 2.37.0:
- Dragging conversations into the message box: The
2.37.0changelog 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.

- Light theme presets live under
Light Theme › Preset: InSettings › Appearance, the topThemecontrol remains a three-way toggle (system, light, dark). TheLight Themesection underneath exposes aPresetdropdown (Default Lightselected in our screenshot); our version tracker also listsCatppuccin,Everforest,Gruvbox Material,One Light, andSolarized Lightin2.37.0(we did not click open the dropdown to verify all six entries in the UI).

- Other
2.37.0changelog items (not directly tested): - Features: The model selector groups unavailable plan models under an upgrade prompt with a footer button (
Upgrade to AI Ultraalready appeared on our Pro account in2.36.0);View Usagehighlights 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-blockedAlways allowrules, missing plugin sign-in buttons, and SwarmReconnectingstalls.
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.


Other changes across 1.5.20–1.5.22 (according to agy changelog)
1.5.20: Enabledxhigh/maxreasoning efforts on customgemini-api://models, and fixedagy acpissues (hiding Desktop conversations fromsession/list, using the project cwd instead of editor launch dir, reading unsaved editor buffers, and removing duplicateMODEL_PLACEHOLDER_...entries).1.5.21: Added mouse support in/diffand full-screen diff (f) with clean code copy (Shift+drag for native terminal selection),overwriteResultsupport forPostToolUsehooks, faster concurrent sign-in/startup, single-version SemVer skill loading, a fix forInvalid signature in thinking blockwhen compacting after switching between Gemini and Claude, and a pagination fix for Agent Swarm'sread_board10 KB cap.1.5.22: Addedagy usage, atomic multi-hunkedit_file(with per-hunkagy acppreviews), Windows PowerShell 5.1 command guidance (;+$LASTEXITCODE/$?), and fixes forrun_workflowinside 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 in1.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 bycli-seasonal-theme-periodsand not active on December 2. - Chrome cookie import (
agy-cli 1.5.21):enable-browser-chrome-cookie-importstrings 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 the2.37.0fixes above),mcpAppViews.js,mcpAppViewPreload.js, and--agy-mcp-app-viewsadd 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.