Fix 'AI: Out of credits' in Antigravity CLI footer

If you use the Antigravity CLI via agy, you might notice an "AI: Out of credits" warning in the status bar footer.

AI Out of credits error in Antigravity CLI footer

Toggling "Use AI Credits" off via /config inside the CLI fixes it temporarily, but every time you exit and reopen agy, it automatically turns back on and the error message shows up again.

This happens because changing the setting in the CLI UI only updates the active session, while the persistent global config file keeps "useAiCredits": true.

To turn it off permanently:

  1. Open ~/.gemini/config/config.json in your text editor.
  2. Locate "useAiCredits" under userSettings and change it to false, something like this:
{
  "userSettings": {
    "useAiCredits": false
  }
}
  1. (Optional) You can also open ~/.gemini/antigravity-cli/settings.json and add "useAiCredits": false there.

Save the file and restart agy and the warning won't appear in the footer anymore.

Webmentions

What’s this?