Google Antigravity SDK
A Python SDK for building AI agents powered by Google's Antigravity platform and Gemini models, with a stateful runtime that handles the agent loop.
The Google Antigravity SDK is a Python SDK for building AI agents powered by Antigravity and Gemini. It provides a secure, scalable, stateful infrastructure layer that runs the agentic loop, so applications built on it focus on what the agent does rather than how it executes.
Installation is through PyPI, which ships a platform-specific wheel containing a compiled runtime binary; cloning the repository alone does not provide a runnable SDK. Agents can authenticate to the Gemini Enterprise Agent Platform (formerly Vertex AI) either with a plain API key in Express Mode, for setups without a Google Cloud project, or with a project and location in Standard Mode, which uses Application Default Credentials.
Configuration can be supplied through code or through environment variables such as GOOGLE_CLOUD_PROJECT and GOOGLE_CLOUD_LOCATION.