Jio-Bundled Google AI Pro Finally Unlocks Gemini 4 Hydrogen in Antigravity! The Nov 30 Sunset Truth, Root Cause, Everyday Analogies & 3-OS Auto-Fix Scripts
Let us start with welcome relief for everyone holding Reliance Jio’s 18-month complimentary Google AI Pro bundle: right ahead of the November 30, 2026 model retirement cliff, Google has officially opened full access to Gemini 4 Hydrogen inside Google Antigravity (across the desktop App, IDE extensions, and agy CLI) for Trial and partner-bundled Google AI Pro accounts — including the top Extra (xhigh) reasoning budget.
Just days ago, Reddit threads across r/GeminiAI and r/google_antigravity as well as discuss.ai.google.dev were packed with developer panic. Inside the Antigravity model picker, Gemini 3.8 Flash was flashing a bright Leaving Soon badge scheduled for removal on November 30, 2026, while freshly launched Gemini 4 Neon, Carbon, and Argon remained locked behind direct-billed Pro requirements. Developers who redeemed Jio’s headline ₹35,100 promotional bundle were asking a fair question: would their Google AI Pro perk become unusable inside Antigravity overnight?
The short answer is no — in fact, the upgrade is dramatically better than what retired. By pushing Gemini 4 Hydrogen live with a New badge into the Google AI Pro (Trial) tier and all individual plans, Google replaced a retiring workhorse (18.2% on Terminal-Bench 4.1) with a far faster engine scoring 57.0% on Terminal-Bench 4.1 (a 3.1× jump) and 51–54 on the Artificial Analysis Intelligence Index. Still, many developers are running into three painful surprises: dropdowns stuck on legacy models because of local cache locks, five-hour quota buckets evaporating in twenty minutes after flipping Extra (xhigh) on permanently, or worse, accidentally canceling their active Jio bundle in Google One to chase direct billing. Below, backed by primary Antigravity documentation, live CLI outputs, and crystal-clear everyday analogies, we unpack the full picture.

Figure 1: Original panoramic overview. Key capability jumps after Google unlocked Gemini 4 Hydrogen for Trial & Jio Google AI Pro users ahead of the November 30, 2026 model sunset.
1. Background: From Promo Euphoria to the November 30 Lockout Scare
To appreciate why this rollout matters so much across developer communities, it helps to trace how the Reliance Jio bundle collided with Google Antigravity’s model calendar.
Under a landmark telecom partnership in India, Reliance Jio bundled an 18-month complimentary Google AI Pro subscription (valued locally at ₹1,950/month, or roughly ₹35,100 total) for eligible 5G prepaid and postpaid plans starting around ₹349 and above. On consumer surfaces like gemini.google.com, Google Drive (5 TB storage), Workspace AI, and NotebookLM, those Jio-managed accounts worked identically to retail credit-card subscribers.
Everything changed when developers signed into Google Antigravity during the October–November 2026 Gemini 4 element rollout (Argon on Oct 13, Carbon on Nov 10, Hydrogen on Nov 12, and Neon on Nov 18):
- Pro in the Browser, Trial in the IDE: While retail $19.99/month subscribers unlocked
Gemini 4 Argon,Carbon,Neon,Orchestrator, and third-party Claude 5.5 models, Jio partner-bundle users frequently found those frontier entries locked or unavailable inside Antigravity, leavingGemini 3.8 Flashas their primary daily driver; - The November 30 Deprecation Cliff: Official Antigravity documentation explicitly scheduled
Gemini 3.8 Flash,Gemini 4 Argon,GPT-OSS-120b, andClaude Sonnet/Opus 4.6 (thinking)for removal on November 30, 2026, tagging themLeaving Soonright in the model dropdown.

Figure 2: Live browser capture of antigravity.google/docs/models under the Google AI Pro (Trial) tab. Models marked with a dagger (†) such as Neon, Carbon, Argon, and Orchestrator require paid or eligible premium-device trials, whereas Gemini 4 Hydrogen now appears cleanly with a New badge right above the outgoing Gemini 3.8 Flash [Leaving Soon].
Right ahead of that November 30 deadline, Google updated its entitlement rollout so that Gemini 4 Hydrogen is now live across all Antigravity plans — including Free, Google AI Plus, and promotional Google AI Pro (Trial) accounts such as Jio’s 18-month offer.
2. Real-World Symptoms: Why Experience Still Varies Wildly After Unlock
Even after Google flipped the server-side entitlement flag, users keep running into four distinct friction patterns in the wild:
- Symptom 1: Hydrogen shows up for other Jio users, but your picker is stuck on 3.8 Flash or throws a capacity warning
Older Antigravity desktop builds (prior tov2.31.2+; current latest isv2.36.0) or outdatedagyCLI binaries retain a stale local model manifest. Worse, a crashed background auto-updater often leaves behind a strayupdate.lockfile inside~/.gemini/antigravity-cli/updater/, silently blocking updates and keeping the old dropdown frozen. - Symptom 2: Hydrogen unlocked, so why are Gemini 4 Carbon, Neon, and Orchestrator still locked?
This is the #1 source of confusion. Even though the Jio perk displays "Google AI Pro" on Google One consumer pages, Antigravity's compute billing engine checks whether the subscription SKU is a direct non-trial paid charge or a carrier-subsidized promotional bundle. - Symptom 3: Turning on Extra (
xhigh) burns through a five-hour rolling window in twenty minutes
Gemini 3.8 Flashdefaulted toMediumthinking, whereasGemini 4 Hydrogenexposes four effort tiers includingExtra(xhigh). Leavingxhighpinned for routine file edits on a Trial quota bucket drains backend compute credits dramatically faster than expected. - Symptom 4: Regional Terms-of-Service mismatch blocks login or triggers 403 errors
When your egress VPN/proxy location conflicts with your Google account's underlying Terms of Service Country Association (or points to an unsupported territory), Antigravity blocks authentication regardless of your Jio subscription status.
3. Three Everyday Analogies: Explaining Carrier SKUs, Upgrades & Quota Burn Simply
Before diving into policy footnotes and CLI flags, let us translate the three underlying cloud mechanisms into everyday pictures that any student — or non-technical teammate — can grasp immediately without sacrificing engineering precision.

