◉ANTIGRAVITY LABJP
ARTICLES

All Articles

All (1085)◉ Antigravity Basics (161)⟐ Editor View (82)◈ Agents & Manager (280)⬡ Integrations (143)▣ App Development (237)⚙ AI Tools (74)✦ Tips & Best Practices (108)
⬡ Integrations/2026-06-28Advanced

Where to Start Reading an Unattended Agent's Changes — A Digest for Re-Entry

How do you review the pile of changes an unattended agent left overnight? Not the full diff, not the chat log — a re-entry digest built from rule-based risk classification, per-agent review markers, and a 30-second verification pass.

⬡ 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.

⬡ Integrations/2026-06-26Advanced

Designing MCP Tool Output So It Doesn't Flood Your Agent's Context

When a custom MCP server returns large results in one shot, your Antigravity agent quietly degrades. Field projection, pagination, resource_link, and an output budget keep context from overflowing — shown with concrete TypeScript and measured numbers.

⬡ Integrations/2026-06-25Advanced

A Translated Line Had Quietly Reverted to English — Guarding String Resources an Agent's Refactor Touched

Let an agent tidy your values folder and translated strings can silently revert to the source text. Here is a design and implementation that treats the default locale as the source of truth, reads every other locale as a diff, and blocks only dropped keys, reverted translations, and broken format arguments at pre-commit.

⬡ Integrations/2026-06-22Advanced

Scope the MCP Tools You Hand an Agent: A Least-Privilege Allowlist Design

As you add MCP servers to Antigravity 2.0, the set of tools every agent can reach quietly grows into an all-you-can-eat buffet. An agent that only needs to read files seeing delete and deploy tools is an accident waiting to happen. This walks through a least-privilege design that scopes tools per agent role, denies at call time, and gates destructive operations behind a second step, with working Python and field notes.

⬡ Integrations/2026-06-21Advanced

Piping Antigravity CLI's JSON Lines Output Into My Own Script — Notes on Partial Lines and Exit Codes

Feeding Antigravity CLI's machine-readable JSON Lines output into my own script broke with JSONDecodeError roughly one run in three. Here are the three traps — partial lines, exit codes, and stderr bleed — and the line-buffered consumer that finally made it stable.

⬡ Integrations/2026-06-19Intermediate

From Gemini CLI to Antigravity CLI: Migrating Without Stopping Your Automation

Gemini CLI has been retired and the Go-rewritten Antigravity CLI is now its successor. If you have the CLI wired into CI or scheduled jobs, swapping everything at once will break your automation. Here is a concrete plan for migrating gradually, from parallel testing to full cutover.

⬡ Integrations/2026-06-19Intermediate

Running Antigravity CLI Unattended: Notify Only on Real Failures

A small wrapper for scheduled Antigravity CLI runs that stays silent on success and alerts you only on failures a human needs to act on, covering exit codes, transient-error triage, and duplicate suppression.

⬡ Integrations/2026-06-18Advanced

On Cutover Day to the Antigravity CLI, Verify Production Automation by Side-Effect Equivalence, Not Output

On the day you switch from the Gemini CLI to the Antigravity CLI, verify production automation by the equivalence of side effects — files written, commits, network calls — instead of matching stdout. A sandbox parallel run and a go/no-go cutover gate, with implementation steps.

⬡ Integrations/2026-06-18Intermediate

Gating Your Agent's Commits With pre-commit — Keeping Broken Changes Out of the Main Repo

How to wire up a pre-commit gate that lints, type-checks, runs fast tests, and scans for secrets the moment Antigravity's agent commits — with measured timings and the ordering that keeps it fast.

⬡ Integrations/2026-06-17Intermediate

When the Antigravity CLI Stalls on a 401 During Unattended Runs

If your scheduled Antigravity CLI job suddenly stops producing output after a single 401 in the logs, here is how to separate an expired token from a silent re-login prompt and rebuild your unattended setup.