google-antigravity-sdk

google-antigravity-sdk is a skill for Claude Code, Codex from google-antigravity/antigravity-sdk-python. It costs 53 tokens per session (1,864 once invoked), scanned A, original, Apache-2.0.

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

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Creating, configuring, and debugging individual or multiple Google Antigravity agents, including preparing the Python package and API access.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/google-antigravity/antigravity-sdk-python/google-antigravity-sdk
About the project

Google Antigravity SDK is a Python library for building AI agents with Antigravity and Gemini, while providing the infrastructure that runs their agent loops. It is for developers creating stateful agents and supports use with Gemini Enterprise Agent Platform.

google-antigravity/antigravity-sdk-python · 3,750 stars · on GitHub · antigravity.google

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.

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.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for google-antigravity-sdk

README.md
[![agentmods](https://agentmods.dev/badge/skills/google-antigravity/antigravity-sdk-python/google-antigravity-sdk/github.svg)](https://agentmods.dev/skills/google-antigravity/antigravity-sdk-python/google-antigravity-sdk)
Your own site
<a href="https://agentmods.dev/skills/google-antigravity/antigravity-sdk-python/google-antigravity-sdk"><img src="https://agentmods.dev/badge/skills/google-antigravity/antigravity-sdk-python/google-antigravity-sdk/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for google-antigravity-sdk

Your own site · 80×15
<a href="https://agentmods.dev/skills/google-antigravity/antigravity-sdk-python/google-antigravity-sdk"><img src="https://agentmods.dev/badge/skills/google-antigravity/antigravity-sdk-python/google-antigravity-sdk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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,864 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00053 $0.01864
Opus 5.5 $0.00021 $0.00746
Sonnet 5.5 $0.00011 $0.00373
Haiku 4.5 $0.00005 $0.00186

Measured 8d ago against content hash 30d9586004e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 8d ago.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

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

How it starts

The opening of the file, as written. The whole thing — 148 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:
    • The SDK defaults to hosted Gemini models with an API key (LocalAgentConfig). When running on-device or without cloud connectivity is desired, local models (LiteRTAgentConfig or LocalOpenAIAgentConfig) can be used as an alternative without an API key or cloud credentials.
    • Hosted Models (Gemini - Default): 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).
    • Local Models (Alternative): For local models (LiteRTAgentConfig or LocalOpenAIAgentConfig), no API key or cloud credentials are needed. LiteRT is the supported on-device runtime for local models (such as Gemma 4 26B). See references/local_models.md and examples/getting_started/local_models.md for setup details.

Read the full file on GitHub · 148 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. 8d ago Changed · +4 lines 30d9586004e9
  2. 23d ago Changed · +11 lines 6bdbe182a6eb
  3. 29d ago Changed 1cc559fab1ca
  4. 1mo ago Changed · +4 lines 40b883270767
  5. 1mo ago 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,750 stars, last pushed 2d ago), licensed Apache-2.0. It adds 53 tokens to every session and 1,864 once invoked, about $0.0002 per session on Opus 5.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.