Clarification on consumer-plan policy for invoking official agy via local subprocess

Hello,

I would like to clarify the current Antigravity consumer-plan policy regarding use of the official agy CLI from a local coding assistant or local orchestrator.

The Antigravity FAQ states that wrapping agy inside third-party coding agents or applications is not supported under consumer plans.

However, I have also found answers on the Google AI Developers Forum indicating that launching the official, unmodified agy CLI as a local subprocess from Claude Code, Codex, or a local orchestrator may be permitted.

Because these two pieces of guidance appear to conflict, I would appreciate clarification on which interpretation currently applies.

My intended setup is:

  • Personal Google AI Pro account
  • Single-user, local-PC use only
  • Official, unmodified agy binary
  • agy launched as a local subprocess from Claude Code, Codex, or my own local script/orchestrator
  • Authentication and communication with Google are handled entirely by agy
  • No extraction, reuse, forwarding, or proxying of OAuth tokens, cookies, or session data
  • No direct access to private or undocumented Antigravity backend APIs
  • No MCP bridge, proxy, relay server, or shared service
  • No account rotation
  • No quota or rate-limit bypass
  • No multi-user access or external exposure
  • Sequential or low-frequency use only, rather than high-concurrency or unattended polling loops

Under the current Antigravity consumer-plan Terms, especially Clause 6, is this specific usage permitted/compliant?

In particular, does the FAQ statement about “wrapping agy inside third-party coding agents or applications” also apply to this simple local subprocess model, where the official agy binary itself handles all authentication and backend communication?

If possible, I would appreciate a clear Yes / No answer for this specific configuration.

Related sources:

Current Antigravity FAQ

Local AI coding assistant / unmodified agy

Thank you.

Hi @Amane2418 ,

Welcome to the Forum.

Thank you for reaching out and laying out your questions clearly.

Here is how our policy in the Antigravity FAQ and Terms of Service applies to each scenario under consumer plans (Free, Google AI Plus, Google AI Pro, and Google AI Ultra):

  1. Current Official Guidance: The Antigravity FAQ reflects our current policy for Antigravity CLI headless mode and supersedes earlier forum comments where they differ.
  2. Direct Local Scripting & CI Workflows (agy -p) — Permitted:
    • Yes for your own direct local scripts (such as a personal shell or Python script) and CI pipelines. On our Headless mode and FAQ pages, agy -p (along with --output-format json and --output-format stream-json) is intended for direct scripting and CI workflows using your authenticated agy session, provided you do not automate account switching/rotation or extract OAuth credentials.
  3. Wrapping agy Inside Third-Party Coding Agents or Applications (Claude Code, Codex, OpenClaw, OpenCode) — Not Supported:
    • No under consumer plans. Even if you invoke the official, unmodified agy binary as a local subprocess without extracting OAuth tokens or reverse-engineering internal endpoints, wrapping agy inside third-party coding agents or applications—or automating account rotation—is not supported under consumer plans (FAQ — Headless mode in third-party coding agents).
    • Using third-party coding agents or tools (such as Claude Code, OpenClaw, or OpenCode) to access Antigravity violates our Terms of Service and can result in account suspension or termination (FAQ — Third-party software).
  4. Recommended Alternative for Third-Party Coding Agents:
    • If you want to call Gemini models from a third-party coding agent or external orchestrator, we recommend using a Gemini Enterprise or Google AI Studio API key (FAQ).

Please let us know if you need any further information.

Thanks for the clear answer above. It settles the policy question. I’d like to add some feedback from a UX point of view, based on what actually happened to me.

My experience: I set up agy and let my coding assistant call agy -p to read and summarize public web pages. Everything just worked: no warning, no confirmation, no error. I only learned it wasn’t allowed when I happened to find this thread. I stopped immediately, then went to AI Studio, topped up prepaid credit, and switched to a Gemini API key, which is what I should have done from the start. I was happy to pay; I just didn’t know.

The UX problem: the rule lives only in the FAQ, while the product itself gives the opposite signal. When a command runs smoothly, users reasonably assume it’s fine. And when agy -p is launched by another agent, any warning it prints is seen only by that agent, not by the human. So the person who is responsible for following the Terms is the one person who never gets the message.

Suggestions:

Stop at the point of risk. When agy -p detects it’s being run by another coding agent, refuse to run, or pause and require a one-time confirmation that only the account owner can give interactively in a real terminal.
Point to the right path in that moment. Show a short message with a link to the FAQ and to getting a Gemini API key, so the user can switch right away.
Make the boundary concrete. List a few “allowed vs. not allowed” examples in the FAQ and the headless-mode docs (e.g., a personal shell script is fine; a script launched by an AI coding agent is not).

One question: for users like me who used it this way before seeing the FAQ and have since stopped, is there anything we should do to avoid a suspension?

Thanks for listening. Good error prevention would protect both new users and Google’s policy.

​Hi Jay, I’m in the exact same boat!
​I’ve actually escalated this issue to Google One support and am currently waiting for an official response from their policy team regarding this specific use case.
​I completely agree with your UX feedback. A human-in-the-loop confirmation prompt in the terminal would be the perfect solution. Until we get a clear green light from Google, pausing the automation or using the API is definitely the safest move.
​I’ll share the update here as soon as I hear back from support!