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 bypass regional restrictions, we use the open-source agy-unlock utility (https://github.com/trustybird/agy-unlock). It automatically detects installed Antigravity components (language_server, agy, main.js) and patches geo-checks.
Make sure to close Antigravity completely before running the patch. Two installation options are available: download the prebuilt agy-unlock_v1.0.exe (no Python required) or run a one-line command in terminal (PowerShell, CMD, or Bash with Python 3.8+).
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 | bashWhen launching agy-unlock_v1.0.exe, Windows SmartScreen or antivirus software may display an unverified publisher warning. This is a normal false positive because binary files are modified without an expensive enterprise certificate. Source code is open on GitHub: https://github.com/trustybird/agy-unlock — click "More info" → "Run anyway".
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.