Sign inSign up
antigravity-mixin logo

sbx/antigravity-mixin

Verified Publisher

By Docker, Inc

•Updated 1 day ago

Google Antigravity CLI overlay for a shell workload, with Gemini credentials and MCP setup.

Sandbox Kit
0

9.3K

sbx/antigravity-mixin repository overview

Digest

sha256:9d22213b57f1…

Size

79.5 MB

Schema

v3

Pushed

1 day ago

Specificationspec.yaml

MIXIN

Google Antigravity CLI overlay for a shell workload, with Gemini credentials and MCP setup.


Arguments
NameRequiredDefaultDescription
versionRequired—

Antigravity CLI version asserted after installation



CapabilitiesExpand a row to see its full configuration. See the full spec for the complete descriptor.
TypeRequiredDescription
com.docker.sandbox/network-policy@1Required—
com.docker.sandbox/credential@1OptionalGemini API key for Antigravity's headless API-key mode
com.docker.sandbox/lifecycle@1Required—
com.docker.sandbox/agent-context@1Optional—
com.docker.sandbox/agent-context@2Optional—
com.docker.sandbox/acp@1Optional—

Requiresdeb/jq

Apply this mixin to a sandbox

sbx run <agent> --kit sbx/antigravity-mixin: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 mixin for Docker Sandboxes

This v3 mixin Kit packages Google Antigravity⁠ for Docker Sandboxes. It adds the agent, authentication configuration, and runtime integration to a compatible workload. The workload keeps its entrypoint.

This Kit is built on Docker Hardened Images.

⁠Run

sbx run sbx/shell:latest --kit sbx/antigravity-mixin:latest /path/to/workspace

When the shell opens, run agy. This kit supplies an overlay, so it needs a workload such as Shell⁠.

A manual agy launch keeps its native approval behavior. To match the workload's automatic tool approval, run agy --dangerously-skip-permissions.

⁠Kit arguments

This kit has no create-time kit arguments.

⁠Authentication and configuration

Bind a Gemini API key on the host with sbx secret set google to use the Gemini provider. The runtime supplies a proxy-managed credential. With no bound Google credential, agy uses its interactive Google sign-in.

For Google OAuth, skip the optional google credential during setup. Open the sign-in URL in your browser, then paste the authorization code into the terminal. To switch from API-key mode to OAuth, remove the host's google credential binding and recreate the sandbox.

When the runtime supplies an MCP gateway, the kit registers it automatically in ~/.gemini/config/mcp_config.json. Existing unrelated settings and server entries are preserved.

ACP support is included. Configure an ACP client to open a non-TTY stream to the sandbox.

sbx exec -i <sandbox> agy acp --dangerously-skip-permissions

The sandbox supplies the isolation for agent tool execution. Launch the kit through Docker Sandboxes and configure extra tool or MCP destinations in the runtime network policy as needed.

If a tool cannot reach a service, run sbx policy log on the host to identify blocked destinations.

⁠Source and security

For the Kit format and capability contracts, see the Sandbox Kit v3 specification⁠.

For runtime setup, see the Docker Sandboxes documentation⁠. For provenance, SBOM, VEX, and image verification, see the Docker Hardened Images documentation⁠.

Google and Antigravity are trademarks of Google LLC. Product names and logos do not imply sponsorship or endorsement.