Skip to content

Instantly share code, notes, and snippets.

View amirhossein-ka's full-sized avatar
🎯
Focusing

Amirhossein amirhossein-ka

🎯
Focusing
View GitHub Profile
@amirhossein-ka
amirhossein-ka / README.md
Created October 2, 2026 11:46
Patch Antigravity CLI eligibilty

Antigravity CLI (agy) Location Ineligibility Bug & Fix Guide

Note: This work is done with help of Google AntiGravity with Gemini 3.8

Problem Summary

When running agy in CLI environments from certain geographic regions or proxy endpoints, users with valid standard-tier accounts encounter:

Eligibility check failed: Your current account is not eligible for Antigravity, because it is not currently available in your location.
acl localnet src 0.0.0.1-0.255.255.255 # RFC 1122 "this" network (LAN)
acl localnet src 10.0.0.0/8 # RFC 1918 local private network (LAN)
acl localnet src 100.64.0.0/10 # RFC 6598 shared address space (CGN)
acl localnet src 169.254.0.0/16 # RFC 3927 link-local (directly plugged) machines
acl localnet src 172.16.0.0/12 # RFC 1918 local private network (LAN)
acl localnet src 192.168.0.0/16 # RFC 1918 local private network (LAN)
acl localnet src fc00::/7 # RFC 4193 local private network range
acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines
acl SSL_ports port 443
acl Safe_ports port 80 # http