Gemini has been getting stronger and stronger lately, and today even the free Pro can use Hydrogen — but AGY still feels like crap to use.
This post mainly tackles the two core problems that hurt daily use the most:
- How to use AGY normally without TUN mode
- How to massively improve the AGY experience
1. How to use AGY without TUN
A lot of people hit the same wall right after installing AGY: system proxy is on, Gemini web works fine, but AGY throws errors.
The reason is actually pretty simple: AGY spawns a bunch of background child processes at runtime, and by default they don't necessarily all go through the system proxy. The simplest fix is "just turn on TUN + global mode".
But there's really no need to force TUN. Here are a few methods:
- Windows process-level proxy
- ProxyLane: https://github.com/threatexpert/proxyLane — download it, fill in your local proxy's HTTP/SOCKS5 port (no global mode, no TUN needed), add
Antigravity.exeand launch; traffic from child processes gets captured too.
- ProxyLane: https://github.com/threatexpert/proxyLane — download it, fill in your local proxy's HTTP/SOCKS5 port (no global mode, no TUN needed), add
- Inject env vars via a launch script
-
On Windows you can just grab the one-click script project Antigravity-no-tun (https://github.com/jiassia/Antigravity-no-tun), which auto-detects the install path and local proxy port, and doesn't break easily after updates.
-
Or just make a
.batyourself (replace7897with your own local proxy port):@echo off set HTTP_PROXY=http://127.0.0.1:7897 set HTTPS_PROXY=http://127.0.0.1:7897 set NO_PROXY=localhost,127.0.0.1,::1 start "" "%LOCALAPPDATA%\Programs\antigravity\Antigravity.exe" -
Same idea on macOS: launch with
HTTP_PROXY,HTTPS_PROXY,NO_PROXYand--args --proxy-server=http://127.0.0.1:your_port.
-
- VS Code extension
- If you already write code in VS Code, installing the official Antigravity extension is honestly the least hassle — simple config
- { "http.proxy": "http://127.0.0.1:7890(your proxy port)", "http.proxySupport": "override", "http.proxyStrictSSL": false }
- A
400 / 403doesn't always mean the proxy was bypassed: if you've confirmed all processes go through the proxy and it still says400 User location is not supportedor403 Detected location: CN, the node IP is probably too dirty (lots of common datacenter IPs get flagged by Google as unsupported regions) — switching to a cleaner one usually fixes it.
2. Improving the AGY experience
Project: https://github.com/RMvdesi/obsidian-prism
Features: UI beautification: 4 light/dark themes, glow effects, animations, custom fonts and corner radius.
Quota monitoring: 512K context display, 5-hour and weekly quotas, remaining quota prediction. 3. Reasoning level control: adjust the reasoning level right in the model menu.
AI thinking translation: English reasoning translated to Chinese in real time, with bilingual display and local model support.
Workbench enhancements: built-in browser, PDF/video/spreadsheet preview, code diff, session navigation. 6. Personalization: pixel pets, custom wallpapers, dynamic backgrounds.
Chat mode: a separate space for everyday chatting and organizing notes.
Been using it for a bit and it feels decent, would recommend 
Finally, one more project for multi-account management:
https://github.com/lbjlaq/Antigravity-Manager
最近 Gemini 越来越强了,同时今天免费的 Pro 也能用上 Hydrogen 了,但 AGY用起来和还是和屎一样
这篇帖子主要解决两个最影响日常使用的核心问题:
- 如何不开 TUN 模式正常使用 AGY
- 如何大幅优化 AGY 的使用体验
一、如何不开 TUN 使用 AGY
很多人刚装好 AGY 都会遇到同一个坑:开了系统代理,网页版 Gemini正常,但是 AGY 报错。
原因其实挺简单:AGY在运行时会拉起一堆后台子进程,默认不一定完整走系统代理。最简单的是“直接开 TUN + 全局”
但是完全没必要硬开 TUN,下面整理了几种方法
- Windows 进程级代理
- ProxyLane:https://github.com/threatexpert/proxyLane 下载后填入你本地代理软件的 HTTP/SOCKS5 端口(不用开全局,不用开 TUN),把
Antigravity.exe加进去启动即可,连带子进程流量都会被接管。
- ProxyLane:https://github.com/threatexpert/proxyLane 下载后填入你本地代理软件的 HTTP/SOCKS5 端口(不用开全局,不用开 TUN),把
- 启动脚本注入环境变量
-
如果用 Windows,可以直接搜一键脚本项目 Antigravity-no-tun(https://github.com/jiassia/Antigravity-no-tun),会自动找安装路径和本机代理端口,更新后也不容易失效。
-
也可以自己随手建个
.bat启动脚本(把7897换成你自己的本地代理端口):@echo off set HTTP_PROXY=http://127.0.0.1:7897 set HTTPS_PROXY=http://127.0.0.1:7897 set NO_PROXY=localhost,127.0.0.1,::1 start "" "%LOCALAPPDATA%\Programs\antigravity\Antigravity.exe" -
macOS 用户同理,可以在启动时带上
HTTP_PROXY、HTTPS_PROXY、NO_PROXY以及--args --proxy-server=http://127.0.0.1:你的端口。
-
- VS Code 插件
- 如果平时写代码本来就在 VS Code 里,直接装官方的 Antigravity 插件其实最省事,配置简单
- { "http.proxy": "http://127.0.0.1:7890(代理软件的端口)", "http.proxySupport": "override", "http.proxyStrictSSL": false }
- 报
400 / 403不一定是漏代理:如果确认所有进程都走了代理,依然提示400 User location is not supported或403 Detected location: CN,可能节点 IP 太脏(很多常见机房 IP 会被 Google 判为不支持地区),换干净一点通常就能解决。
二、优化 AGY 的使用体验
项目地址:https://github.com/RMvdesi/obsidian-prism
特点: .界面美化:4套深浅主题、光效、动画、字体和圆角自定义。
额度监控:512K上下文显示、5小时与 Weekly配额、剩余额度预测。3. 推理等级控制:直接在模型菜单中调整推理等级。
AI思考翻译:英文思考过程实时翻译中文,支持中英对照和本地模型。
工作台增强:内置浏览器、PDF/视频/表格预览、代码Diff、会话导航。6.个性化功能:像素宠物、自定义壁纸、动态背景。
Chat 模式:提供独立的日常聊天和资料整理空间
目前使用下来感觉还可以,推荐一下
最后再补一个多账号管理的项目:
https://github.com/lbjlaq/Antigravity-Manager
Translated by AI from 简体中文Original (简体中文)
快银 VPN,一键连接全球节点,线路稳定、延迟低。支持 Windows、macOS 等多平台,TUN 全局模式覆盖全部应用流量。无需复杂配置,下载即用。
3 replies
Sort order