google antigravity
Turn your app ideas into reality without typing endless code. Google Antigravity gives you a personal team of AI assistants to build your projects faster than ever.
Ever had an awesome idea for an app or game but got stuck on the complicated code? Google Antigravity fixes that by putting you in charge as the director of your own personal AI development team. Instead of staring at a blank screen trying to memorise syntax, you simply explain what you want to build, and the AI goes to work writing the code, handling the routine setup, and squashing errors. It is like having a coding superpower that lets you skip the frustrating roadblocks and focus entirely on the creative work - designing, experimenting, and bringing your biggest ideas to life - all while keeping total control over your final project.
Phase 1: Installation & Environment Setup
1
Download the App
Head over to the official website and download the installer file for your operating system (for Windows, it will be called something like Antigravity.exe).
2
Run the Installer
Find the downloaded file and run it. If you are operating under a standard user account on Windows, the installation will proceed normally. If you are running under the main machine administrator account, you will receive a security warning; select Continue to proceed.
3
Initial Setup
Follow through the initial setup prompts:
1
Choose your visual theme.
2
Choose your Antigravity 'Agent' mode - 'Review-driven Development' is recommended as a balanced default.
3
Keep the default editor configurations for now.
4
Sign in with a Google Account (the recommended route, granting direct access to Gemini AI models for guided agentic development) or configure a Google Cloud Platform (GCP) project for enterprise licensing.
5
Accept the user agreements and allow the initial environment provisioning to complete.
Antigravity Workspaces
To keep your development environment organised and prevent context leakage across projects, anchor your workspace directly to the designated project root directory (such as
httpdocs or your repository base):1
Open the Target Folder
1
Connect to your server or local directory in Antigravity.
2
Select File - Open Folder....
3
Enter the path to your target project directory (for example,
/var/www/vhosts/yourdomain.com/httpdocs) and press Enter.2
Save the Workspace
1
Select File - Save Workspace As....
2
Save the configuration file (ending in
.code-workspace) in a secure location outside your public web directories (for example, in your user home or root configuration folder).3
You can now return instantly to this isolated environment by selecting File - Open Workspace from File... or launching the workspace shortcut directly.
Troubleshooting
Missing Updater on Administrative Accounts
If you install and run Antigravity under an administrator account on Windows, the internal background updater may be disabled as a security precaution:

