◉ANTIGRAVITY LABJP
ARTICLES

All Articles

All (1167)◉ Antigravity Basics (173)⟐ Editor View (91)◈ Agents & Manager (293)⬡ Integrations (154)▣ App Development (250)⚙ AI Tools (84)✦ Tips & Best Practices (122)
⬡ Integrations/2026-07-11Advanced

Nobody Is There to Say Yes: Writing Unified Permissions as an Unattended Contract

The v2.2.1 unified permission system assumes a person is watching. On a 3 a.m. scheduled run, that assumption quietly breaks. Here is how I declared the policy up front as an allow / deny / queue contract so an unattended agent never stalls on a prompt no one can answer.

◉ Antigravity Basics/2026-07-11Advanced

Are You Actually Using Every Permission You Granted? Tightening Antigravity's Unified Permissions from Real Usage Logs

Once you flip a unified permission policy to 'allow everything,' unused grants quietly pile up. This is the grant-to-usage reconciliation loop: match granted permissions against your action logs, revoke what was never exercised, and narrow what's too broad — with working TypeScript and real numbers from solo operation.

▣ App Development/2026-07-10Advanced

An Agent's ORM Code Made p95 Five Times Slower — Measuring Query Counts and Blocking Them in CI

N+1 queries slip past code review because the code looks correct. Here is a CI gate that measures query counts and judges them by their slope against input size, with working code and real numbers.

✦ Tips & Best Practices/2026-07-10Advanced

You Can Measure a Request Before You Send It — Sizing Agent Tasks by Working Backward from Rework Rate

When an Antigravity agent returns code that misses the mark, the cause is rarely the wording of the prompt. It is the size of the task. Here is a Python scorer that grades a request before you send it, plus what happened when I scored 80 past requests against their actual rework outcomes.

◈ Agents & Manager/2026-07-10Advanced

Tracing Why an Agent Wrote That Line Six Months Ago — Commit Granularity and Provenance Trailers

When an agent packs 14 files and 800 lines into a single commit, git blame tells you nothing six months later. Here is how I split commits at intent boundaries, recorded provenance as machine-readable Git trailers, and built a one-command path from a blamed line back to the design decision behind it.

◈ Agents & Manager/2026-07-10Advanced

When Your Agent's Files Vanish Into .gitignore — A Pre-Commit Detection Gate

When an agent writes files that match .gitignore, the diff review looks perfect but nothing lands in the commit. Here is a gate script that catches ignored build output before you push, plus the tuning it needs.

▣ App Development/2026-07-09Advanced

Deciding When to Stop a Staged Rollout, Before You Have To — Agents Watch, I Halt

Field notes on building a Google Play staged-rollout watcher with Antigravity. Crash rate as a ratio to baseline, delayed ANR evaluation, and an explicit insufficient_data verdict — with the halt action kept in human hands.

▣ App Development/2026-07-09Advanced

Background Refresh May Never Run — Measuring Execution Opportunity and Redesigning Around Freshness

Scheduling a BGTaskScheduler or WorkManager job is a request, not a guarantee. Here is how I instrumented execution opportunity, defined freshness as an SLO with p50 and p90 targets, and rebuilt the update path into three layers that hold up when background work never runs.

▣ App Development/2026-07-09Advanced

Before an Agent's .proto Edit Silently Breaks Binary Compatibility: Gating Wire Compat with buf breaking

When an agent edits your .proto files, the text can look perfect while wire compatibility quietly breaks. Here is how to stop field-number reuse and unsafe type changes with a working gate built from buf breaking and reserved.

⟐ Editor View/2026-07-09Advanced

Antigravity DevContainer: A Complete Setup Guide for Reproducible AI Development

An end-to-end guide to running Antigravity inside a DevContainer — Docker setup, Ollama integration, secrets, volume persistence, team distribution, and CI parity.

⬡ Integrations/2026-07-09Advanced

Calling Local LLMs from Antigravity — Ollama and LM Studio Integration in Practice

Running local LLMs from Antigravity via Ollama or LM Studio: a real benchmark harness, how to confirm the model is actually on the GPU, a monthly breakeven model, and a wrapper that forces JSON output.

⟐ Editor View/2026-07-09Beginner

Localizing Antigravity 2.0 to Japanese — The Three-Layer Setup for Menus, Commands, and AI Responses

Menus in Japanese but chat replies still in English? Or the UI flips back after an update? Antigravity 2.0 localization is three separate settings: the language pack, the command palette, and the AI response language. Here is the order I check them in, and where to keep each one so it stays put.