HUB
Sign inSign up
antigravity-kit logo

sbx/antigravity-kit

Verified Publisher
Cloud

By Docker, Inc

•Updated 20 days ago

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

Sandbox Kit
3

9.3K

sbx/antigravity-kit repository overview

Tag
Digestsha256:ce613d27d160…
Size2 Bytes
Schemav2
Pushed20 days ago
Specificationspec.yaml
SANDBOX KITREQUIRES 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 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(opens in new tab)

⁠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.io/sbx/shell-docker-image and installs agy with Google's official installation script. The installer resolves the current release and verifies its published checksum.

This listing is prepared by Docker. All third-party product names, logos, and trademarks are the property of their respective owners and are used solely for identification. Docker claims no interest in those marks, and no affiliation, sponsorship, or endorsement is implied.