Google AI Pro – Is standalone Antigravity CLI scripting with external task coordination permitted?

Hello Google Antigravity Team,

I have a personal Google AI Pro subscription and would like to use its included Antigravity CLI quota for a private, non-commercial AI lab.

My goal is to add Gemini as a second independent AI worker alongside my existing tools, without additional API billing or unofficial authentication methods.

My proposed setup:

- The official Antigravity CLI (“agy”) runs under a dedicated Linux user account.

- A standalone Python script reads individual, predefined research and documentation tasks from a local folder.

- The script invokes the unmodified official CLI using documented arguments such as “agy -p”.

- Tasks may either be written manually by me or prepared by Claude Code, which coordinates other parts of my local AI lab.

- Claude Code does not directly interact with the running Antigravity session, access Google credentials, use undocumented endpoints, or control the CLI interactively.

- Results are stored locally and reviewed before being used by other systems.

- Only my own Google account is used. There is no account rotation, browser automation, token extraction, or sharing of authentication credentials.

- Strict local rate limits and security restrictions are enforced.

I understand that the documentation supports direct scripting and CI workflows, while restricting the use of Antigravity CLI as a wrapper inside third-party coding agents or applications.

However, the boundary is unclear for a standalone script that invokes the official CLI while another AI assistant may prepare task files upstream.

Rather than relying on conflicting community interpretations, I would appreciate clarification of how the current FAQ and Additional Terms apply to this specific architecture.

Could you please clarify:

1. Is this architecture permitted under a personal Google AI Pro subscription?

2. Is standalone Python scripting with “agy -p” permitted when I create the task files myself?

3. Does the answer change if Claude Code prepares the task files, without controlling the CLI process or accessing Google credentials?

4. Where exactly is the boundary between permitted direct scripting/CI workflows and unsupported third-party agent wrapping?

5. Can this workflow run unattended using an official, previously established Google sign-in session?

6. Are there any additional quota, automation, or account restrictions that apply to this setup?

I am not seeking access to undocumented APIs, ways to bypass subscription limits, or additional API billing. I want to use the official CLI transparently and within the terms of my existing subscription.

If possible, please reference the applicable terms or documentation.

Thank you for your guidance.

Hi @Lars,

Thanks for sharing your architecture before building it. Here is how our current policies and CLI behavior apply to your six questions:

  1. No. Per the FAQ and Additional Terms, using agy -p as a secondary worker coordinated by a third-party coding agent like Claude Code isn’t permitted on consumer plans. To run Gemini alongside Claude Code in a multi-agent workflow, use a Gemini API key ("modelProvider": "gemini" in ~/.gemini/antigravity-cli/settings.json with GEMINI_API_KEY) or Gemini Enterprise.
  2. Yes. Calling the unmodified agy -p binary from your own scripts on tasks you create yourself—using your single personal login without extracting tokens or rotating accounts—is a supported headless scripting workflow.
  3. That still counts as third-party agent coordination. Passing tasks from Claude Code to agy -p through local files instead of stdin/stdout pipes still uses consumer quota as a backend worker for an external coding agent, so it requires a Gemini API key or Gemini Enterprise.
  4. Consumer plans support direct, single-user scripts and deterministic CI jobs (like git hooks or test checks) using native sign-in. They don’t allow third-party agents (Claude Code, OpenClaw, OpenCode, Codex) to schedule or delegate work to agy, proxy wrappers, or token extraction/account pooling.
  5. For supported standalone scripts, agy -p reuses your cached sign-in and exits immediately with an auth error if the session expires (re-login must be done interactively). On headless Linux, keep an active D-Bus session and unlocked Secret Service keyring (gnome-keyring / kwallet) so credentials can be read (troubleshooting guide), set export AGY_CLI_DISABLE_AUTO_UPDATE=true to avoid update lock contention, and pre-authorize needed tools in ~/.gemini/antigravity-cli/settings.json with --sandbox and --print-timeout (headless permissions).
  6. Headless runs share your normal 5-hour and weekly Google AI Pro quota and are subject to automated rate/abuse protections, so avoid tight loops or rapid retries. To make sure scripted runs never spend extra credits, keep "useG1Credits": false in ~/.gemini/antigravity-cli/settings.json (CLI credits).