<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>Loongphy RSS</title><description>The English RSS feed for Loongphy’s blog.</description><link>https://loongphy.com/en/</link><language>en</language><item><title>Codex Auth v0.2 Released: API Usage and Automatic Account Switching</title><link>https://loongphy.com/en/blog/codex-auth-v02-release/</link><guid isPermaLink="true">https://loongphy.com/en/blog/codex-auth-v02-release/</guid><description>Codex Auth v0.2 Released: API Usage and Automatic Account Switching</description><pubDate>Tue, 17 Mar 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;I&apos;m thrilled to announce the release of the &lt;strong&gt;Codex Auth v0.2&lt;/strong&gt; beta! 🎉&lt;/p&gt;
&lt;p&gt;In this version, we&apos;ve completely refactored the underlying architecture to solve the issue where a single regular account might be bound to multiple different Team workspaces. At the same time, to address the unreliable local session file usage tracking from the previous version, we&apos;ve introduced a brand-new API mode. Furthermore, we&apos;ve added an experimental background service for automatic account switching.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;⚠️ &lt;strong&gt;STRONGLY RECOMMENDED: Please backup before upgrading&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Before upgrading, &lt;strong&gt;please make sure to back up your current &lt;code&gt;~/.codex/auth.json&lt;/code&gt; file&lt;/strong&gt;.
If you have previously added multiple accounts using codex-auth, &lt;strong&gt;please also back up your entire &lt;code&gt;~/.codex/accounts&lt;/code&gt; directory&lt;/strong&gt; just in case.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;✅ Upgrade and Experience Now&lt;/h2&gt;
&lt;p&gt;v0.2 is still in beta. &lt;strong&gt;We only recommend enabling the API usage query after updating&lt;/strong&gt;; as for the background account switching feature, we suggest waiting for continuous iterative updates.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Install the beta version&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;npm install -g @loongphy/codex-auth@next
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Enable API usage query&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;codex-auth config api enable
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;📖 About Codex Auth&lt;/h2&gt;
&lt;p&gt;If you&apos;re not yet familiar with this project, &lt;strong&gt;Codex Auth&lt;/strong&gt; is a local command-line tool designed specifically for managing and seamlessly switching between multiple Codex accounts.
Its biggest highlight is its &lt;strong&gt;zero-intrusiveness&lt;/strong&gt;: you don&apos;t need to modify any of Codex&apos;s configuration files, nor do you need to deploy any extra proxy services. You can easily manage and switch accounts with just simple command-line operations.
Repository: &lt;a href=&quot;https://github.com/Loongphy/codex-auth&quot;&gt;https://github.com/Loongphy/codex-auth&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Codex Auth is perfectly compatible with the three mainstream Codex usage scenarios:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Native &lt;strong&gt;Codex-CLI&lt;/strong&gt; command-line invocation (when using the official codex-cli, you need to exit and restart after switching accounts, or use the modified version &lt;a href=&quot;https://github.com/Loongphy/codext&quot;&gt;codext&lt;/a&gt;). For more details, see &lt;a href=&quot;./codex-fork-maintenance-upstream-sync-skills.md&quot;&gt;Building a Smoother Codex than the Official One: Automated Skills Sync with Upstream&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Independently running &lt;strong&gt;Codex App&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Built-in invocation via the &lt;strong&gt;VSCode Extension&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here are the key highlights of this update.&lt;/p&gt;
&lt;h2&gt;💡 Core Features&lt;/h2&gt;
&lt;h3&gt;1. API Usage Query&lt;/h3&gt;
&lt;p&gt;Initially, we had no intention of introducing any API calls to this fully localized tool, to avoid the risk of being monitored by OpenAI and causing account bans. However, tracking usage via local files (&lt;code&gt;rollout-*.jsonl&lt;/code&gt;) has recently become highly unreliable, often resulting in &lt;code&gt;rate_limits: null&lt;/code&gt; situations (for details, see &lt;a href=&quot;https://github.com/openai/codex/issues/14880&quot;&gt;OpenAI Codex Issue #14880&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;For accuracy, we referred to the quota retrieval method of &lt;a href=&quot;https://github.com/openai/codex/releases&quot;&gt;Codex-CLI&lt;/a&gt; and introduced support for real-time usage via API!&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;[!CAUTION]
Please note: Enabling the API method to retrieve usage may violate OpenAI&apos;s terms of service and lead to account bans. &lt;strong&gt;Please use it with caution and at your own risk.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;How to enable&lt;/strong&gt;: This feature is disabled by default. You can manually turn it on by executing &lt;code&gt;codex-auth config api enable&lt;/code&gt; to enjoy precise quota monitoring.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Future plans&lt;/strong&gt;: This mode is planned to be the default usage synchronization method in v0.3.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;2. Smart Background Auto-Switching 🧪 Experimental Feature&lt;/h3&gt;
&lt;p&gt;In high-frequency daily use cases, manually switching accounts after entirely depleting a quota often disrupts your state of flow. To solve this problem, v0.2 introduces a brand-new &lt;strong&gt;background daemon&lt;/strong&gt; mechanism.&lt;/p&gt;
&lt;p&gt;This process can continuously monitor your current usage status in the background. When your remaining quota drops below a set threshold, it will automatically switch to the most optimal available account for you.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;[!TIP]
The background auto-switching feature is currently still &lt;strong&gt;Experimental&lt;/strong&gt;. At this stage, we have mainly conducted thorough stability testing in the Linux (WSL2) environment; for macOS and Windows platforms, we have merely implemented and retained compatibility support for now.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The default setting triggers a switch when the remaining quota drops to &lt;strong&gt;10%&lt;/strong&gt; within a 5-hour window or &lt;strong&gt;5%&lt;/strong&gt; for the weekly quota.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Common Commands:&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;# Enable
codex-auth config auto enable

# Disable background switching (default)
codex-auth config auto disable

# Customize warning thresholds
codex-auth config auto --5h 15 --weekly 10
&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;3. A Boon for Multi-Subscription Users: Account Grouping&lt;/h3&gt;
&lt;p&gt;This is a fundamental architectural upgrade. Previously, we used email addresses as the primary key to store account information, but this could not satisfy complex scenarios like &quot;a single email under multiple workspaces or different subscription plans (e.g., Team, Free/Plus/Pro coexisting).&quot;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://static.loongphy.com/2026/03/574859b3b3dddf495f87fdf88edda74e.png&quot; alt=&quot;command list&quot; /&gt;&lt;/p&gt;
&lt;p&gt;In v0.2, when you run &lt;code&gt;list&lt;/code&gt; or &lt;code&gt;switch&lt;/code&gt;, the program will automatically group and collapse multiple subscription plans under the same email alias. This makes it much more visually intuitive and clear, while still retaining the flexibility of independent switching.&lt;/p&gt;
&lt;h2&gt;Other New Commands&lt;/h2&gt;
&lt;p&gt;We have also greatly enhanced the routine maintenance commands, ensuring your environment remains stable and controllable under various extreme edge cases:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;codex-auth status&lt;/code&gt;: View the background service status, auto-switch toggle, and API usage mode with one click.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;codex-auth daemon --watch|--once&lt;/code&gt;: Run in the foreground or test the background switching logic.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;codex-auth clean&lt;/code&gt;: A general cleanup command (&lt;strong&gt;not recommended for execution&lt;/strong&gt;), used to remove out-of-date authorization snapshots and old backup files.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;codex-auth import --purge&lt;/code&gt;: &lt;strong&gt;An exclusive command for disaster recovery&lt;/strong&gt;. By utilizing existing authorization snapshot files, you can rebuild the registry from scratch. If things don&apos;t work correctly after an update, you can try using this command.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&quot;https://static.loongphy.com/2026/03/c9ebd9e86e3304f76cc9a55e07bba7c7.png&quot; alt=&quot;command status&quot; /&gt;&lt;/p&gt;
&lt;h2&gt;📦 For Contributors: Introducing PR Preview Deployments&lt;/h2&gt;
&lt;p&gt;To speed up the review and testing of community contributions, we have introduced &lt;code&gt;pkg.pr.new&lt;/code&gt; support in our CI workflow.&lt;/p&gt;
&lt;p&gt;Now, every Pull Request will automatically build and publish platform-specific preview packages, whilst still retaining the smart feature of parsing on-demand dependencies based on OS/CPU. You can even intuitively see the preview build source by using &lt;code&gt;--version&lt;/code&gt;:
&lt;code&gt;codex-auth 0.1.5 (preview pr-6 b6bfcf5)&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Want to quickly help test a PR? Just execute something like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;npx https://pkg.pr.new/@loongphy/codex-auth@6
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Want to test a build from a specific commit in that PR? Use something like:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;npx https://pkg.pr.new/@loongphy/codex-auth@e32a1
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you encounter any issues while using it, please feel free to join us at our &lt;a href=&quot;https://github.com/Loongphy/codex-auth/issues&quot;&gt;GitHub Repository&lt;/a&gt; to communicate or submit an Issue!&lt;/p&gt;
</content:encoded><category>Codex</category></item><item><title>OpenAI Codex App for Windows: A Build-It-Yourself Tutorial (With Installer)</title><link>https://loongphy.com/en/blog/openai-codex-app-for-windows/</link><guid isPermaLink="true">https://loongphy.com/en/blog/openai-codex-app-for-windows/</guid><description>OpenAI has a habit of shipping macOS-only products first, but since Codex is built on Electron with Codex CLI under the hood, we actually have a shot at reverse-engineering a Windows version.</description><pubDate>Wed, 04 Feb 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;OpenAI has a habit of releasing macOS-only products first. Fortunately, this time around, Codex is built with Electron (a framework that lets developers build desktop apps using web technologies) for its UI, while relying on &lt;a href=&quot;https://github.com/openai/codex/&quot;&gt;Codex CLI&lt;/a&gt; under the hood. That opens up the possibility of reverse-engineering and rebuilding a Windows version.&lt;/p&gt;
&lt;h2&gt;Pre-Built Installer&lt;/h2&gt;
&lt;p&gt;This is just for trying it out — a proof of concept, not a maintained release.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Download here: &lt;a href=&quot;https://github.com/Loongphy/codext/releases/tag/rust-v0.94.0&quot;&gt;https://github.com/Loongphy/codext/releases/tag/rust-v0.94.0&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Alternatively, check out &lt;a href=&quot;https://github.com/Haleclipse/CodexDesktop-Rebuild&quot;&gt;CodexDesktop-Rebuild&lt;/a&gt;, which inspired this article. Note that it uses a modified version of Codex CLI, though I&apos;m not sure what they changed.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I still mainly use Codex CLI directly — the app is rarely my go-to. After all, the UI is just a wrapper around Codex CLI, and I&apos;m perfectly happy with my current workflow; I don&apos;t need a GUI. I also can&apos;t give up WSL2 (Windows Subsystem for Linux — a feature that lets you run a real Linux environment directly inside Windows). The Windows app can only access WSL files through cross-filesystem paths like &lt;code&gt;\\wsl.localhost\Debian\root&lt;/code&gt;, which makes file operations painfully slow.&lt;/p&gt;
&lt;p&gt;Feel free to drop questions in the comments. Before the official release, I&apos;ll keep updating alongside &lt;a href=&quot;https://github.com/openai/codex/releases&quot;&gt;Codex CLI releases&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;As the saying goes — teach a man to fish. I hope that after reading this article, you&apos;ll be able to build and fix things on your own 🫡.&lt;/p&gt;
&lt;h2&gt;Downloading the macOS Installer&lt;/h2&gt;
&lt;p&gt;You&apos;ll need to trick Chrome into pretending it&apos;s running on macOS — by spoofing the User Agent (the string your browser sends to websites to identify itself) and Client Hints (a modern mechanism browsers use to share device info). Then open &lt;a href=&quot;https://openai.com/codex/&quot;&gt;https://openai.com/codex/&lt;/a&gt; to download the &lt;code&gt;codex.dmg&lt;/code&gt; installer (.dmg is the standard macOS installer format):&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open DevTools: press &lt;code&gt;F12&lt;/code&gt; or &lt;code&gt;Ctrl+Shift+I&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Open the command menu: &lt;code&gt;Ctrl+Shift+P&lt;/code&gt;, type &lt;strong&gt;Network conditions&lt;/strong&gt;, and select &lt;strong&gt;Show Network conditions&lt;/strong&gt; (a panel will appear at the bottom of DevTools).&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;User agent&lt;/strong&gt; section, uncheck &lt;strong&gt;Use browser default&lt;/strong&gt;, then:
&lt;ul&gt;
&lt;li&gt;Select a &lt;strong&gt;macOS / Safari&lt;/strong&gt; option from the dropdown (if available)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;(This is crucial) Expand the &lt;strong&gt;User agent client hints&lt;/strong&gt; dropdown and change the &lt;code&gt;platform&lt;/code&gt; field to &lt;strong&gt;macOS&lt;/strong&gt;, then click &lt;strong&gt;Update&lt;/strong&gt;. Many websites nowadays rely more heavily on Client Hints than the traditional UA string, so this step is what actually makes the spoofing work.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Refresh the page.&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Building the Codex Windows App&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;I much prefer developing inside WSL2 with CLI-based agents. The Windows terminal experience is an absolute nightmare — LLMs tend to make more mistakes there too, and accidental file deletions are all too common.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Create an empty folder, copy the downloaded &lt;code&gt;.dmg&lt;/code&gt; file into it, open this directory in WSL2, run &lt;code&gt;codex&lt;/code&gt;, type &lt;code&gt;/Approvals&lt;/code&gt; to grant &lt;code&gt;Full Access&lt;/code&gt; permissions, and let&apos;s go!&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Initial Prompt&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;Based on the current state of my repository, help me repackage a &quot;macOS-packaged Electron application&quot; into a version that can be built and packaged on Windows.

## Project Goal
- I only have a macOS installer (a post-build Electron .dmg). I want to rebuild it into a working Windows app.
- I&apos;m not trying to recover source code or recompile the frontend. The goal is &quot;repackaging&quot;: take the already-packaged output as input and rebuild it into a runnable Windows app.
- The backend CLI is provided by the Codex CLI process: on Windows we need `codex.exe`, obtained via the `@openai/codex` package which provides pre-compiled binaries for each platform.

## Deliverable

- A Windows installer

## Notes

- We&apos;re in a WSL2 environment. For Windows-specific dependency packaging, you&apos;ll need to invoke `pwsh.exe`.
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Being an Observer&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;AI users tend to let the tool fix every error for them, rarely thinking independently. Over time, this weakens their ability to spot and fix bugs on their own — which is precisely the skill you need most when supervising AI output.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I&apos;ve seen plenty of people doing Vibe Coding (writing code by feel, leaning heavily on AI) who only look at the final result and blame the agent, without ever examining the process to see where things went off track.&lt;/p&gt;
&lt;p&gt;Here are a few issues I observed while watching Codex CLI work:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;prefer uv not python&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;During execution, I noticed it was using Python. Since I didn&apos;t want it leaving junk all over my system by installing random dependencies, I added a &lt;code&gt;prefer uv not python&lt;/code&gt; instruction mid-run.&lt;/p&gt;
&lt;p&gt;That said, it still went ahead and installed Python directly rather than using uv, so I&apos;d recommend putting this kind of requirement in your initial prompt or your &lt;code&gt;AGENTS.md&lt;/code&gt; file (a configuration file that Codex CLI treats as its highest-priority instruction set).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Codex CLI treats instructions in &lt;a href=&quot;http://AGENTS.md&quot;&gt;AGENTS.md&lt;/a&gt; as top priority and follows them strictly&lt;/strong&gt; — it rarely overlooks them.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://static.loongphy.com/2026/02/89beadf7168f5ab9138e91384ae4bd72.jpg&quot; alt=&quot;prefer-uv-not-python&quot; /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Install &lt;a href=&quot;https://visualstudio.microsoft.com/zh-hans/vs/community/&quot;&gt;Visual Studio Community&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The packaging process uses Visual Studio Tools, so you may need to install &lt;a href=&quot;https://visualstudio.microsoft.com/zh-hans/vs/community/&quot;&gt;Visual Studio Community&lt;/a&gt; first. You&apos;ll need the same setup as Electron development requires: install the &lt;strong&gt;Desktop development with C++&lt;/strong&gt; workload.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://static.loongphy.com/2026/02/89beadf7168f5ab9138e91384ae4bd72.jpg&quot; alt=&quot;visual-studio-installer&quot; /&gt;&lt;/p&gt;
&lt;h2&gt;The Result: One Run&lt;/h2&gt;
&lt;p&gt;With just the initial prompt and one mid-run instruction (&lt;code&gt;prefer uv not python&lt;/code&gt;), the whole thing finished in 41 minutes.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://static.loongphy.com/2026/02/1bba6db75a851424a88483f67212e78b.jpg&quot; alt=&quot;complete&quot; /&gt;&lt;/p&gt;
&lt;p&gt;It did run successfully, though there were still a few bugs — the window wasn&apos;t properly resizable, and selecting a project triggered an &lt;code&gt;Oops, an error has occurred&lt;/code&gt; message.&lt;/p&gt;
&lt;p&gt;All of these were fixed with a single follow-up prompt. Now, let&apos;s play with it!&lt;/p&gt;
&lt;p&gt;All hail Codex CLI!&lt;/p&gt;
&lt;h2&gt;An Alternative Build Path&lt;/h2&gt;
&lt;p&gt;Maybe you don&apos;t want to build locally or deal with installing a bunch of dependencies. You can try running Codex CLI inside GitHub Actions (GitHub&apos;s built-in automation platform) — set it up to build in a Windows environment using &lt;code&gt;codex &quot;your instructions&quot;&lt;/code&gt;, then upload the packaged output as an Artifact so you can download it directly.&lt;/p&gt;
&lt;p&gt;You might need to tweak the prompt to make it keep retrying until the build succeeds, since Codex CLI tends to ask questions rather than just powering through autonomously.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://static.loongphy.com/2026/02/1ab1ebe12beee0ec9a55ebe177f6cf35.jpg&quot; alt=&quot;Codex-problems&quot; /&gt;&lt;/p&gt;
&lt;h2&gt;Looking Ahead&lt;/h2&gt;
&lt;p&gt;Building a proper Windows version isn&apos;t that simple. I don&apos;t expect them to use WinUI 3 — even Microsoft itself is stuck in a technical quagmire on that front. But I do hope that every developer building programming tools will give some thought to WSL2 compatibility and deliver a native Linux development experience on par with what VS Code offers.&lt;/p&gt;
&lt;h2&gt;Acknowledgments&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Inspired by &lt;a href=&quot;https://github.com/Haleclipse/CodexDesktop-Rebuild&quot;&gt;https://github.com/Haleclipse/CodexDesktop-Rebuild&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content:encoded><media:content medium="image" url="https://static.loongphy.com/2026/02/d40adf9283b6c09dd57a841895473936.jpg" type="image/jpeg"/><category>Codex</category><category>Purposeful Tinkering</category></item><item><title>How to Fix Google Antigravity Stuck on &quot;Setting Up Your Account&quot;</title><link>https://loongphy.com/en/blog/google-antigravity-stuck-setting-up-your-account/</link><guid isPermaLink="true">https://loongphy.com/en/blog/google-antigravity-stuck-setting-up-your-account/</guid><description>TL;DR: US proxy node + TUN mode + US Google account. See the article for region transfer tips.</description><pubDate>Wed, 19 Nov 2025 00:00:00 GMT</pubDate><content:encoded>&lt;blockquote&gt;
&lt;p&gt;Non-US regions can also work, but you can&apos;t be in a region where Gemini isn&apos;t supported (like Hong Kong or Macau). If you want to be among the first to try new AI models and products, the US is still your best bet.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Today (2025-11-19), Google released the Gemini 3 Pro model along with a brand-new AI code editor called &lt;a href=&quot;https://antigravity.google/&quot;&gt;Antigravity&lt;/a&gt;. The tool was built by former Windsurf core team members on top of Windsurf&apos;s codebase — you can still spot quite a bit of legacy code floating around.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://static.loongphy.com/2025/11/d36e82ae94241df7a5c3cd9c64d23ad2.png&quot; alt=&quot;antigravity-or-windsurf&quot; /&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;In July 2025, Google hired Windsurf CEO Varun Mohan, co-founder Douglas Chen, and several researchers to join DeepMind, while also securing a non-exclusive license to parts of Windsurf&apos;s technology. The deal totaled $2.4 billion, primarily for talent acquisition and technology licensing — not a full acquisition of the company.&lt;/p&gt;
&lt;p&gt;Previously, OpenAI had attempted to acquire Windsurf for $3 billion, but the deal fell through.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;After the launch, I kept getting stuck on the &quot;Setting Up Your Account&quot; screen right after logging in. I even tried using Mihomo (a popular proxy client) in TUN mode (a system-wide proxy mode), but that didn&apos;t help either. After digging through community discussions, I found out the issue was tied to the account&apos;s associated region.&lt;/p&gt;
&lt;p&gt;Visit &lt;a href=&quot;https://policies.google.com/terms&quot;&gt;https://policies.google.com/terms&lt;/a&gt; — if it says &quot;Hong Kong,&quot; congratulations, you won&apos;t be able to use Antigravity.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://static.loongphy.com/2025/11/33ca3e96292c9048970885310aa1b96c.png&quot; alt=&quot;google-account-terms&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Antigravity restricts access for regions where Gemini isn&apos;t supported. But here&apos;s the catch: Gemini only checks your IP address, while Antigravity goes a step further — it checks both your IP &lt;em&gt;and&lt;/em&gt; your Google account&apos;s associated region.&lt;/p&gt;
&lt;p&gt;With that understood, the solution is straightforward:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Register a new Google account from a US network environment&lt;/li&gt;
&lt;li&gt;Transfer your existing Google account to a US region&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Transferring Your Google Account Region&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Submit a region change request at: &lt;a href=&quot;https://policies.google.com/country-association-form&quot;&gt;https://policies.google.com/country-association-form&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the United States, pick any state, choose &lt;code&gt;Other Reason&lt;/code&gt;, and explain that you need access to Google AI products. For example:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;I need to use Google Gemini and Antigravity, which requires a US-based account context.
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In my experience, the approval email came through in about 30 minutes. A word of advice: don&apos;t pick any other reason for the transfer — those tend to get rejected.&lt;/p&gt;
&lt;h2&gt;Summary: Getting Antigravity to Work&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;US proxy node + TUN mode&lt;/li&gt;
&lt;li&gt;A US-based Google account — verify at &lt;a href=&quot;https://policies.google.com/terms&quot;&gt;https://policies.google.com/terms&lt;/a&gt;. If it doesn&apos;t show the US, follow the region transfer steps above.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;From what others in the community have shared, non-US regions like Japan also work. Personally, I just went with the US for simplicity.&lt;/p&gt;
&lt;h2&gt;Gemini in Chrome&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;Unlike Antigravity, it hasn&apos;t been confirmed yet whether non-US accounts can use this feature. If you can&apos;t enable it, consider transferring your account region to the US.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;With a US Google account set up, you can also enable Gemini in Chrome — giving your browser a built-in Gemini AI assistant. It&apos;s quite handy for things like quickly summarizing a web page.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Change your browser language to: English (United States)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Go to &lt;code&gt;chrome://flags/&lt;/code&gt; and enable &lt;strong&gt;Glic&lt;/strong&gt; and &lt;strong&gt;Tabstrip Combo Button&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://static.loongphy.com/2025/11/0dd1b01b5672ef16e0bce3bf3f9118bc.png&quot; alt=&quot;chrome-flags&quot; /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Restart your browser — you&apos;ll see a new Gemini icon in the top-right corner.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://static.loongphy.com/2025/11/2d0093aade3dad02e06113e645745c92.png&quot; alt=&quot;gemini-on-chrome&quot; /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I had to switch Chrome to English (United States) before Gemini showed up. Some people say it also works with Chinese — go figure.&lt;/p&gt;
&lt;h2&gt;References&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://linux.do/t/topic/1039926&quot;&gt;https://linux.do/t/topic/1039926&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://support.google.com/gemini/answer/13575153&quot;&gt;Where you can use the Gemini web app&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content:encoded><media:content medium="image" url="https://static.loongphy.com/2025/11/18c7a0ba7c79746a226cfc6682fba8ff.png" type="image/png"/><category>Tools</category><category>Gemini</category></item></channel></rss>