When a new version is released, you can update manually using either of two methods:
1
The "In-Place" Reinstall (Easiest)
You do not need to uninstall your existing version; all personal settings, cache, and workspace bindings remain untouched:
1
Download the standard installer from the official website.
2
Close Antigravity if it is currently running.
3
Run the installer over your current installation.
4
Relaunch Antigravity once the installer completes.
2
The Command Line Fast-Track
If you prefer using the terminal, Windows Package Manager can execute the update directly:
1
Open a Windows Command Prompt as Administrator.
2
Run the following command:
winget install --id Google.Antigravity -e --source winget3
The latest release will download and install automatically.
Bypassing Chroot Jails for Antigravity Access via SSH
When connecting to remote servers managed by hosting control panels such as Plesk, you may encounter an SSH connection failure (such as
uname: command not found). This occurs because shared hosting configurations often lock users inside a restricted "chroot jail" that isolates standard binaries. Antigravity requires access to basic operating system utilities to spawn its background server agent.1
Log into your hosting control panel as an administrator.
2
Navigate to Subscriptions and choose your domain.
3
Select Web Hosting Access.
4
Locate the Access to the server over SSH configuration.
5
Change the setting from
/bin/bash (chrooted) to standard /bin/bash.6
Select OK to apply the changes.
Phase 2: Securing the Workspace Structure
To ensure that AI agent instructions, backend business logic, database credentials, and internal schemas are never exposed through the web server, every project should enforce a strict separation between public assets and private application logic.
The structure below is completely application agnostic - it applies equally to PHP, Python, Node.js, Go, or compiled backend stacks:
└── project-root/ <- Workspace root & boundary anchor
├── GEMINI.md <- PASSIVE RULES: Auto-loaded on every prompt
├── public/ <- PUBLIC WEBROOT: Accessible to web traffic
│ ├── index.html / index.php <- Public entry point / Front controller
│ ├── style/ <- Public CSS stylesheets & tokens
│ ├── scripts/ <- Client-side JavaScript
│ └── assets/ <- Public media (images, icons, fonts)
├── src/ <- PRIVATE CORE: Backend business logic
│ ├── domain/ <- Domain entities & business rules
│ ├── services/ <- Application services & workflows
│ └── persistence/ <- Database schemas, migrations, queries
├── config/ <- PRIVATE CONFIG: Environment variables & settings
├── .agents/ <- ACTIVE SKILLS: On-demand agent runbooks
│ └── skills/
│ └── <skill-name>/
│ └── SKILL.md <- Procedural runbook (progressively loaded)
└── (project-tracking)/ <- LIVING AUDIT: Project governance
├── CHANGELOG.md <- Historical record of modifications
└── TODO.md <- Active tasks, known bugs, and backlog
Phase 3: The AI Customisation Architecture - Rules vs. Skills
A common misconception is treating all AI instructions identically. Antigravity employs a dual-tiered architecture that separates continuous guardrails from on-demand procedural workflows.
1. Workspace Rules (GEMINI.md) - Passive, Always-On Guardrails
Rules define non-negotiable standards, environmental constraints, and coding policies.
Automatic Discovery: Placed at the workspace root as
GEMINI.md (or AGENTS.md), Antigravity automatically detects this file. As you open or edit files, the agent traverses upward and merges all rules directly into the context window.Zero Prompting Required: You do not need to instruct the agent to "read the rules" in your chat prompt - they are active on every turn.
Typical Contents: Language and spelling standards (e.g., British English), formatting conventions, prohibited libraries or frameworks, version control constraints (e.g., git policies), and architectural boundaries.
Here is an application-agnostic template for your root
GEMINI.md:
# Project Workspace Rules: [Project Name]
## 1. Architectural Integrity & Boundaries
* **Separation of Concerns:** Strict isolation between public webroot and private backend logic. Core application logic must never be placed inside publicly accessible directories.
* **Architecture Pattern:** [Define pattern: e.g., Front Controller, Modular Monolith, Layered Services].
* **Input Validation:** All incoming requests must be validated against explicit boundary schemas before processing.
## 2. Technology & Coding Standards
* **Stack:** [e.g., Language, Runtime, Database engine].
* **Styling & Presentation:** [e.g., Enforce Vanilla CSS with custom properties; strictly prohibit CSS utility frameworks].
* **Absolute Restrictions:** [State what the agent must NEVER use, e.g., No third-party ORMs, no external CDN dependencies].
* **Language & Orthography:** Absolute Rule: Use British English spellings across all code, comments, and documentation. Never use em-dashes ("—"); always use spaced hyphens (" - ").
## 3. Environment & Tooling Directives
* **Version Control / Server Directives:** [e.g., Specify if Git is permitted or if manual tracking is required].
* **Audit Trail:** Maintain living documentation in `CHANGELOG.md` and active backlogs in `TODO.md`.
## 4. Development Protocols
* **Propose Before Execution:** For non-trivial modifications, propose a concise implementation plan and await confirmation before modifying files.
* **Living Documentation:** Update `CHANGELOG.md` upon completing any significant feature, refactor, or bug fix.
2. Agent Skills (.agents/skills/) - Active, On-Demand Procedural Manuals
Skills teach the agent complex, multi-step procedures, deployment runbooks, or specific domain workflows.
Progressive Disclosure: Unlike rules, full skill bodies are not injected into context automatically. Only the skill title and description are indexed. The agent reads the full file only when a task matches the skill's purpose, conserving valuable context tokens.
Location & Structure: Placed within
.agents/skills/<skill-name>/SKILL.md. Each skill must begin with YAML frontmatter specifying its name and purpose:
---
name: database-migration-runner
description: Procedural runbook for creating, testing, and applying reversible database schema migrations.
---
# Database Migration Procedure
## Overview
This skill guides the safe creation and execution of schema migrations across development and staging environments.
## Step-by-Step Workflow
1. Analyse the proposed entity modification.
2. Generate an incremental, timestamped migration script.
3. Validate rollback / teardown capability.
4. Execute dry-run against the local test database.
3. Living Project Governance (CHANGELOG.md & TODO.md)
To maintain an unambiguous single source of truth across development sessions:
CHANGELOG.md: A dated record of all completed architectural decisions, features, and fixes. If version control is unavailable or restricted on the server, this file functions as the official audit trail.TODO.md: The active task queue, known bugs, edge cases, and architectural backlog. Keeping this up to date allows the AI agent to immediately orient itself at the start of any new session.Phase 4: The Session Kick-Off Prompt
Because your core policies are codified in
GEMINI.md, the agent automatically respects your boundaries from the very first keystroke. You do not need to restate your rules.Instead, your opening prompt can focus on the specific objective while referencing the living tracking files:
We are beginning a development session on [Project Name]. Please review TODO.md to confirm the current active priority, verify our workspace constraints from GEMINI.md, and outline your proposed implementation plan before writing any code.The agent will acknowledge the workspace rules, read the active task from your backlog, and propose a structured implementation plan aligned with your architectural standards.
Last modified: October 18th, 2026
