Does Google officially support invoking a consumer-authenticated agy CLI through a custom function tool triggered by the Google AI Studio Gemini API, when the original request comes from other agent?
Hi @oooolee,
No, this workflow is not officially supported. According to the Google Antigravity FAQ and Terms of Service, Antigravity CLI headless mode (`agy -p`) is intended strictly for direct developer scripting and CI workflows; wrapping `agy` inside third-party coding agents or applications, or automating consumer-authenticated sessions from external services, is not supported under consumer plans.
To programmatically orchestrate Gemini model calls or function tools within custom agent architectures, we recommend connecting directly to Google AI Studio or Vertex AI using a Gemini API key or standard Google Cloud credentials.