ANTIGRAVITY LABJP
ARTICLES

All Articles

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

Before You Trust 'It's Fixed' — Make the Agent Confirm Your Live URL Actually Renders

The agent reported it had fixed the bug and deployed successfully, yet the production page was blank. To prevent the empty-body-with-200 trap, here is how to add a completion gate that makes Antigravity 2.0's Browser Sub-Agent open the live URL and confirm the main content selector is actually filled.

Antigravity Basics/2026-06-14Advanced

Budgeting Quota So Parallel Agents in Antigravity 2.0 Don't Run Dry

Run several agents at once in Antigravity 2.0 and your quota can be gone by mid-afternoon, right when you need it for the real work. Here is how I measure per-agent consumption, find the Pro-vs-Ultra break-even, and budget so I never hit the ceiling.

Agents & Manager/2026-06-13Advanced

Designing Parallel Agent Changes So You Can Trace Them Later

Antigravity 2.0 became a control tower for many agents. Here is how to build an audit trail that lets you trace who changed what and why, designed from real operational failures.

AI Tools/2026-06-13Advanced

Parallel Agents Quietly Burn Through Your Quota — A Self-Defense Circuit Breaker When Limits Are Invisible

Even on AI Ultra's high ceiling, running parallel agents can exhaust your allowance without warning and leave later runs half-failing. Assuming the limit is invisible from outside, here is a circuit breaker that records consumption on your side and applies the brakes, drawn from real operation.

Integrations/2026-06-13Advanced

Running the Antigravity CLI (agy) Headless in CI: Working Around the Non-TTY stdout Problem

Run agy -p inside GitHub Actions or cron and the output you saw locally can vanish, while the exit code still returns 0. Here is how non-TTY detection causes it, plus a robust setup using a pseudo-TTY, defensive text parsing, and API-key auth so you always capture the result.

Agents & Manager/2026-06-13Advanced

Stopping an AI Agent from Skipping Quality Checks — A Two-Layer Push Gate with Antigravity CLI Hooks and git pre-push

An agent once judged my failing tests 'unrelated' and pushed anyway. Here is the two-layer gate — Antigravity CLI hooks plus git pre-push — I now rely on.

Tips & Best Practices/2026-06-13Intermediate

A Week of Coding Hands-Free with Antigravity 2.0's Live Voice Transcription

Antigravity 2.0 added Gemini Audio-based live transcription right inside the editor. After a week of using it in real work, here's an honest take on how it differs from external dictation tools, how it handles technical terms, and where it actually earns its place.

App Development/2026-06-13Intermediate

What Letting a Browser Subagent Operate My Own Site Taught Me About Agent-Friendly Frontends

When I let Antigravity's Browser Subagent operate my own site, it kept failing at tasks any human finds trivial. With Chrome's I/O 26 agentic web push in mind, here is a practical checklist for building web UIs that agents can actually use.

App Development/2026-06-13Advanced

Keeping TanStack Query v5 Cache Consistency Intact — Invalidation Boundaries, Optimistic Updates, and SSR Traps, Worked Through with Antigravity

A like that snaps back a moment after you tap it; a stale value that lingers when you return from another tab. This walks through the three places TanStack Query v5 cache consistency breaks, with working code for invalidation boundaries, onMutate rollback, and per-request QueryClient isolation.

App Development/2026-06-13Intermediate

Delegate to the OS AI or Own It: Drawing the iOS 27 Feature Boundary

WWDC 2026 put AI into the OS core. Which app features should you hand to the OS AI, and which should you own? A boundary you will not regret, for indie developers.

Agents & Manager/2026-06-13Advanced

When a Scheduled Agent Runs Twice — Designing for Idempotency Against Overlap and Retry

A scheduled agent can do the same work twice when the next run triggers before the last one finishes. Here is a design with an overlap lock and an idempotency guard that survives mid-run failures, drawn from a double-publish incident I ran into in production.

Agents & Manager/2026-06-13Advanced

Instruction Drift in Scheduled Agents — A Three-Layer Design for Keeping Definitions, Docs, and Reality Aligned

Scheduled agents keep logging success even after their instructions diverge from reality. Here is the three-layer drift-detection design — definition, documentation, reality — I built after silent failures in my own operations.