Figure 3: Original conceptual diagram translating Google’s SKU entitlement tree, model retirement transition, and effort-based quota metering into three intuitive analogies.
Analogy 1: Theme Park Telecom Voucher vs. Front-Desk Gold Card
Imagine Google built a sprawling “AI Theme Park” called Antigravity.
If you walk up to the front ticket booth and pay $19.99/month directly with your own card, you receive a Front-Desk Gold Card (Paid Google AI Pro). If your mobile carrier (Reliance Jio) gives you a free 18-month perk with your phone plan, you receive a Carrier Partner VIP Voucher (Google AI Pro Trial).
Both passes let you stroll through the park gates, store 5 TB of luggage in the giant lockers (Google Drive), and enjoy all the main arena shows (the consumer Gemini web app). However, when you walk up to the power-hungry extreme developer coasters at the back of the park — Gemini 4 Carbon and Gemini 4 Neon — the turnstile scanner checks the chip inside your wristband. If it reads PARTNER_PROMO_TRIAL instead of direct retail billing or an eligible flagship phone offer, the gate stays politely closed.
Analogy 2: Retiring the Old 3.8 Scooter and Upgrading Everyone to a 4-Gear E-Bike
Previously, carrier-voucher visitors cruised around the coding park on a trusty little scooter called Gemini 3.8 Flash. It got simple errands done, but stalled easily on steep engineering hills (scoring just 18.2% on Terminal-Bench 4.1).
With November 30, 2026 marking the retirement date when those old 3.8 scooters get sent to the museum, leaving millions of free and promo riders stranded on foot was never an option. So park management rolled out a brand-new, high-efficiency 4-gear electric superbike — Gemini 4 Hydrogen — and unlocked it for every visitor tier. Not only is there zero service gap on November 30, your daily ride actually became more than three times stronger!
Analogy 3: Ordering One Fried Egg With a Full Kitchen Safety Inspection
Many people assume an Antigravity five-hour quota works like arcade tokens — one prompt equals one coin. In reality, Antigravity meters backend kitchen labor: hidden thinking tokens plus tool execution loops.
Suppose you only want a simple fried egg (renaming a CSS class or fixing a typo). On Medium effort, the chef cracks the egg, fries it in three seconds, and moves on. If you crank the selector up to Extra (xhigh) for every tiny question, it is like attaching a note to every fried-egg order saying: “Before turning on the stove, pause the entire kitchen for 20 minutes to audit every spice jar and run a full chemical safety check.” The egg tastes the same, yet you empty your five-hour fuel tank in a fraction of the turns. Keeping Medium as your everyday default and invoking xhigh only for nasty multi-file bugs stretches your quota 3×–5× further.
4. Root Cause Deep Dive: What Official Antigravity Docs Actually Say
Once we line up Antigravity’s official /pricing, /docs/models, /docs/plans, and /docs/faq pages side by side, every piece of behavior becomes 100% deterministic rather than mysterious.

Figure 4: Real browser capture from antigravity.google/docs/models. Notice that Gemini 4 Hydrogen carries a clean green checkmark across all four columns without any footnote restriction, whereas Neon, Carbon, Argon, Orchestrator, and Claude 5.5 carry † or ∗∗ qualifiers.
Root Cause 1: “Google AI Pro” Splits Into Two Distinct Entitlement Branches
When developers glance at the marketing cards on antigravity.google/pricing, it is easy to spot “Google AI Pro” and overlook the tiny superscript numbers (2, 3, 4) and footnotes beneath the cards.

Figure 5: Live capture of antigravity.google/pricing. Look closely at the Google AI Pro column: Gemini 4 Neon, Carbon, Argon, and Orchestrator carry superscript 2, while Claude 5.5 carries superscript 3.
Translating those official footnotes directly:
- Footnote
†(Note 2 on Pricing): "Available with paid Google AI Pro plans or on trial with eligible premium devices." — meaningGemini 4 Neon,Gemini 4 Carbon,Gemini 4 Argon, andOrchestratoronly unlock for directly billed Pro plans or qualifying flagship hardware bundles (such as eligible Pixel device promos), not generic carrier vouchers; - Footnote
∗∗(Note 3 on Pricing): "Available on Google AI Pro for non-trial subscriptions only." — locking third-partyClaude Sonnet 5.5andClaude Opus 5.5strictly to paid non-trial subscriptions; - Footnote
*(Note 4 on Pricing): "Will be removed on November 30, 2026." — confirming the sunset ofGemini 4 Argon,Gemini 3.8 Flash,GPT-OSS-120b, andClaude 4.6models.

Figure 6: Complete entitlement matrix synthesized from official Antigravity docs, highlighting exactly where Reliance Jio’s 18-month promotional bundle sits.
Better yet, antigravity.google/docs/plans spells out the split explicitly in prose: Paid Google AI Pro subscribers get frontier Gemini models (Neon, Carbon, Argon) plus higher 5-hour/weekly quotas, whereas Google AI Pro trial subscribers (standard free and promotional trials) receive a separate entitlement tier with lower capacity-dependent limits and a focused model set — now anchored by Gemini 4 Hydrogen.

Figure 7: Live capture of antigravity.google/docs/plans explicitly separating Paid Google AI Pro from Google AI Pro trial (standard free and promotional trials).
Root Cause 2: The Compute Economics Behind Unlocking Hydrogen First
From an infrastructure engineering standpoint, Google’s decision makes complete financial and architectural sense.

Figure 8: Official Antigravity blog announcement (antigravity.google/blog/gemini-4-hydrogen-in-google-antigravity) detailing Hydrogen’s coding speed and agentic execution metrics.
Compare the underlying Gemini API economics per million tokens:
- Gemini 4 Carbon (standard rate): $4.00 input / $20.00 output;
- Gemini 4 Neon: $3.00 input / $15.00 output;
- Gemini 4 Hydrogen: just $1.50 input / $7.50 output (dropping to $0.075/M on implicit cache reads), streaming at a blistering 188–198 tok/s across a unified 1-million-token context window.
Because an agentic coding turn routinely inspects dozens of files and runs multi-step verification loops, exposing $20/M frontier weights to millions of zero-cost carrier promo accounts would invite massive quota exhaustion and abuse. By distilling Carbon’s engineering instincts into Gemini 4 Hydrogen, Google delivers 57.0% on Terminal-Bench 4.1 (more than 3× 3.8 Flash’s 18.2%) and 51 on the Artificial Analysis Intelligence Index — climbing to 54 at xhigh, surpassing October’s Argon (50) — at a sustainable compute footprint.

Figure 9: Original benchmark & quota survival guide. Left: verified Terminal-Bench 4.1, AA Intelligence Index, and throughput gains; Right: practical effort pacing across low, medium, high, and xhigh.
5. How to Fix Missing Models, Sync Quotas & Protect Your Jio Bundle
If Gemini 4 Hydrogen still has not appeared inside your Antigravity picker, or if you want to clean out retiring gemini-3.8-flash references cleanly today, follow this exact checklist.
Red-Line Warning: Do NOT Cancel Your Jio Bundle to Try Direct Billing!
Look carefully at the official FAQ screenshot below. While Antigravity notes that trial users can contact Google One Support to cancel a trial and switch to a paid Google AI Pro plan, doing that on a Jio 18-month promotional Google account is a dangerous trap.

Figure 10: Live capture of antigravity.google/docs/faq detailing trial upgrades and third-party partner subscription management.
Reliance Jio has already closed new campaign activations for the promo offer. Canceling your partner-managed Google One plan inside the same Google account can permanently forfeit the remaining months of your free ₹35,100 bundle along with your 5 TB Drive storage, with no way to re-claim it via MyJio.
- Smart everyday setup: Keep your primary Jio account intact and enjoy newly unlocked
Gemini 4 Hydrogenin Antigravity at zero extra cost; - When you genuinely need Neon or Carbon: Pay for a month of Pro on a separate personal Google account, or attach a standalone paid-tier
GEMINI_API_KEYfrom Google AI Studio without ever touching your Jio-linked primary account.
5-Step Troubleshooting & Unlock Route

