Sign inSign up

sbx/antigravity-kit

Verified Publisher

By Docker, Inc

Updated 9 days ago

Google's agent-first development platform, available as the agy terminal coding agent.

Sandbox Kit
0

562

sbx/antigravity-kit repository overview

Digest

sha256:34dd8974287c…

Size

2 Bytes

Schema

v2

Pushed

9 days ago

Specificationspec.yaml

SANDBOX KIT
REQUIRES SECRETS

Google's agent-first development platform, available as the agy terminal coding agent.


Credentials
NameServiceRequiredDescription
GEMINI_API_KEYgoogleOptionalGemini API key for Antigravity's headless API-key mode

Network Egress

accounts.google.com

oauth2.googleapis.com

www.googleapis.com

lh3.googleusercontent.com

aicode.googleapis.com

cloudcode-pa.googleapis.com

daily-cloudcode-pa.googleapis.com

generativelanguage.googleapis.com

antigravity.google

antigravity.google.com

antigravity-unleash.goog

play.googleapis.com

safebrowsing.googleapis.com

www.gstatic.com

antigravity-cli-auto-updater-974169037036.us-central1.run.app

storage.googleapis.com

raw.githubusercontent.com

Run in a Sandbox

sbx run docker.io/sbx/antigravity-kit:latest

Make sure you have docker sbx installed

Run the following command to install sbx on your machine.

macOS
brew install docker/tap/sbx
Windows
winget install Docker.sbx
Learn more about docker sbx

Google Antigravity

A standalone Docker Sandboxes kit for Google Antigravity. It runs the agy terminal coding agent with sandbox-local permissions pre-approved and supports either Antigravity's Google OAuth login or a Gemini API key.

Usage

Use the published kit:

sbx run --kit "docker.io/sbx/antigravity-kit:latest" antigravity

Or load it directly from this repository:

sbx run --kit "git+https://github.com/docker/sbx-kits-contrib.git#dir=antigravity" antigravity

Or use a local clone:

sbx run --kit ./antigravity/ antigravity

Authentication

For OAuth, choose skip if sbx offers to configure the optional google credential. Antigravity then starts its native Google sign-in flow. Open the displayed URL in your browser, complete sign-in, and paste the authorization code back into the terminal. The resulting session is retained in the sandbox's persistent home directory.

For API-key mode, provide the key when sbx offers to configure the google credential, or store it before launching:

sbx secret set google
sbx run --kit "docker.io/sbx/antigravity-kit:latest" antigravity

The kit exposes GEMINI_API_KEY as a proxy sentinel and injects the real key only into requests to generativelanguage.googleapis.com. It also sets Antigravity's required modelProvider setting to gemini. Removing the stored credential and recreating the sandbox switches back to OAuth mode.

MCP gateway

When Docker Sandboxes provides an MCP gateway, the kit registers it in Antigravity's user-level MCP configuration with the proxy-managed bearer sentinel. Existing MCP servers in that file are preserved.

Image

The companion image is built from docker/sandbox-templates:shell-docker and installs agy with Google's official installation script. The installer resolves the current release and verifies its published checksum.