Skip to content
Empryo

Google Antigravity

Use your Google Antigravity plan in Empryo, either directly or through Google's official agy command-line tool. Setup, sign-in, models, account switching and fixes.

Providers5 minutes to read
Copy & share
On this page9 sections

If you have a Google Antigravity plan, you can use its models in Empryo. Run /login google-antigravity, sign in with Google, and pick a model from the Subscriptions provider.

There are two ways to run those models:

  • Direct (the default). Empryo signs in with Google and calls the Antigravity service itself. Nothing else to install.
  • Through agy (opt-in). Empryo hands every request to agy, Google's official Antigravity command-line tool. Sign-in, the model list and every reply go through agy.

Direct or through agyLink to this section

DirectThrough agy
Installnothingthe Antigravity CLI (agy)
Who talks to GoogleEmpryoGoogle's own agy tool
Sign-inbrowser, returns to Empryo on its ownagy's sign-in: browser, then paste the code back
Model listwhat the service reports for your accountwhat agy offers your account
Several accounts, switching when one runs outyesyes
Model idssubscriptions/google-antigravity/…the same

Pick agy when you want your requests to come from Google's own tool rather than a third-party client, or when you already use agy and want Empryo to see the same models it does. Stay with direct when you want nothing extra to install.

Both use the same sign-in, so you can switch between them at any time without signing in again.

RequirementsLink to this section

  • A Google account with Antigravity access.
  • Empryo 3.16 or newer.
  • For the agy route: the Antigravity CLI installed, with agy on your PATH. If it lives somewhere else, set EMPRYO_AGY_PATH to the full path of the agy program.
  • A screen where you can paste a code: the terminal UI or the desktop app.

Set up the agy routeLink to this section

  1. Install the Antigravity CLI from Google and check it runs:

``bash agy --help ``

  1. Turn the route on in ~/.empryo/config.json:

``json { "antigravityCli": true } ``

If agy is not on your PATH, start Empryo with its location:

``bash export EMPRYO_AGY_PATH=/full/path/to/agy ``

  1. Sign in:

``bash /login google-antigravity ``

Empryo starts agy's own sign-in and opens the Google page in your browser. Approve it, then paste the authorization code (or the whole address the browser ends on) back into Empryo.

  1. Press Ctrl+L and pick a model under Subscriptions. Its name ends in "(Antigravity)".

Already signed in to Antigravity directly? You can skip step 3. The existing sign-in works with agy too.

Where the sign-in is keptLink to this section

agy is told to keep its token in a private file that only your user can read, never in your system keychain. Each account gets its own folder, so two accounts never share a token. Empryo keeps the sign-in with your other subscription sign-ins and renews it when it expires.

agy runs with its own automatic updates turned off while Empryo uses it. Update it the way you installed it.

Which models show upLink to this section

On the agy route, the model picker lists exactly what agy offers your signed-in account. Empryo asks agy once per account and remembers the answer while it runs.

Model ids look like subscriptions/google-antigravity/<model>, and names end in "(Antigravity)" so you can tell them apart from the same model on another account, such as Gemini CLI.

If agy does not answer within 20 seconds, the picker shows a short built-in list instead, starting with Gemini 3 Pro. Empryo asks agy again the next time it loads the model list.

More than one accountLink to this section

Run /login google-antigravity again and pick Add another account. When one account's plan runs out, Empryo moves to the next one on its own:

  • Before sending. If Empryo already knows the current account is used up for that model, it picks another account first.
  • On a quota error. If agy reports the quota is reached before any reply text arrives, Empryo switches account and sends the request once more. If the reply had already started, the turn stops with the error instead, so you never get half an answer from one account and half from another.

The used-up account waits until its limit resets. See More than one account for how switching works across every subscription.

Switch back to directLink to this section

Set "antigravityCli": false in ~/.empryo/config.json, or remove the line. The next request goes direct. Your sign-ins, accounts and model choices stay as they are.

TroubleshootingLink to this section

agy was not found on PATH

The agy route is on, but Empryo cannot find the program. Install the Antigravity CLI so agy is on your PATH, or set EMPRYO_AGY_PATH to the full path of agy. If you would rather not install it, set "antigravityCli": false to go direct.

EMPRYO_AGY_PATH is not an executable agy binary

EMPRYO_AGY_PATH must be a full path (starting with /, or a drive letter on Windows) to a file you can run. A folder, a relative path or a file without run permission is refused. Fix the path, or unset it to search your PATH instead.

Sign-in needs a place to paste the authorization code

agy's sign-in ends with a code you paste back. Some screens have nowhere to paste it. Sign in from the terminal UI or the desktop app, or go direct, which needs no code.

Sign-in cancelled, timed out or failed

The sign-in waits up to 10 minutes for you to finish in the browser. Run /login google-antigravity again. If it keeps failing, check that agy runs on its own and that you are signing in with a Google account that has Antigravity access.

Not signed in to Antigravity after it worked before

Google has withdrawn the sign-in. That happens when you remove access from your Google account settings, change your password, or Google ends the session. Empryo marks that account as signed out and tells you why. Run /login google-antigravity to sign in again. Your other accounts keep working.

A network error or a slow reply from Google never signs you out. Empryo only ends a sign-in when Google says it is no longer valid.

Quota reached

Your plan's limit for that model is used up. With a second account signed in, Empryo moves to it on its own. With one account, wait for the limit to reset or pick another model.

The picker only shows a few models

agy did not list its models in time, so Empryo fell back to its built-in list. Check that agy runs on its own, then reopen the model picker.