Markdown Edit

Google Antigravity

Google Antigravity is an AI-first software development platform and agentic coding environment comprising a desktop application, IDE extensions, and the agy command-line interface.

Permissions & Security Architecture

Antigravity operates a unified, fine-grained permissions engine formatted as action(target) (such as read_url(*), command(git), or write_file(src/)). Operations are evaluated across three priority tiers: Deny > Ask > Allow.

Configuration Scopes

When managing permissions (via the /permissions interactive TUI in agy or the settings panel), permissions are split into three distinct scopes:

  1. Project Scope: Rules that apply exclusively when operating within a specific project/repository.
  2. Shared Scope: Rules shared across all Antigravity surfaces on the machine (IDE, Desktop App, and CLI).
  3. Global Scope: Rules applied across all sessions for the agy CLI.

Storage Locations on Disk

Scope Location on Disk Description
Project Permissions ~/.gemini/config/projects/<project-uuid>.json Project-scoped permission grants and trusted settings, keyed to the local repository directory path.
Global CLI Settings ~/.gemini/antigravity-cli/settings.json User-level global settings and global permission grants.
Shared Antigravity Config ~/.gemini/config/ / ~/.gemini/antigravity/ Cross-surface preferences and shared state.

Repository-Level vs. Local Security Isolation

Project permissions cannot be defined or committed directly within the Git repository folder itself (such as a checked-in .antigravity/permissions.json).

This design is a deliberate security boundary: