Policy clarification: private monitoring app using official Antigravity CLI and subscription quota

Hello,

I would like to use my Google AI subscription quota through the official Antigravity CLI from a private monitoring application on my Windows computer. The purpose is to analyze de-identified status summaries and error information from two systems I use personally. I have not enabled this integration. Please clarify any differences in eligibility between Google AI Pro and Ultra; my exact subscription tier is not specified in this inquiry.

My proposed setup is as follows:

  • It is for my personal use only. I will not offer it as a service to others, resell access, or share my subscription account.
  • I will authenticate through the official sign-in flow and let the unmodified official CLI manage its credentials. My monitoring application will not extract, copy, or reuse OAuth tokens, or call undocumented endpoints directly.
  • The monitoring application will launch the official CLI as a subprocess, pass summaries through its documented non-interactive mode, and read its JSON responses.
  • Initially, I will submit requests manually. In the future, I may submit requests automatically when an error is detected, with limits on frequency, concurrency, and retries.
  • I want to use only the baseline quota included in my subscription. When that quota is exhausted, processing must stop without consuming additional AI credits, purchasing credits, or switching to Gemini API or Google Cloud billing.

Could you please clarify the following?

  1. Does launching the official CLI from a custom application in this way comply with Section 6 of the Antigravity Additional Terms of Service? Is this treated differently from third-party software directly using Antigravity OAuth credentials?
  2. Are both manually initiated requests and automatic background requests permitted? Do either require additional approval or authorization, or have restrictions on usage or request frequency?
  3. Are Google AI Pro and Ultra subscriptions eligible for this workflow, with requests charged only against the included quota and no separate API fees?
  4. Is setting AI Credit Overages to “Never” and the CLI’s useG1Credits setting to false sufficient to stop non-interactive runs when the included quota is exhausted? Are there any other billing settings that must be disabled?
  5. If this setup is not permitted, is there an officially supported alternative that uses an existing Google AI subscription quota without additional API charges?

The official documentation describes non-interactive CLI execution and programmatic output, while the terms restrict access through third-party tools. I would therefore like to clarify the permitted scope before implementing this integration.

Please provide the applicable documentation or a written response from the Google team authorized to clarify these terms and billing conditions.

Thank you.

Hi @xorz,

How each part of your setup works under our Terms of Service, FAQ, and Headless CLI docs:

  1. Section 6 compliance & OAuth handling: Section 6 of the Additional Terms prohibits third-party tools from extracting Antigravity OAuth tokens or wrapping agy inside third-party agents or apps. However, calling the unmodified agy -p --output-format json binary from your own personal local script—where the CLI handles its own login—is supported for direct local scripting.
  2. Manual vs. automatic background runs: Running agy -p manually from a local script is fine and doesn’t need special approval. However, unattended/automatic background requests (like event-driven daemons or polling loops) are not supported on consumer plans—even with local rate limits, automated background traffic can trigger automated abuse/ToS enforcement and lockouts.
  3. Google AI Pro vs. Ultra: Both paid Pro and Ultra plans include agy CLI access and draw only from your plan’s included quota with no separate API fees. The only difference is that Ultra gives you higher rolling usage limits and higher priority on frontier models.
  4. Stopping strictly at baseline quota: Yes, setting AI Credit Overages to Never ("useAiCredits": false in ~/.gemini/config/config.json) and "useG1Credits": false in ~/.gemini/antigravity-cli/settings.json is all you need. (Both are required because the CLI inherits the shared config setting on startup.) Once your included quota is exhausted, agy -p will immediately stop with a quota error—it will never buy credits or switch to Gemini API / Google Cloud billing unless you explicitly configure an API key.
  5. Supported alternative for automated monitoring: Consumer Pro/Ultra quotas only work inside first-party Google apps and can’t be called directly as a backend API. If you build an automated background monitor later on, the supported path is using a Google AI Studio API key, which has a free tier with hard quota caps (no billing setup required).

Isent this pretty risky though?

Meaning the combination of:

  • A vague fair use-ish kind of policy that is based on if agy --json-stream/agy -p is called from a local script or automated
  • Automated suspensions that is treated as trust and safety violations, risking eg a workspace account being completly locked out from access potentially permanently.

And then on top of that, using the acp binary with a third party client is ok. Which makes things even more confusing as if the exact same integration was to be done using agy --json-stream, it would result in a potential permanent suspension.

I totally get what the policy is attempting to achive. Disallowing use of automated tools such as Openclaw, api proxies, account rotation and so on.

But would it not be better to outright disallow all access methods except trouch the official clients trough their gui/tui:s?

The distinction between what is to be considered “unattended” vs “manual” is also not really clear.

As a example, which of below ways of invoking the cli is allowed vs disallowed:

  1. Calling agy as part of a gh workflow or eg. workers ci build process?

  2. Calling agy in a integration test, and if ran remotly vs locally?

  3. A local script, that a local daemon executes, and if allowed, then what if said daemon executes it at startup, and restart is scheduled every 12h, is that considered unattended or attended?

  4. Invoking the cli from a git commit hook, linter script, vscode onX callback?

And lastly, the most concerning part, since determining if the command was executed by a local go server, a python script, or a 3 line bash script, is borderline impossible, does this not mean that even perfectly acceptable, fair use, explicitly allowed usage ends up being a dice roll?

If something that is explicitly allowed comes with the caveat of potentially causing a permanent suspension of a business account, does it not become a significant problem when that is not communicated clearly?