-
name:
antigravity-ide-snap -
description: Snap packaging of Google’s Antigravity IDE — an agent-first coding environment built on the Electron/VS Code platform. Lets developers plan, build, debug and ship software with autonomous AI agents working directly in their codebase. Note that this is different from antigravity (published by Ivo Janski). antigravity is a pure agentic platform, this is another product that is similar to VSCode + Copilot (but with Gemini).
-
snapcraft:
https://github.com/tingdahl/antigravity-ide-snap/blob/main/snap/snapcraft.yaml -
upstream: PRIVATE (proprietary binary distributed by Google at https://antigravity.google). The snap code is under
https://github.com/tingdahl/antigravity-ide-snap -
upstream-relation: Independent third-party packager. I have no affiliation with Google; I repackage the official upstream Linux tarball that Google publishes. I am willing to drop this if there is an official snap.
-
supported-category: IDE
-
reasoning: Antigravity IDE is a general-purpose development environment that must drive the host’s developer toolchain to be useful. Strict confinement is fundamentally insufficient for the following reasons:
-
Host toolchain execution — the IDE invokes host binaries such as
git,ssh,gpg,gpgconf, compilers, language runtimes, and build tools that the developer has installed. There is no interface that permits running arbitrary host executables. -
SSH and GPG authentication — cloning repositories and signing commits requires access to
~/.ssh/config,~/.gnupg/, and agent sockets under$XDG_RUNTIME_DIR. These paths cannot be fully enumerated forpersonal-files/system-filesinterfaces, and those interfaces additionally require per-revision manual review without a snap declaration. -
Real home directory — under strict confinement
$HOMEis remapped to~/snap/…/current, making existing project files, dotfiles, and credentials in the user’s real home inaccessible to child processes. -
Integrated terminal — the IDE spawns the user’s login shell and arbitrary host commands; there is no interface for this.
I verified these limitations by running the snap under strict confinement with
snappy-debugand attempting to usehome,ssh-keys,gpg-keys, andpersonal-filesinterfaces. Git operations, GPG signing, and shell execution all failed. The same application packaged as a raw tarball (the upstream distribution method) works correctly on the same host, confirming the failures are confinement-imposed. Classic confinement is the established precedent for this category:code(VS Code),intellij-idea-community,intellij-idea-ultimate,goland,clion, andsublime-textall use classic for identical reasons. -
I understand that strict confinement is generally preferred over classic.
I’ve tried the existing interfaces to make the snap to work under strict confinement.
Note that snappy-debug can be used to identify possible required interfaces. See https://snapcraft.io/docs/debug-snaps for more information.