Skip to content

[Bug]: Antigravity Limits missing with authenticated agy CLI; quota probe reads legacy ACP credentials #36630

Closed as duplicate

Description

@0x-3FFF

Before submitting

Area

apps/server

Steps to reproduce

  1. On a headless Linux x64 environment, install and sign in to the Antigravity agy CLI (1.5.9).
  2. In T3 Code v0.1.9, enable the Antigravity provider and set its custom binary path to the installed agy executable.
  3. Complete account/model discovery. In this case, an explicit server.refreshProviders request with instanceId: "antigravity", refreshModels: true, and fresh: true successfully established the ACP session. The provider reports ready, Google authentication succeeds, and seven models are available.
  4. Open Usage > Limits with All environments and All providers selected.

Expected behavior

Limits should display the active agy account's quota if this runtime is supported. If CLI quota retrieval is unsupported, show an explicit Antigravity unavailable state and an accurate explanation, rather than omitting the provider or suggesting the already-authenticated account needs to sign in again.

Actual behavior

The Limits page shows Codex and Claude but no Antigravity section. The Antigravity provider is authenticated and usable, yet its quota probe returns unsupported with the message Sign in with Google to see Antigravity limits.

Refreshing and completing ACP authentication/model discovery did not populate the quota data. A minimal direct agy --print call also succeeded, so this is distinct from inability to use the account for inference.

Impact

Minor bug or occasional failure — account quota visibility is missing; inference works.

Version or commit

T3 Code v0.1.9 (stable), Antigravity CLI 1.5.9.

Environment

Headless Linux x64, using a connected T3 Code environment. Provider: Antigravity, custom binary path to agy, Google account (oauth-personal).

Logs or stack traces

Sanitized excerpt from the T3 Code provider refresh response:

{
  "instanceId": "antigravity",
  "driver": "antigravity",
  "enabled": true,
  "installed": true,
  "version": "1.5.9",
  "status": "ready",
  "auth": {
    "status": "authenticated",
    "type": "oauth-personal",
    "label": "Google account"
  },
  "usageLimits": {
    "windows": [],
    "unavailable": {
      "reason": "unsupported",
      "message": "Sign in with Google to see Antigravity limits."
    }
  }
}

The same response contained seven discovered models, including Gemini 4 Argon, Gemini 4 Hydrogen, Claude Opus 5.5, and Claude Sonnet 5.5.

Investigation

The installed v0.1.9 implementation of makeAntigravityUsageProbe reads only <profileDirectory>/antigravity-acp/acp_token.json. If that file is absent, it returns the unsupported/sign-in message above before querying quota.

On this host, the CLI login exists at ~/.gemini/antigravity-cli/antigravity-oauth-token, in a different JSON structure (token, auth_method, id_token_email). Successful ACP authentication does not imply that the legacy profile token exists. No credential values are included in this report.

This appears to be the same credential-source mismatch described in #34381, with an absent legacy token producing no quota instead of a leftover token producing another account's quota.

Screenshots, recordings, or supporting files

Observed UI: Usage > Limits, All environments / All providers selected; Codex and Claude quota cards are present, Antigravity is absent. Sanitized server evidence is included above.

Workaround

No verified workaround for showing the CLI account's quota inside T3 Code. Re-authentication/model discovery succeeded but did not fix Limits. We have not modified or copied OAuth credentials, patched T3 Code, or switched to the managed ACP runtime.

Activity

  1. juliusmarminge commented on Nov 14, 2026

    @juliusmarminge
    Member

    This is the same problem as #34327, so I'm closing it in favour of that one. If it is different, say how and it will be reopened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions