Gemini Antigravity cloud environment¶
Google Gemini Antigravity runs commands inside a dedicated Debian 12
(bookworm) virtual machine as the non-root user antigravity
(HOME=/home/antigravity). Unlike the
common Docker-first host, the Antigravity sandbox
(exebox) does not provide root access, sudo, apt-get, or a Docker daemon.
Instead, it supplies user-space language managers and routes outbound network
and plugin traffic through a local credential-injecting proxy.
Runtime capabilities and boundaries¶
- Filesystem and persistence: Only
/home/antigravityand/tmpare writable;/is read-only. Connected Living Proof Labs repositories are cloned under/home/antigravity/Living-Proof-Labs/<repo>. The~/.geminidirectory (/shared/user/.gemini) persists across conversations while the rest of the virtual machine is ephemeral. - Preinstalled toolchain:
/usr/bin:bash,git,curl,tmux,python3(3.11),pip,venv,certutil, andopenssl./usr/local/bin:uv,uvx, and Node.js 24 (node,npm,pnpm,yarn)./opt/antigravity/bin:ghand Google Workspace command-line tools.- Task execution model: Because no Docker daemon is available, follow the
prepared-environment path in the
developer interface guide. Run
task -t Taskfile.runtime.yml setupandtask -t Taskfile.runtime.yml verifyin repositories that use the two-file Task layout, ortask setupandtask verifyin single-Taskfile repositories. - Observed simulation and rendering limits:
- No Docker daemon: Containerized
task verifywrappers, release-image builds, andlivingproof-verificationdevcontainer runs cannot execute here. - No
libosmesa6:libEGL.so.1is installed on the virtual machine (soMUJOCO_GL=egltests pass), butlibosmesa6is absent and cannot be installed without root. Any command that importsmujocowithMUJOCO_GL=osmesa(such aslivingproof-sim-mujocotests/test_world_parity.pyorlivingproof-verificationlivingproof capability verify run) fails withAttributeError: 'NoneType' object has no attribute 'glGetError'and must be reported as blocked rather than worked around. - Direct
uvrelease-wheelHEADlimit: When a lockfile references a direct GitHub Release.whlURL,uv sync --lockedissues an HTTPHEADrequest that GitHub redirects (302) to a pre-signedGET-only storage URL, returning401 Unauthorized. Report that failure clearly if encountered rather than fabricating cache entries. - Verification scope: Direct unit, contract, lint, and Playwright documentation checks run in this environment establish user-space test behavior only; they do not substitute for container or end-to-end verification.
Bootstrap the user-space environment¶
Run the bootstrap script from the
collaboration-guidelines checkout:
bash /home/antigravity/Living-Proof-Labs/collaboration-guidelines/environments/gemini/setup.sh
The script is idempotent and leaves ~/.bashrc and browser NSS certificate
trust unchanged. It performs four user-space steps:
- Writes a scoped environment file at
~/.local/share/living-proof/gemini-env.shsettingPATH(~/.local/opt/docs/binand~/.local/bin) andPLAYWRIGHT_BROWSERS_PATH(~/.local/opt/browsers) so tasks can source it explicitly:
. "$HOME/.local/share/living-proof/gemini-env.sh"
- Installs Task
3.54.0into~/.local/binafter verifying the installer against its SHA-256 checksum. - Installs Python
3.10and3.12throughuv python install 3.10 3.12so repositories that setUV_PYTHON_DOWNLOADS=neveror--no-python-downloadsfind the required interpreters locally. - Creates the
~/.local/opt/docsPython virtual environment and runstask setupincollaboration-guidelinesandtask -t Taskfile.runtime.yml setupplusplaywright install chromiuminrobot-capability-specswhen those checkouts are present.
If the specs checkout is absent, setup warns that documentation dependencies
and Chromium installation were skipped. The docs environment may be incomplete
even when setup exits successfully: collaboration-guidelines setup installs
Node tooling, not the Python documentation dependencies. Set GEMINI_SPECS_DIR
to an existing robot-capability-specs checkout and rerun the bootstrap.
GitHub plugin and delivery board access¶
When the GitHub plugin is connected, the local proxy authenticates git and
gh as the signed-in user.
- Supported operations: Cloning, fetching, pushing branches, creating and
updating issues and pull requests, reading repository contents via
gh api, and reading the organization Living Proof Labs Delivery board (Project #2) by queryingorganization(login: "Living-Proof-Labs") { projectV2(number: 2) { ... } }viagh api graphql. - Known integration limits:
gh project list --owner Living-Proof-Labsfails withResource not accessible by integrationwhen another project node inorganization.projectsV2.nodesis outside the integration's scope. QueryprojectV2(number: 2)directly viagh api graphql.- GraphQL mutations on Organization Projects V2 (
addProjectV2ItemById,updateProjectV2ItemFieldValue,gh project item-add, andgh project item-edit) fail withResource not accessible by integrationbecause the integration token has read-only access to Organization Projects V2.
Fresh-session-per-issue workflow¶
Because each Antigravity conversation starts in a fresh session without a background timer, follow this sequence on every task:
- Read the issue and current PR/branch first: Inspect the target issue,
any linked pull request, and the repository's pinned
AGENTS.mdbefore editing files. - Verify
Owneron Project #2: QueryProject #2viagh api graphqland confirm the item is assigned toOwner: Geminibefore starting work. Preserve any existing owner; do not reassign another agent's item. - Coordinate collisions and blockers through Rivet: If an item is
blocked (for example by missing
libosmesa6, Docker, or a board-write permission limit), leave a concise one-line blocker comment on the issue or pull request for Rivet. - Sign every GitHub post: Because Gemini shares the connected GitHub
account rather than posting from a dedicated GitHub App, sign every issue
description, pull request body, review reply, and comment with your name and
account,
— Gemini (Aaron), as required by AGENTS.md. Gemini posts as Aaron's own user, so the signature is the only way to tell its work apart. Commit message bodies need no signature; pull request descriptions and comments do. - Report board-write limits honestly: Never claim Project #2 status or
owner fields were updated when
addProjectV2ItemByIdorupdateProjectV2ItemFieldValuefails; record the exact GraphQL error so Rivet or an authorized owner can update the board.
Documentation home · Docs: v9.15.0 · Version and source · Help / report an issue · License