Figure 11: Five-station troubleshooting roadmap from client version verification through safe default locking.
- Step 1: Verify your client version supports the Gemini 4 manifest
Ensure Antigravity App is onv2.31.2+(latest release as of Nov 27 isv2.36.0) and runagy updateso the CLI is onv1.2+(verified live on1.5.20). - Step 2: Confirm your Google Terms of Service Country Association
Check the footer country onpolicies.google.com/termsand make sure your account belongs to an Antigravity-supported country (India, the US, Singapore, Japan, etc., are all supported). - Step 3: Force a backend entitlement & quota refresh
- Antigravity App / IDE: Open
Settings > Models & Usageand click the circular Refresh button; - Antigravity CLI: Run
agy modelsor type/usage(alias/quota) inside an interactive session. As documented in the CLI reference, opening/usageforces a live backend refresh of both your quota bars and available model config.
- Antigravity App / IDE: Open

Figure 12: Official antigravity.google/docs/cli/commands/usage documentation illustrating the /usage TUI panel that refreshes backend quotas and model visibility on launch.
- Step 4: Clear stuck updater locks & refresh OAuth if still locked
Ifagy updatehangs, check whether a stale~/.gemini/antigravity-cli/updater/update.lockfile was left behind by an earlier crash and remove it. Then sign out and re-complete browser OAuth to mint a fresh Google One entitlement token. - Step 5: Pin
Gemini 4 Hydrogen (Medium)as your daily default
SelectGemini 4 Hydrogen (Medium)via/model(or pass--model gemini-4-hydrogen-mediumin scripts), reserving--effort xhighstrictly for targeted one-off runs like complex concurrency debugging.
We verified this live on macOS 27 against an active Trial-branch account right on November 30, 2026. Running agy –version, agy models, and agy -p “/effort” –output-format json returned all four Hydrogen tiers cleanly alongside the outgoing November 30 models:

Figure 13: Sanitized live CLI capture on macOS 27 (agy 1.5.20, zero IPs/hostnames/credentials) confirming gemini-4-hydrogen-low, medium, high, and xhigh are active.
6. Cross-Platform Zero-Dependency Diagnostic & Migration Scripts (Human + Agent Modes)
To save everyone from manually chasing config paths, updater locks, and retiring November 30 model strings across repos, we built three zero-dependency native scripts for Windows 11, Ubuntu 26.04 LTS, and macOS 27 (Golden Gate):
- Zero third-party dependencies: Uses only built-in PowerShell, GNU Bash, or macOS Zsh utilities — no external Python packages or third-party cloud proxies;
- Strict privacy guard: Network checks extract only a two-letter ISO country code, never printing full IP addresses, computer hostnames, emails, or tokens;
- Dual execution modes: Supports both interactive human prompts and headless
--auto --jsonoutput for AI Coding Agents.

