ANTIGRAVITY LABJP
ARTICLES

All Articles

All (953) Antigravity Basics (143) Editor View (62) Agents & Manager (248) Integrations (126) App Development (216) AI Tools (63) Tips & Best Practices (95)
Agents & Manager/2026-06-28Intermediate

Prune an Antigravity plan before you approve it

Instead of approving a Planning-mode plan wholesale, cut the one risky step and keep the rest. A field-tested look at partial plan editing from a solo developer's desk.

Agents & Manager/2026-06-28Advanced

The Day the Article I Asked It to Format Became the Agent's Instructions

When you run an unattended content-formatting pipeline with Antigravity CLI, instruction-like text buried in the file you are processing can hijack the agent. Here is how I separate the instruction channel from the data channel and add an output-scope acceptance gate to reject anything out of bounds.

App Development/2026-06-27Advanced

Before AI Studio's Gradle and AGP Versions Quietly Break Your Existing App

When you drop an AI Studio-generated Kotlin/Compose screen into an existing Android app, the AGP, Kotlin, and library versions drift and the build breaks silently. Here is how to pin a single source of truth with a version catalog and add a gate that inspects the generated declarations at the import boundary, with measurements and code.

Tips & Best Practices/2026-06-27Advanced

Before Desktop and CLI Drift Apart: Put Agent Steps in One Versioned File

As Antigravity 2.0 multiplies entry points across desktop, CLI, and SDK, the instructions for the same task slowly diverge per surface. As an indie developer running several sites on autopilot, I lay out a design that consolidates the steps into a single versioned file each surface merely reads.

Agents & Manager/2026-06-27Advanced

Before Your dynamic sub-agents Branch Out Too Far — Designing a Depth Budget and Fan-out Cap

Antigravity 2.0's dynamic sub-agents can spawn their own sub-agents at runtime. Handy, but without depth and fan-out control they can burn through your quota overnight. Here are three guards, with concrete code.

Agents & Manager/2026-06-27Advanced

Keep a Tamper-Evident Audit Log of Your Autonomous Agent's Actions

To record the decisions and actions an Antigravity agent takes autonomously in a form you can trace and verify later, design an append-only audit log whose hash chain detects tampering. Includes the implementation.

Integrations/2026-06-27Intermediate

Pass Your Agent's Structured Output Downstream With Schema Validation and Bounded Repair

Before the JSON an Antigravity agent returns flows straight into downstream automation and causes an incident, build a safe boundary with JSON Schema validation and a turn-limited repair loop. Includes the implementation.

Integrations/2026-06-27Advanced

Rotate Keys Without Stopping an Unattended Agent: An Overlap-Window Design

API keys and tokens are worth rotating on a schedule before they leak. But an unattended agent goes quietly dead the moment auth breaks during the swap. As an indie developer running several sites on autopilot, I lay out an overlap-window design that rotates keys without downtime.

App Development/2026-06-27Advanced

When a Local iOS Build Passes but CI's TestFlight Upload Rejects the Signature — Field Notes on match Code-Signing Drift

Running fastlane match on CI can produce builds that succeed while only the TestFlight upload fails on signing. These field notes show how to diagnose the certificate/profile drift reproducibly, lock CI to readonly, and add a pre-upload gate that stops bad signatures before they reach Apple.

Editor View/2026-06-27Intermediate

What Tripped Me Up First When Antigravity 2.0 Split the IDE and the Agent Into Separate Apps

Antigravity 2.0's modular layout splits the IDE and the chat-style agent into two separate apps. Here is the moment their file states drifted apart on me, and the save discipline I now use to keep a single source of truth.

Agents & Manager/2026-06-27Advanced

Pin Your Agent's Output With Golden Snapshots Before Switching Models

When Antigravity's engine moves to Gemini 3.5 Flash, an agent's output can drift silently. This walks through a golden-snapshot regression gate that catches the drift, with the actual test code and a migration-day checklist.

Agents & Manager/2026-06-27Advanced

When Your Agent Automation Breaks: How Many Minutes to Recovery?

As Antigravity 2.0 adds desktop, CLI, and SDK surfaces, the things you must restore after a failure multiply too. As an indie developer running several sites on autopilot, I lay out a three-layer recovery design covering credentials, definitions, and state, plus a monthly restore drill.