google-antigravity-sdk

A software development kit for building and coordinating autonomous AI agents with Google's Antigravity platform. AI agents are programs that can carry out tasks or make decisions based on instructions.

In plain words
What is it for?
Creating, configuring, and debugging individual or multiple Google Antigravity agents, including preparing the Python package and API access.
Why use it?
It provides guidance for checking the project setup, installing the required package, and configuring the credentials needed to use the SDK. This helps avoid starting with missing dependencies or authentication.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/google-antigravity/antigravity-sdk-python/google-antigravity-sdk
Any agent
npx skills add google-antigravity/antigravity-sdk-python --skill google-antigravity-sdk
Clone the repo
git clone --depth 1 https://github.com/google-antigravity/antigravity-sdk-python

Made for: Claude Code, Codex.

Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,615 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00053 $0.01615
Opus 5 $0.00026 $0.00807
Sonnet 5 $0.00011 $0.00323
Haiku 4.5 $0.00005 $0.00161

Measured yesterday against content hash dd5d6b325329, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

google-antigravity-sdk scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/google-antigravity-sdk/SKILL.md · 129 lines

How it starts

The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Google Antigravity SDK

Installation & Setup

Before proceeding with any Google Antigravity tasks, ensure the environment is ready:

  • Verify Applicability: If operating in an existing codebase, verify that using this Python SDK is possible and appropriate for the project.
  • Check Dependencies: Check if google-antigravity is listed in the project's dependencies (e.g., requirements.txt, pyproject.toml).
  • Install Package: Ensure the google-antigravity Python package is installed.
  • Authentication Setup: Check for a valid GEMINI_API_KEY environment variable or a .env file (required to access Gemini models).
    • If credentials are missing, you MUST actively help the user get set up with an API key by providing the following link:
      • Default to Google AI Studio: https://aistudio.google.com/app/api-keys
    • Explain that the API key can be passed explicitly in code as shorthand (e.g., LocalAgentConfig(api_key="...")) or automatically read from the environment.
    • For Gemini Enterprise Agent Platform (formerly Vertex AI) authentication, the SDK supports both Standard Mode and Express Mode:
      • Standard Mode (ADC): Instruct the user to run gcloud auth application-default login and configure the agent with vertex=True along with project and location in LocalAgentConfig.
      • Express Mode (API Key): Configure the agent with vertex=True along with api_key="your-express-api-key" in LocalAgentConfig (no ADC or regional project/location needed).
    • Note: For local models (LiteRTAgentConfig or LocalOpenAIAgentConfig), no API key or cloud credentials are needed. See references/local_models.md for setup details.

Routing Table

Use the following information to dig deeper into specific topics based on the user request. Read the referenced files or explore the directories to find relevant information.

Read the full file on GitHub · 129 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 129 lines · 53 tokens per session scan A dd5d6b325329

Subscribe to this mod's changes

google-antigravity-sdk is a skill published in the GitHub repository google-antigravity/antigravity-sdk-python (3,231 stars, last pushed 5d ago), licensed Apache-2.0. It adds 53 tokens to every session and 1,615 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.