Figure 14: Three-platform zero-dependency toolkit architecture supporting both interactive human operation and structured Agent automation.
Method 1: One-Click Human Interactive Scripts
1. Windows 11 (PowerShell: jio_hydrogen_fix_windows11.ps1)
<#
.SYNOPSIS
Google AI Pro (Jio) x Antigravity Gemini 4 Hydrogen Diagnostic & Fix - Windows 11
Zero third-party dependencies (PowerShell 5.1 / 7+ built-in cmdlets only).
Privacy Guard: Never emits full IP addresses, computer hostnames, or credentials.
.EXAMPLE
Human Interactive: .\jio_hydrogen_fix_windows11.ps1
Agent Automated: .\jio_hydrogen_fix_windows11.ps1 -Auto -Json -Target . -Apply
#>
[CmdletBinding()]
param(
[string]$Target = ".",
[switch]$Auto,
[switch]$Json,
[switch]$Apply,
[switch]$ClearLock,
[switch]$Help
)
$ErrorActionPreference = "Stop"
if ($Help) {
Write-Output "Usage: .\jio_hydrogen_fix_windows11.ps1 [-Target <dir>] [-Auto] [-Json] [-Apply] [-ClearLock]"
exit 0
}
if ($Json) { $Auto = $true }
if (-not (Test-Path -Path $Target -PathType Container)) {
Write-Error "Target directory not found: $Target"
exit 2
}
$TargetAbs = (Resolve-Path -Path $Target).Path
if (-not $Auto) {
Write-Host "=====================================================================" -ForegroundColor Cyan
Write-Host " Jio Google AI Pro x Antigravity Hydrogen Diagnostic - Windows 11" -ForegroundColor Blue
Write-Host "=====================================================================" -ForegroundColor Cyan
$inputDir = Read-Host "Workspace directory to scan [$TargetAbs] (Enter to keep)"
if ($inputDir -and $inputDir.Trim() -ne "") {
if (-not (Test-Path -Path $inputDir -PathType Container)) {
Write-Error "Directory not found: $inputDir"
exit 2
}
$TargetAbs = (Resolve-Path -Path $inputDir).Path
}
$lockAns = Read-Host "Clear stale updater lock if found? [y/N]"
if ($lockAns -match "^[Yy]") { $ClearLock = $true }
$applyAns = Read-Host "Backup settings.json and pin default to Gemini 4 Hydrogen (Medium)? [y/N]"
if ($applyAns -match "^[Yy]") { $Apply = $true }
}
# 1. Detect agy CLI
$AgyBin = $null
$cmd = Get-Command agy -ErrorAction SilentlyContinue
if ($cmd) {
$AgyBin = $cmd.Source
} elseif (Test-Path "$env:LOCALAPPDATA\agy\bin\agy.exe") {
$AgyBin = "$env:LOCALAPPDATA\agy\bin\agy.exe"
}
$AgyVersion = "not-installed"
if ($AgyBin) {
try {
$AgyVersion = (& $AgyBin --version 2>$null | Select-Object -First 1).ToString().Trim()
} catch {
$AgyVersion = "unknown"
}
}
# 2. Check egress ISO country code ONLY (zero IP disclosure)
$EgressCountry = "UNKNOWN"
try {
$trace = Invoke-RestMethod -Uri "https://cloudflare.com/cdn-cgi/trace" -TimeoutSec 4
foreach ($line in ($trace -split "`n")) {
if ($line -match "^loc=([A-Z]{2})\r?$") {
$EgressCountry = $Matches[1]
break
}
}
} catch {}
# 3. Inspect ~/.gemini/antigravity-cli updater lock & settings
$CliHome = Join-Path $env:USERPROFILE ".gemini\antigravity-cli"
$LockFile = Join-Path $CliHome "updater\update.lock"
$SettingsFile = Join-Path $CliHome "settings.json"
$LockPresent = Test-Path $LockFile
$LockCleared = $false
if ($LockPresent -and $ClearLock) {
Remove-Item -Path $LockFile -Force -ErrorAction SilentlyContinue
$LockCleared = -not (Test-Path $LockFile)
}
# 4. Query live agy models output
$HydrogenUnlocked = $false
$HydrogenXHigh = $false
$FrontierGated = $true
$RetiringVisible = $false
if ($AgyBin) {
try {
$modelsOut = (& $AgyBin models 2>$null) -join "`n"
if ($modelsOut -match "gemini-4-hydrogen") { $HydrogenUnlocked = $true }
if ($modelsOut -match "gemini-4-hydrogen-xhigh") { $HydrogenXHigh = $true }
if ($modelsOut -match "gemini-4-neon|gemini-4-carbon") { $FrontierGated = $false }
if ($modelsOut -match "gemini-3\.8-flash|claude-sonnet-4-6|gpt-oss-120b") { $RetiringVisible = $true }
} catch {}
}
# 5. Scan workspace for Nov 30 retiring model IDs
$Extensions = @("*.json","*.yaml","*.yml","*.toml","*.ts","*.py","*.js","*.sh","*.zsh","*.ps1",".env*")
$SkipRegex = '\\(\.git|node_modules|\.venv|dist|build)(\\|$)'
$Pattern = 'gemini-3\.8-flash|gemini-4-argon|claude-sonnet-4-6|claude-opus-4-6-thinking|gpt-oss-120b'
$Files = Get-ChildItem -Path $TargetAbs -Recurse -File -Include $Extensions -ErrorAction SilentlyContinue |
Where-Object { $_.FullName -notmatch $SkipRegex }
$HitFiles = New-Object System.Collections.Generic.List[string]
$LegacyMatches = 0
if ($Files) {
$Hits = $Files | Select-String -Pattern $Pattern -ErrorAction SilentlyContinue
if ($Hits) {
$LegacyMatches = @($Hits).Count
foreach ($h in ($Hits | Select-Object -First 3)) {
$rel = $h.Path.Substring($TargetAbs.Length).TrimStart('\', '/') -replace '\\', '/'
if (-not $HitFiles.Contains($rel)) { $HitFiles.Add($rel) }
}
}
}
# 6. Backup & apply safe default model
$SettingsUpdated = $false
$BackupLabel = ""
$CurrentModel = "unset"
$SettingsObj = [ordered]@{}
if (Test-Path $SettingsFile) {
try {
$rawJson = Get-Content -Path $SettingsFile -Raw -Encoding UTF8
$parsed = $rawJson | ConvertFrom-Json
foreach ($prop in $parsed.PSObject.Properties) {
$SettingsObj[$prop.Name] = $prop.Value
}
if ($SettingsObj.Contains("model") -and $SettingsObj["model"]) {
$CurrentModel = [string]$SettingsObj["model"]
}
} catch {
$CurrentModel = "parse-error"
}
}
if ($Apply) {
New-Item -ItemType Directory -Path $CliHome -Force | Out-Null
if (Test-Path $SettingsFile) {
$ts = Get-Date -Format "yyyyMMddHHmmss"
$bakPath = "$SettingsFile.bak.$ts"
Copy-Item -Path $SettingsFile -Destination $bakPath -Force
$BackupLabel = "~/.gemini/antigravity-cli/settings.json.bak.$ts"
}
$SettingsObj["model"] = "Gemini 4 Hydrogen (Medium)"
if (-not $SettingsObj.Contains("useG1Credits")) {
$SettingsObj["useG1Credits"] = $false
}
$SettingsObj | ConvertTo-Json -Depth 10 | Set-Content -Path $SettingsFile -Encoding UTF8
$CurrentModel = "Gemini 4 Hydrogen (Medium)"
$SettingsUpdated = $true
}
$Result = [ordered]@{
platform = "Windows 11"
agy_found = [bool]$AgyBin
agy_version = $AgyVersion
egress_country_iso = $EgressCountry
updater_lock_present = $LockPresent
updater_lock_cleared = $LockCleared
hydrogen_unlocked = $HydrogenUnlocked
hydrogen_xhigh_available = $HydrogenXHigh
frontier_gated_trial_sku = $FrontierGated
nov30_retiring_visible = $RetiringVisible
configured_model = $CurrentModel
settings_updated = $SettingsUpdated
backup_path = $BackupLabel
workspace_legacy_model_hits = $LegacyMatches
workspace_sample_files = ($HitFiles -join ",")
}
if ($Json) {
$Result | ConvertTo-Json -Depth 5
} else {
Write-Host ""
Write-Host "=== Diagnostic Summary (Windows 11 · Sanitized) ===" -ForegroundColor Cyan
Write-Host "Antigravity CLI (agy): $AgyVersion"
Write-Host "Egress Country (ISO): $EgressCountry"
Write-Host "Updater Lock Present: $LockPresent (cleared=$LockCleared)"
Write-Host "Gemini 4 Hydrogen Live: $HydrogenUnlocked (xhigh=$HydrogenXHigh)"
Write-Host "Trial/Jio SKU Gating: $FrontierGated (Neon/Carbon gated)"
Write-Host "Configured Default: $CurrentModel (updated=$SettingsUpdated)"
Write-Host "Legacy Nov-30 Hits: $LegacyMatches $($Result.workspace_sample_files)"
Write-Host ""
if ($HydrogenUnlocked) {
Write-Host "[OK] Gemini 4 Hydrogen is active! Recommended default: Gemini 4 Hydrogen (Medium)." -ForegroundColor Green
} else {
Write-Host "[ACTION] Run 'agy update', ensure $env:LOCALAPPDATA\agy\bin is on PATH, and run '/usage' in agy." -ForegroundColor Yellow
}
}
if ($HydrogenUnlocked) { exit 0 } else { exit 10 }
Run command:
powershell -ExecutionPolicy Bypass -File .\jio_hydrogen_fix_windows11.ps1
2. Ubuntu 26.04 LTS (Bash: jio_hydrogen_fix_ubuntu2604.sh)
#!/usr/bin/env bash
# ==============================================================================
# Google AI Pro (Jio) x Antigravity Gemini 4 Hydrogen Diagnostic & Fix — Ubuntu 26.04
# Zero third-party dependencies (GNU bash, grep, awk, sed, curl)
# Privacy Guard: Never emits full IP addresses, computer hostnames, or credentials.
#
# Modes:
# Human Interactive: bash ./jio_hydrogen_fix_ubuntu2604.sh
# Agent Automated: bash ./jio_hydrogen_fix_ubuntu2604.sh --auto --json [--target .] [--apply] [--clear-lock]
# ==============================================================================
set -euo pipefail
TARGET_DIR="."
AUTO_MODE=0
JSON_MODE=0
APPLY_DEFAULT=0
CLEAR_LOCK=0
print_usage() {
cat <<'USAGE'
Usage: bash jio_hydrogen_fix_ubuntu2604.sh [options]
--target <dir> Workspace directory to scan for Nov 30 retiring models (default: .)
--auto Non-interactive mode (no prompts; ideal for CI / AI Agents)
--json Emit machine-readable sanitized JSON summary to stdout
--apply Backup ~/.gemini/antigravity-cli/settings.json & pin Gemini 4 Hydrogen (Medium)
--clear-lock Remove stale ~/.gemini/antigravity-cli/updater/update.lock if present
-h, --help Show help
USAGE
}
while (( $# > 0 )); do
case "$1" in
--target)
shift
[[ $# -gt 0 ]] || { echo "Error: --target requires a directory" >&2; exit 2; }
TARGET_DIR="$1"
;;
--auto) AUTO_MODE=1 ;;
--json) JSON_MODE=1; AUTO_MODE=1 ;;
--apply) APPLY_DEFAULT=1 ;;
--clear-lock) CLEAR_LOCK=1 ;;
-h|--help) print_usage; exit 0 ;;
*) echo "Unknown option: $1" >&2; print_usage >&2; exit 2 ;;
esac
shift
done
if [[ ! -d "$TARGET_DIR" ]]; then
echo "Error: Target directory not found: $TARGET_DIR" >&2
exit 2
fi
TARGET_ABS="$(cd "$TARGET_DIR" && pwd)"
if (( AUTO_MODE == 0 )); then
echo "====================================================================="
echo " Jio Google AI Pro x Antigravity Hydrogen Diagnostic — Ubuntu 26.04"
echo "====================================================================="
printf "Workspace directory to scan [%s] (Enter to keep): " "$TARGET_ABS"
read -r input_dir || true
if [[ -n "${input_dir:-}" ]]; then
[[ -d "$input_dir" ]] || { echo "Directory not found: $input_dir" >&2; exit 2; }
TARGET_ABS="$(cd "$input_dir" && pwd)"
fi
printf "Clear stale updater lock if found? [y/N]: "
read -r lock_ans || true
[[ "${lock_ans:-n}" == [Yy]* ]] && CLEAR_LOCK=1
printf "Backup settings.json & pin default to Gemini 4 Hydrogen (Medium)? [y/N]: "
read -r apply_ans || true
[[ "${apply_ans:-n}" == [Yy]* ]] && APPLY_DEFAULT=1
fi
# 1. Detect agy CLI
AGY_BIN=""
if command -v agy >/dev/null 2>&1; then
AGY_BIN="$(command -v agy)"
elif [[ -x "$HOME/.local/bin/agy" ]]; then
AGY_BIN="$HOME/.local/bin/agy"
fi
AGY_VERSION="not-installed"
if [[ -n "$AGY_BIN" ]]; then
AGY_VERSION="$("$AGY_BIN" --version 2>/dev/null | head -n 1 | tr -d '\r' || echo "unknown")"
fi
# 2. Check Linux D-Bus / GNOME Keyring readiness
KEYRING_STATE="unknown"
if [[ -n "${DBUS_SESSION_BUS_ADDRESS:-}" ]]; then
if pgrep -x "gnome-keyring-d" >/dev/null 2>&1 || pgrep -x "kwalletd6" >/dev/null 2>&1 || pgrep -x "kwalletd5" >/dev/null 2>&1; then
KEYRING_STATE="active"
else
KEYRING_STATE="dbus_ready_no_daemon"
fi
else
KEYRING_STATE="headless_no_dbus"
fi
# 3. Check egress ISO country code ONLY (strictly zero IP disclosure)
EGRESS_COUNTRY="UNKNOWN"
if command -v curl >/dev/null 2>&1; then
cc="$(curl -s --connect-timeout 4 https://cloudflare.com/cdn-cgi/trace 2>/dev/null | awk -F= '$1=="loc"{print $2}' | tr -d '\r' || true)"
if [[ "$cc" =~ ^[A-Z]{2}$ ]]; then
EGRESS_COUNTRY="$cc"
fi
fi
# 4. Inspect ~/.gemini/antigravity-cli updater lock & settings
CLI_HOME="$HOME/.gemini/antigravity-cli"
LOCK_FILE="$CLI_HOME/updater/update.lock"
SETTINGS_FILE="$CLI_HOME/settings.json"
LOCK_PRESENT=false
LOCK_CLEARED=false
if [[ -e "$LOCK_FILE" ]]; then
LOCK_PRESENT=true
if (( CLEAR_LOCK == 1 )); then
rm -f "$LOCK_FILE" && LOCK_CLEARED=true
fi
fi
# 5. Query live agy models output
HYDROGEN_UNLOCKED=false
HYDROGEN_XHIGH=false
FRONTIER_GATED=true
RETIRING_VISIBLE=false
MODELS_TEXT=""
if [[ -n "$AGY_BIN" ]]; then
MODELS_TEXT="$("$AGY_BIN" models 2>/dev/null | tr '\r' '\n' || true)"
[[ "$MODELS_TEXT" == *"gemini-4-hydrogen"* ]] && HYDROGEN_UNLOCKED=true
[[ "$MODELS_TEXT" == *"gemini-4-hydrogen-xhigh"* ]] && HYDROGEN_XHIGH=true
if [[ "$MODELS_TEXT" == *"gemini-4-neon"* || "$MODELS_TEXT" == *"gemini-4-carbon"* ]]; then
FRONTIER_GATED=false
fi
if [[ "$MODELS_TEXT" == *"gemini-3.8-flash"* || "$MODELS_TEXT" == *"claude-sonnet-4-6"* || "$MODELS_TEXT" == *"gpt-oss-120b"* ]]; then
RETIRING_VISIBLE=true
fi
fi
# 6. Scan target workspace for hardcoded Nov 30 retiring model IDs
LEGACY_MATCHES=0
SAMPLE_FILES=""
raw_hits="$(grep -rnE \
--exclude-dir=.git --exclude-dir=node_modules --exclude-dir=.venv --exclude-dir=dist --exclude-dir=build \
--include='*.json' --include='*.yaml' --include='*.yml' --include='*.toml' --include='*.ts' --include='*.py' --include='*.js' --include='*.sh' --include='*.zsh' --include='*.ps1' --include='*.env*' \
'gemini-3\.8-flash|gemini-4-argon|claude-sonnet-4-6|claude-opus-4-6-thinking|gpt-oss-120b' "$TARGET_ABS" 2>/dev/null || true)"
if [[ -n "$raw_hits" ]]; then
LEGACY_MATCHES="$(printf '%s\n' "$raw_hits" | wc -l | tr -d ' ')"
SAMPLE_FILES="$(printf '%s\n' "$raw_hits" | head -n 3 | sed "s|$TARGET_ABS/||g" | cut -d: -f1 | paste -sd ',' -)"
fi
# 7. Backup & apply safe default model ("Gemini 4 Hydrogen (Medium)") if requested
SETTINGS_UPDATED=false
BACKUP_LABEL=""
CURRENT_MODEL="unset"
if [[ -f "$SETTINGS_FILE" ]]; then
CURRENT_MODEL="$(awk -F'"' '/"model"[[:space:]]*:/ {print $4; exit}' "$SETTINGS_FILE" 2>/dev/null || echo "unset")"
[[ -z "$CURRENT_MODEL" ]] && CURRENT_MODEL="unset"
fi
if (( APPLY_DEFAULT == 1 )); then
mkdir -p "$CLI_HOME"
if [[ -f "$SETTINGS_FILE" ]] && grep -q '[^[:space:]]' "$SETTINGS_FILE"; then
ts="$(date +%Y%m%d%H%M%S)"
cp "$SETTINGS_FILE" "${SETTINGS_FILE}.bak.${ts}"
BACKUP_LABEL="~/.gemini/antigravity-cli/settings.json.bak.${ts}"
if grep -qE '"model"[[:space:]]*:' "$SETTINGS_FILE"; then
awk '
BEGIN { done=0 }
/"model"[[:space:]]*:/ && !done {
sub(/"model"[[:space:]]*:[[:space:]]*"[^"]*"/, "\"model\": \"Gemini 4 Hydrogen (Medium)\"")
done=1
}
{ print }
' "$SETTINGS_FILE" > "${SETTINGS_FILE}.tmp" && mv "${SETTINGS_FILE}.tmp" "$SETTINGS_FILE"
elif [[ "$(tr -d '[:space:]' < "$SETTINGS_FILE")" == "{}" ]]; then
printf '{\n "model": "Gemini 4 Hydrogen (Medium)",\n "useG1Credits": false\n}\n' > "$SETTINGS_FILE"
else
awk '
BEGIN { inserted=0 }
/\{/ && !inserted {
sub(/\{/, "{\n \"model\": \"Gemini 4 Hydrogen (Medium)\",")
inserted=1
}
{ print }
' "$SETTINGS_FILE" > "${SETTINGS_FILE}.tmp" && mv "${SETTINGS_FILE}.tmp" "$SETTINGS_FILE"
fi
else
printf '{\n "model": "Gemini 4 Hydrogen (Medium)",\n "useG1Credits": false\n}\n' > "$SETTINGS_FILE"
fi
CURRENT_MODEL="Gemini 4 Hydrogen (Medium)"
SETTINGS_UPDATED=true
fi
if (( JSON_MODE == 1 )); then
cat <<EOF
{
"platform": "Ubuntu 26.04",
"agy_found": $([[ -n "$AGY_BIN" ]] && echo true || echo false),
"agy_version": "${AGY_VERSION}",
"keyring_state": "${KEYRING_STATE}",
"egress_country_iso": "${EGRESS_COUNTRY}",
"updater_lock_present": ${LOCK_PRESENT},
"updater_lock_cleared": ${LOCK_CLEARED},
"hydrogen_unlocked": ${HYDROGEN_UNLOCKED},
"hydrogen_xhigh_available": ${HYDROGEN_XHIGH},
"frontier_gated_trial_sku": ${FRONTIER_GATED},
"nov30_retiring_visible": ${RETIRING_VISIBLE},
"configured_model": "${CURRENT_MODEL}",
"settings_updated": ${SETTINGS_UPDATED},
"backup_path": "${BACKUP_LABEL}",
"workspace_legacy_model_hits": ${LEGACY_MATCHES},
"workspace_sample_files": "${SAMPLE_FILES}"
}
EOF
else
echo ""
echo "=== Diagnostic Summary (Ubuntu 26.04 · Sanitized) ==="
echo "Antigravity CLI (agy): ${AGY_VERSION}"
echo "Keyring / D-Bus State: ${KEYRING_STATE}"
echo "Egress Country (ISO): ${EGRESS_COUNTRY}"
echo "Updater Lock Present: ${LOCK_PRESENT} (cleared=${LOCK_CLEARED})"
echo "Gemini 4 Hydrogen Live: ${HYDROGEN_UNLOCKED} (xhigh=${HYDROGEN_XHIGH})"
echo "Trial/Jio SKU Gating: ${FRONTIER_GATED} (Neon/Carbon gated)"
echo "Configured Default: ${CURRENT_MODEL} (updated=${SETTINGS_UPDATED})"
echo "Legacy Nov-30 Hits: ${LEGACY_MATCHES} ${SAMPLE_FILES:+(${SAMPLE_FILES})}"
echo ""
if [[ "$HYDROGEN_UNLOCKED" == "true" ]]; then
echo "[OK] Gemini 4 Hydrogen is active! Recommended default: Gemini 4 Hydrogen (Medium)."
else
echo "[ACTION] Run 'agy update', unlock keyring/D-Bus (export \$(dbus-launch)), or run '/usage' in agy."
fi
fi
[[ "$HYDROGEN_UNLOCKED" == "true" ]] && exit 0 || exit 10
Run command:
chmod +x ./jio_hydrogen_fix_ubuntu2604.sh && ./jio_hydrogen_fix_ubuntu2604.sh
3. macOS 27 (Zsh: jio_hydrogen_fix_macos27.zsh)
#!/usr/bin/env zsh
# ==============================================================================
# Google AI Pro (Jio) x Antigravity Gemini 4 Hydrogen Diagnostic & Fix — macOS 27
# Zero third-party dependencies (macOS 27 built-in zsh, grep, awk, sed, curl, security)
# Privacy Guard: Never emits full IP addresses, computer hostnames, or credentials.
#
# Modes:
# Human Interactive: zsh ./jio_hydrogen_fix_macos27.zsh
# Agent Automated: zsh ./jio_hydrogen_fix_macos27.zsh --auto --json [--target .] [--apply] [--clear-lock]
# ==============================================================================
emulate -L zsh
setopt PIPE_FAIL NO_UNSET
TARGET_DIR="."
AUTO_MODE=0
JSON_MODE=0
APPLY_DEFAULT=0
CLEAR_LOCK=0
print_usage() {
cat <<'USAGE'
Usage: zsh jio_hydrogen_fix_macos27.zsh [options]
--target <dir> Workspace directory to scan for Nov 30 retiring models (default: .)
--auto Non-interactive mode (no prompts; ideal for CI / AI Agents)
--json Emit machine-readable sanitized JSON summary to stdout
--apply Backup ~/.gemini/antigravity-cli/settings.json & pin Gemini 4 Hydrogen (Medium)
--clear-lock Remove stale ~/.gemini/antigravity-cli/updater/update.lock if present
-h, --help Show help
USAGE
}
while (( $# > 0 )); do
case "$1" in
--target)
shift
[[ $# -gt 0 ]] || { echo "Error: --target requires a directory" >&2; exit 2; }
TARGET_DIR="$1"
;;
--auto) AUTO_MODE=1 ;;
--json) JSON_MODE=1; AUTO_MODE=1 ;;
--apply) APPLY_DEFAULT=1 ;;
--clear-lock) CLEAR_LOCK=1 ;;
-h|--help) print_usage; exit 0 ;;
*) echo "Unknown option: $1" >&2; print_usage >&2; exit 2 ;;
esac
shift
done
if [[ ! -d "$TARGET_DIR" ]]; then
echo "Error: Target directory not found: $TARGET_DIR" >&2
exit 2
fi
TARGET_ABS="$(cd "$TARGET_DIR" && pwd)"
if (( AUTO_MODE == 0 )); then
print -P "%F{cyan}=====================================================================%f"
print -P "%B%F{blue} Jio Google AI Pro x Antigravity Hydrogen Diagnostic — macOS 27%f%b"
print -P "%F{cyan}=====================================================================%f"
printf "Workspace directory to scan [%s] (Enter to keep): " "$TARGET_ABS"
read -r input_dir || true
if [[ -n "${input_dir:-}" ]]; then
[[ -d "$input_dir" ]] || { echo "Directory not found: $input_dir" >&2; exit 2; }
TARGET_ABS="$(cd "$input_dir" && pwd)"
fi
printf "Clear stale updater lock if found? [y/N]: "
read -r lock_ans || true
[[ "${lock_ans:-n}" == [Yy]* ]] && CLEAR_LOCK=1
printf "Backup settings.json & pin default to Gemini 4 Hydrogen (Medium)? [y/N]: "
read -r apply_ans || true
[[ "${apply_ans:-n}" == [Yy]* ]] && APPLY_DEFAULT=1
fi
# 1. Detect agy CLI & Antigravity.app versions
AGY_BIN=""
if command -v agy >/dev/null 2>&1; then
AGY_BIN="$(command -v agy)"
elif [[ -x "$HOME/.local/bin/agy" ]]; then
AGY_BIN="$HOME/.local/bin/agy"
fi
AGY_VERSION="not-installed"
if [[ -n "$AGY_BIN" ]]; then
AGY_VERSION="$("$AGY_BIN" --version 2>/dev/null | head -n 1 | tr -d '\r' || echo "unknown")"
fi
APP_VERSION="not-installed"
if [[ -f "/Applications/Antigravity.app/Contents/Info.plist" ]]; then
APP_VERSION="$(defaults read /Applications/Antigravity.app/Contents/Info.plist CFBundleShortVersionString 2>/dev/null || echo "unknown")"
fi
# 2. Check macOS login keychain status (prevents headless CLI hangs)
KEYCHAIN_STATE="unknown"
if command -v security >/dev/null 2>&1; then
if security show-keychain-info "$HOME/Library/Keychains/login.keychain-db" >/dev/null 2>&1; then
KEYCHAIN_STATE="unlocked"
else
KEYCHAIN_STATE="locked_or_restricted"
fi
fi
# 3. Check egress ISO country code ONLY (strictly zero IP disclosure)
EGRESS_COUNTRY="UNKNOWN"
if command -v curl >/dev/null 2>&1; then
cc="$(curl -s --connect-timeout 4 https://cloudflare.com/cdn-cgi/trace 2>/dev/null | awk -F= '$1=="loc"{print $2}' | tr -d '\r' || true)"
if [[ "$cc" == <-> || -z "$cc" ]]; then
cc=""
fi
[[ -n "$cc" ]] && EGRESS_COUNTRY="$cc"
fi
# 4. Inspect ~/.gemini/antigravity-cli updater lock & settings
CLI_HOME="$HOME/.gemini/antigravity-cli"
LOCK_FILE="$CLI_HOME/updater/update.lock"
SETTINGS_FILE="$CLI_HOME/settings.json"
LOCK_PRESENT=false
LOCK_CLEARED=false
if [[ -e "$LOCK_FILE" ]]; then
LOCK_PRESENT=true
if (( CLEAR_LOCK == 1 )); then
rm -f "$LOCK_FILE" && LOCK_CLEARED=true
fi
fi
# 5. Query live agy models output (determines Hydrogen unlock vs Trial/Paid gating)
HYDROGEN_UNLOCKED=false
HYDROGEN_XHIGH=false
FRONTIER_GATED=true
RETIRING_VISIBLE=false
MODELS_TEXT=""
if [[ -n "$AGY_BIN" ]]; then
MODELS_TEXT="$("$AGY_BIN" models 2>/dev/null | tr '\r' '\n' || true)"
[[ "$MODELS_TEXT" == *"gemini-4-hydrogen"* ]] && HYDROGEN_UNLOCKED=true
[[ "$MODELS_TEXT" == *"gemini-4-hydrogen-xhigh"* ]] && HYDROGEN_XHIGH=true
if [[ "$MODELS_TEXT" == *"gemini-4-neon"* || "$MODELS_TEXT" == *"gemini-4-carbon"* ]]; then
FRONTIER_GATED=false
fi
if [[ "$MODELS_TEXT" == *"gemini-3.8-flash"* || "$MODELS_TEXT" == *"claude-sonnet-4-6"* || "$MODELS_TEXT" == *"gpt-oss-120b"* ]]; then
RETIRING_VISIBLE=true
fi
fi
# 6. Scan target workspace for hardcoded Nov 30 retiring model IDs
LEGACY_MATCHES=0
SAMPLE_FILES=""
raw_hits="$(grep -rnE \
--exclude-dir=.git --exclude-dir=node_modules --exclude-dir=.venv --exclude-dir=dist --exclude-dir=build \
--include='*.json' --include='*.yaml' --include='*.yml' --include='*.toml' --include='*.ts' --include='*.py' --include='*.js' --include='*.sh' --include='*.zsh' --include='*.ps1' --include='*.env*' \
'gemini-3\.8-flash|gemini-4-argon|claude-sonnet-4-6|claude-opus-4-6-thinking|gpt-oss-120b' "$TARGET_ABS" 2>/dev/null || true)"
if [[ -n "$raw_hits" ]]; then
LEGACY_MATCHES="$(printf '%s\n' "$raw_hits" | wc -l | tr -d ' ')"
SAMPLE_FILES="$(printf '%s\n' "$raw_hits" | head -n 3 | sed "s|$TARGET_ABS/||g" | cut -d: -f1 | paste -sd ',' -)"
fi
# 7. Backup & apply safe default model ("Gemini 4 Hydrogen (Medium)") if requested
SETTINGS_UPDATED=false
BACKUP_LABEL=""
CURRENT_MODEL="unset"
if [[ -f "$SETTINGS_FILE" ]]; then
CURRENT_MODEL="$(awk -F'"' '/"model"[[:space:]]*:/ {print $4; exit}' "$SETTINGS_FILE" 2>/dev/null || echo "unset")"
[[ -z "$CURRENT_MODEL" ]] && CURRENT_MODEL="unset"
fi
if (( APPLY_DEFAULT == 1 )); then
mkdir -p "$CLI_HOME"
if [[ -f "$SETTINGS_FILE" ]] && grep -q '[^[:space:]]' "$SETTINGS_FILE"; then
ts="$(date +%Y%m%d%H%M%S)"
cp "$SETTINGS_FILE" "${SETTINGS_FILE}.bak.${ts}"
BACKUP_LABEL="~/.gemini/antigravity-cli/settings.json.bak.${ts}"
if grep -qE '"model"[[:space:]]*:' "$SETTINGS_FILE"; then
awk '
BEGIN { done=0 }
/"model"[[:space:]]*:/ && !done {
sub(/"model"[[:space:]]*:[[:space:]]*"[^"]*"/, "\"model\": \"Gemini 4 Hydrogen (Medium)\"")
done=1
}
{ print }
' "$SETTINGS_FILE" > "${SETTINGS_FILE}.tmp" && mv "${SETTINGS_FILE}.tmp" "$SETTINGS_FILE"
elif [[ "$(tr -d '[:space:]' < "$SETTINGS_FILE")" == "{}" ]]; then
printf '{\n "model": "Gemini 4 Hydrogen (Medium)",\n "useG1Credits": false\n}\n' > "$SETTINGS_FILE"
else
awk '
BEGIN { inserted=0 }
/\{/ && !inserted {
sub(/\{/, "{\n \"model\": \"Gemini 4 Hydrogen (Medium)\",")
inserted=1
}
{ print }
' "$SETTINGS_FILE" > "${SETTINGS_FILE}.tmp" && mv "${SETTINGS_FILE}.tmp" "$SETTINGS_FILE"
fi
else
printf '{\n "model": "Gemini 4 Hydrogen (Medium)",\n "useG1Credits": false\n}\n' > "$SETTINGS_FILE"
fi
CURRENT_MODEL="Gemini 4 Hydrogen (Medium)"
SETTINGS_UPDATED=true
fi
if (( JSON_MODE == 1 )); then
cat <<EOF
{
"platform": "macOS 27",
"agy_found": $([[ -n "$AGY_BIN" ]] && echo true || echo false),
"agy_version": "${AGY_VERSION}",
"app_version": "${APP_VERSION}",
"keychain_state": "${KEYCHAIN_STATE}",
"egress_country_iso": "${EGRESS_COUNTRY}",
"updater_lock_present": ${LOCK_PRESENT},
"updater_lock_cleared": ${LOCK_CLEARED},
"hydrogen_unlocked": ${HYDROGEN_UNLOCKED},
"hydrogen_xhigh_available": ${HYDROGEN_XHIGH},
"frontier_gated_trial_sku": ${FRONTIER_GATED},
"nov30_retiring_visible": ${RETIRING_VISIBLE},
"configured_model": "${CURRENT_MODEL}",
"settings_updated": ${SETTINGS_UPDATED},
"backup_path": "${BACKUP_LABEL}",
"workspace_legacy_model_hits": ${LEGACY_MATCHES},
"workspace_sample_files": "${SAMPLE_FILES}"
}
EOF
else
print -r -- ""
print -P "%B=== Diagnostic Summary (macOS 27 · Sanitized) ===%b"
print -r -- "Antigravity CLI (agy): ${AGY_VERSION}"
print -r -- "Antigravity App: ${APP_VERSION}"
print -r -- "Keychain State: ${KEYCHAIN_STATE}"
print -r -- "Egress Country (ISO): ${EGRESS_COUNTRY}"
print -r -- "Updater Lock Present: ${LOCK_PRESENT} (cleared=${LOCK_CLEARED})"
print -r -- "Gemini 4 Hydrogen Live: ${HYDROGEN_UNLOCKED} (xhigh=${HYDROGEN_XHIGH})"
print -r -- "Trial/Jio SKU Gating: ${FRONTIER_GATED} (Neon/Carbon gated)"
print -r -- "Configured Default: ${CURRENT_MODEL} (updated=${SETTINGS_UPDATED})"
print -r -- "Legacy Nov-30 Hits: ${LEGACY_MATCHES} ${SAMPLE_FILES:+(${SAMPLE_FILES})}"
print -r -- ""
if [[ "$HYDROGEN_UNLOCKED" == "true" ]]; then
print -P "%F{green}[OK] Gemini 4 Hydrogen is active! Recommended default: Gemini 4 Hydrogen (Medium).%f"
else
print -P "%F{yellow}[ACTION] Run 'agy update', sign in again, or run '/usage' in agy to refresh SKU cache.%f"
fi
fi
[[ "$HYDROGEN_UNLOCKED" == "true" ]] && exit 0 || exit 10
Run command:
chmod +x ./jio_hydrogen_fix_macos27.zsh && zsh ./jio_hydrogen_fix_macos27.zsh
Method 2: Fully Automated Configuration by Your AI Coding Agent
If you already work inside Antigravity, Claude Code, Codex, or Orca, paste the prompt below directly to let your agent inspect, clean locks, and switch defaults safely:
Run the zero-dependency diagnostic script matching the current OS (Windows 11: powershell -ExecutionPolicy Bypass -File .\jio_hydrogen_fix_windows11.ps1 -Auto -Json -Target .; Ubuntu 26.04: bash ./jio_hydrogen_fix_ubuntu2604.sh --auto --json --target .; macOS 27: zsh ./jio_hydrogen_fix_macos27.zsh --auto --json --target .). Follow these rules strictly:
1. If updater_lock_present is true, re-run with --clear-lock (or -ClearLock on Windows) and verify `agy update`.
2. If hydrogen_unlocked is true and configured_model is unset or points to gemini-3.8-flash, re-run with --apply (or -Apply) to back up ~/.gemini/antigravity-cli/settings.json and set the safe default to Gemini 4 Hydrogen (Medium). Do NOT pin Extra (xhigh) globally so trial 5-hour quotas stay healthy.
3. If workspace_legacy_model_hits is greater than 0, show the relative matched file names and ask before replacing retiring gemini-3.8-flash / gemini-4-argon / claude-sonnet-4-6 references with gemini-4-hydrogen-medium.
4. Do not install any third-party software or proxies, and omit complete IP addresses, computer hostnames, emails, and tokens from all output.
7. Frequently Asked Questions (Q&A)
Q1: I can now see Gemini 4 Hydrogen and Extra High in Antigravity — why are Gemini 4 Neon and Carbon still locked?
A: Because Jio’s 18-month promotional bundle sits on Google’s Google AI Pro (Trial) entitlement branch. Per the official model table, Neon, Carbon, and Orchestrator carry the † restriction requiring directly billed Google AI Pro or eligible flagship hardware trials. Unlocking Hydrogen ensures Jio and free-tier users transition smoothly off retiring 3.8 Flash without gating everyday coding.
Q2: Can I cancel my Jio Google AI Pro trial in Google One to switch immediately to Paid Pro for Neon/Carbon?
A: Strongly discouraged on your primary Jio account! Because Reliance Jio’s promotional signup window has closed, canceling your active partner-managed plan inside Google One can permanently wipe out your remaining free months and 5 TB cloud storage. Use a second Google account for direct billing or plug in a paid Google AI Studio API key whenever you specifically need Neon or Carbon.
Q3: Does the Jio-bundled Hydrogen tier still enforce rate limits inside Antigravity?
A: Yes. Official documentation states that promotional and trial tiers may experience lower rate limits than direct-billed Pro plans depending on backend capacity, governed by both a five-hour rolling window and a weekly cap. Keeping your everyday default at Medium and reserving Extra (xhigh) for rare hard debugging maximizes how far each window goes.
Q4: I ran agy update, yet agy models still does not show Hydrogen. What else should I check?
A: Two common culprits explain this: a stale lock file at ~/.gemini/antigravity-cli/updater/update.lock silently blocking updates, or a cached OAuth entitlement token. Clear update.lock, run agy update, then launch agy and run /usage (or sign out and back in) to pull fresh backend permissions.
Q5: How noticeable is the upgrade from retiring Gemini 3.8 Flash to Gemini 4 Hydrogen in real coding?
A: Night and day. On Terminal-Bench 4.1, task success jumped more than 3× from 18.2% (3.8 Flash) to 57.0% (Hydrogen), while Artificial Analysis Intelligence Index scores rose to 51 (and 54 with xhigh — beating October’s Argon at 50) alongside roughly 188–198 tok/s output speed.
Q6: Can I attach my Jio Google AI Pro perk to a Google Workspace company domain account?
A: No. Google AI Pro and Ultra apply strictly to personal Google Accounts (@gmail.com). Workspace domain accounts receive only a limited starter quota unless paired with Google Cloud Pay-As-You-Go billing or a Gemini Enterprise license.
Q7: Is it safe to connect third-party tools or open-source wrappers using my Antigravity consumer OAuth session?
A: Never do this. Antigravity’s FAQ explicitly forbids accessing consumer Antigravity logins from third-party clients or automating multi-account rotation, warning that violations can lead to suspension or termination. For external coding agents, use a standard Google AI Studio or Google Cloud Gemini API key.
Conclusion
Viewed at the November 30, 2026 model transition milestone, Google’s decision to unlock Gemini 4 Hydrogen across Trial and Jio-bundled Google AI Pro accounts turns what looked like a looming lockout into a massive free upgrade. Instead of losing your primary model as 3.8 Flash retires, you gain a 3.1× more capable, 1M-context coding workhorse with full four-tier effort tuning right inside Antigravity.
Remember the two golden rules: never cancel an active 18-month Jio bundle on your main account, and keep your everyday default pinned to Gemini 4 Hydrogen (Medium) while running the three-OS audit script above to scrub any remaining November 30 legacy references from your repositories.
References
- Google Antigravity Docs: Choose a model (Trial vs. Paid entitlement matrix)
- Google Antigravity Pricing (Plan & Model Notes)
- Google Antigravity Docs: Plans & Baseline Quota
- Google Antigravity Blog: Gemini 4 Hydrogen and Orchestrator (Nov 12, 2026)
- Google Antigravity CLI Docs: Model quotas (/usage)
- Google Antigravity CLI Docs: Troubleshooting
- Google Antigravity FAQ (Upgrades & Third-Party Subscriptions)
- W3Techy: Gemini 4 Hydrogen Now Available for Google AI Pro & Jio 18-Month Users on Antigravity (Nov 24, 2026)