Choose your Antigravity
Section titled “Choose your Antigravity”Antigravity delivers native agentic assistance across purpose-built product surfaces, with dynamic reasoning controls, multi-agent orchestration, and enterprise-grade security. Evolved from the Agent Manager into a standalone desktop command center (Antigravity App) alongside native terminal, editor, and programmatic SDK interfaces, Antigravity supports both synchronous interactive pair-programming and asynchronous background agent workflows independent of a single IDE. Select any surface below to explore live interface previews, core workflows, and quickstart paths:
I updated checkout-service to validate discount codes before creating a payment intent:
- PromoValidator: Check expiration dates and minimum order totals.
- CheckoutController: Return
400 Bad Requestwith a clear message for expired codes.
Shall I run the checkout test suite to verify?
Please review this project. Investigate how it works and build a report showing important files and data flows.
BaseEntity,NamedEntity, andPersonserve as base classes.Owner,Pet,Visit,Vet,Specialty, andPetTypedefine business models.
OwnerController: Manages owner creation, lookup, and pagination.PetController: Handles pet updates/creation usingPetValidator.VetController: Provides HTML vet list and cached JSON endpoint.
This document provides an architecture review and technical investigation of the Spring PetClinic application (spring-projects/spring-petclinic).
Spring PetClinic is a reference application built to showcase modern Spring Boot patterns, clean domain-driven architecture, and Java best practices.
- Framework: Spring Boot 4.1.0, Spring MVC, Spring Data JPA, Spring Cache
- Java Toolchain: Java 17 (
build.gradle) - Database & Persistence: In-memory H2, MySQL, PostgreSQL
The domain model follows standard Object-Relational Mapping (ORM) principles with common base class inheritance.
Built with Spring Boot, Spring MVC, Thymeleaf, and Spring Data JPA (spring-projects/spring-petclinic).
Clone the repository and start the embedded server using the Maven or Gradle wrapper:
- Maven:
./mvnw spring-boot:run - Gradle:
./gradlew bootRun - Local Endpoint:
http://localhost:8080
Uses an in-memory H2 database by default, with Docker Compose profiles for mysql and postgres.
from google.antigravity import Agent, LocalAgentConfig
from google.antigravity.hooks.policy import allow, deny
# Configure stateful agent harness and safety policies
config = LocalAgentConfig(
policies=[allow("view_file"), deny("run_command")],
system_instructions="You are a senior software architect.",
)
# Execute multi-turn conversation in async context
async with Agent(config) as agent:
response = await agent.chat("Audit the repository architecture.")
print(await response.text())Core agent capabilities
Section titled “Core agent capabilities”Every Antigravity surface runs on a shared, highly optimized agent harness co-trained with Gemini models, combining synchronous turn-by-turn code editing and tool execution with asynchronous background subagents, scheduled cron sidecars, and automated verification loops:
Co-trained with Google DeepMind. Powering all local agents with frontier speed, configurable reasoning levels, and large context capacity across Gemini 4 Argon, Gemini 3.8 Flash, and Gemini 3.1 Pro.
Delegate complex background tasks to concurrent subagents working across isolated Git worktrees without blocking your active terminal or editor session.
Track and verify agent output with structured visual reports, including interactive implementation plans, unified multi-file diffs, and browser session recordings.
Enforce local execution safeguards with granular tool approval gates, workspace directory scoping, local proxying, and corporate VPC Service Controls.
Frontier models and dynamic reasoning
Section titled “Frontier models and dynamic reasoning”Antigravity leverages Google DeepMind’s frontier Gemini models with dynamic reasoning controls. Adjust reasoning effort per conversation turn or delegate long-running tasks to autonomous agent swarms:
Interactive model and thinking level selector
Experience the model selector directly below. Antigravity lets you adjust reasoning depth and model speed dynamically per conversation turn.
Product comparison
Section titled “Product comparison”Compare primary capabilities and execution environments across Antigravity surfaces:
| Capability | desktop_windowsApp | terminalCLI | extensionIDE Ext. | code_blocksSDK |
|---|---|---|---|---|
| Desktop application | check | close | close | close |
| Terminal user interface (TUI) | close | check | close | close |
| Editor extensions (VS Code, JetBrains, VS, Zed, Xcode) | close | close | check | close |
| Programmatic Python SDK | close | close | close | check |
| Remote control & headless execution | check | check | close | close |
| Workspace & Git worktree isolation | check | check | close | check |
| Multi-agent swarms (/teamwork-preview) | check | check | close | close |
| Deep reasoning mode (/boost) | check | check | close | close |
| Interactive visual artifacts & diffs | check | check | check | close |
| Sandboxed Chromium browser automation | check | close | close | close |
| Custom skills (SKILL.md) & rule files | check | check | check | check |
| Model Context Protocol (MCP) clients | check | check | check | check |
| Scheduled tasks & cron sidecars | check | check | close | close |
| Corporate SSO & BYOID (Workforce Identity) | check | check | check | check |
| Regional data residency (US & EU) | check | check | check | check |
| VPC Service Controls (VPC-SC) | check | check | check | check |
| Request, response & telemetry logging | check | check | check | check |
User and enterprise tiers
Section titled “User and enterprise tiers”Antigravity supports individual developers and enterprise engineering organizations with Google Cloud security, regional data residency, and VPC Service Controls:
Designed for software engineers, researchers, and open-source contributors who need frontier autonomous coding assistance on their local workstation.
Full access to the native Antigravity App desktop application and the high-speed agy command-line interface.
Integration with VS Code, JetBrains IDEs, Xcode, Zed, and Visual Studio with dedicated agent panels, interactive plans, and inline diff reviews.
Start at $0/month on the Free plan, or upgrade to Google AI Plus, Pro, or Ultra for higher rate limits and optional AI credit overages.
Author project-level custom skills (SKILL.md), connect stdio/SSE MCP servers, and define behavior rule sets.
Engineered for organizations requiring Google Cloud governance, regional data residency, VPC Service Controls, and enterprise identity management.
Authenticate with Google Cloud SSO, Bring Your Own Identity (BYOID) via Workforce Identity Federation (such as Okta), or Application Default Credentials.
Control where model inference and data processing occur across global, US multi-region, and European Union multi-region endpoints.
Enforce network service perimeters and private connectivity with Google Cloud VPC Service Controls (VPC-SC) and IAM role governance.
Configure project telemetry and full request and response logging directly within your Google Cloud project for security and compliance.
Choose consumption-based billing via the Gemini Enterprise Agent Platform API or Gemini Enterprise licenses with included quotas and managed overages.
Governed by the Google Cloud Terms of Service. Your prompts, code, and transcripts are never stored outside your private environments or used to train models.
Documentation pillars
Section titled “Documentation pillars”Explore the documentation across six core architectural pillars:
Install the Antigravity App, set up the CLI, integrate the SDK, and configure IDE extensions.
Master foundational concepts including Workspaces, Git Worktrees, and Sessions.
Author custom Skills (SKILL.md), connect MCP Servers, and define Lifecycle Hooks.
Corporate SSO & BYOID, Regional Data Residency, VPC Service Controls, and Cloud Logging.
Firebase, Chrome DevTools, Android CLI, Dart & Flutter, Science, and Data Agent Kit skills.
CLI command manuals, models specifications, settings schemas, and API references.