◉ANTIGRAVITY LABJP
⬡ Integrations

Integrations

Connecting Antigravity to external tools — MCP servers, GitHub, Cloudflare, Figma, Stripe, and wiring AI agents into CI/CD pipelines.

2026-11-21Intermediate

Moving Your Antigravity Setup from Zed to VS Code, JetBrains, or Xcode: The Three Places You Can't Just Copy

When you move an agy acp registration from Zed to VS Code, a JetBrains IDE, or Xcode, three things change: the config key, the command path, and authentication plus available models. Here is the diff from the official docs and a small script that converts your Zed settings.

2026-11-19Intermediate

When an Agent Says the Integration Is Done: Checking a Claims List With a Small Verifier

An agent can report that an integration task is finished while the real files, commits, and served responses lag behind. Here is how I have the agent write its report as a claims.json, then check each claim with a separate script: files, commits, commands, and live endpoints, with working code.

2026-11-06Intermediate

Moving Conductor From a Gemini CLI Extension to an Antigravity CLI Plugin: Leave spec.md and plan.md Alone, Compare Before and After

Conductor is now a plugin instead of a Gemini CLI extension, and it runs in Antigravity CLI too. Your spec.md and plan.md files don't need to move; here is a small script and a short routine to prove nothing changed when you install it.

2026-11-03Beginner

Turning a Spreadsheet Chore into Apps Script: The First Request a Non-Engineer Can Hand to Antigravity

For non-engineers who want a weekly copy-and-paste routine handled by Apps Script: how to word the request to Antigravity, a script with a dry-run switch and a lock, when a FILTER formula is enough, why triggers drift within the hour, and a table for sorting out failures.

2026-11-02Intermediate

Three things to check on a Marketplace partner plugin's page before you install it

Antigravity 2.28.2 put partner plugins into the Marketplace. Here is how I split the decision: check the developer and repository before installing, then manage the connection from the Accounts tab afterward, plus a short command to see whether a repository is still maintained.

2026-10-26Intermediate

I Stopped Embedding the Token in the Remote URL. An Old Clone's .git/config Had It Sitting There, Readable by Anyone

How to audit unattended git jobs for tokens embedded in the remote URL and move them to http.extraheader. Full text of three scripts plus the real output from before and after the migration.

2026-10-22Intermediate

The Project-Local mcp_config.json Is Read, but No MCP Server Starts — Checking With a One-File Probe

Antigravity CLI logs that it is using a project-local config, yet the MCP servers in it never start. Where the official issue stands (still open as of November 2026), what that log line does and does not promise, a tiny probe server to check your own setup, a table for telling similar symptoms apart, and realistic ways to keep MCP servers per project.

2026-10-22Intermediate

Turning a Page With No Declared Charset Into UTF-8 Before the Agent Reads It

A report says ReadURL can end an agent run with a UnicodeDecodeError. Here is a standard-library Python script that detects the charset and hands the agent clean UTF-8, plus the five gaps my first version had (BOM, Shift_JIS vendor characters, line breaks) and a triage table.

2026-10-19Beginner

Connecting GitHub MCP to Antigravity CLI: The Fix Was One Word, url to serverUrl

To use GitHub MCP from Antigravity CLI, the url key in your config has to become serverUrl. Based on the official MCP docs, here are the remote and Docker setups, a small script that checks the file before you load it, where to keep the token, and the order to debug in.

2026-10-17Beginner

When Antigravity's Browser Agent Stops at the Login Screen: Four Things to Check

The browser agent came back with only a sign-in page. Here are four checks, built on the fact that it runs in a separate Chrome profile, to get its login state sorted.

2026-10-10Intermediate

Figma MCP or Stitch MCP: Choosing by Whether the Screen Already Exists

When you turn a screen into code, which MCP should Antigravity talk to: Figma or Stitch? One question settles it: does the correct screen already exist? Here is the rule I use, a switching routine, and a small script for the days I can't decide.

2026-10-07Intermediate

The October 29 Shutdown Vanished from the Table — Re-Reading the Date, Then Finding Every Image Call in Your Setup

On November 3 the Gemini API deprecations table no longer showed the October 29 shutdown for gemini-3.1-flash-image; the image model with a date now is gemini-2.5-flash-image (March 15, 2027). How I re-read the table, find every image-model call in a repo, and set a cutover date with a way back — with scripts that run.

2026-09-20Intermediate

antigravity-preview-05-2026 shuts down October 5: which setups need more than a string swap

The shutdown date for antigravity-preview-05-2026 is set for October 5, and the official page gives you the date and the successor name, nothing more. If you only read output_text, swapping the string is the whole migration. If you read steps, it is not.

2026-09-18Intermediate

When a session starts with MCP tools missing, where do you stop?

When MCP initialization fails at startup, the agent quietly falls back to other means and keeps going. Here is a small script that asks your servers directly which tools they expose, plus the three branches I decided on in advance for when something is missing.

2026-09-12Intermediate

Antigravity CLI 1.1.28 turns a print-timeout overrun into a successful exit — rechecking unattended runs

Since 1.1.28, an expired --print-timeout returns partial output and exits successfully instead of failing. Fetching an external URL now asks for approval first. Here is how I rebuilt an unattended pipeline that judged everything by the exit code.

2026-09-05Advanced

Pointing GOOGLE_GEMINI_BASE_URL at Your Own Gateway Does Not Change Who Holds the Key

I pointed the Antigravity CLI at a gateway of my own and recorded exactly which credentials travelled with it. Authorization is dropped across a cross-origin redirect, but the API key header survives every hop. Here is the measurement, and how I moved the key off my laptop.

2026-08-22Beginner

Adding MCP Servers Without Opening the Config File: The agy mcp Subcommand

How to register and pause MCP servers with the mcp subcommand added in Antigravity CLI 1.1.16 — plus the global vs. workspace config split, why a token passed as a shell variable still lands in the file, a script that lists what is registered with secrets masked, and a symptom-based triage table (checked against the official docs as of November 2026).

2026-08-22Intermediate

Driving Antigravity CLI with stream-json Input: Where to Split the Conversation

The print mode now accepts --input-format stream-json, letting an external driver hold one session open and feed it jobs one at a time. I measured how much a single conversation carries across 24 jobs, found that a byte budget splits work in the wrong place, and worked out how to choose the split boundary instead.

2026-08-20Beginner

Find the one broken MCP entry before Antigravity starts, with a Node script under 60 lines

A single typo in your MCP settings can take every server down with it. Here is a small preflight script that catches the mistakes statically, the real output from a deliberately broken config, and the duplicate-key trap that JSON hides from you.

2026-08-08Advanced

The MCP Server I Thought I Killed Was Still Holding the Port: 84 Teardown Trials

Closing a session should stop the MCP servers it started. Across 84 trials of four teardown strategies, a process-group SIGTERM left zero orphans — until the child called setsid, at which point it left 100%. Includes a full descendant-sweep implementation.

2026-08-04Advanced

Startup Dropped to 3ms, and the First Turn Saw Zero Tools

Non-blocking MCP loading cut startup from 2,907ms to 3ms. The wait did not disappear — it moved into the first turn. Here is where it went, measured, plus a readiness gate that waits only for what a turn actually needs.

2026-08-03Advanced

I Measured Before Writing a Number: MCP Connect and Tool Calls Differed by 486x

Antigravity 2.4.3 lets you set a timeout per MCP server. To find a defensible number I built a stdio server, measured each boundary separately, and found why a single value cannot cover both.

2026-07-28Advanced

Three Tools Named read_file: Catching MCP Name Collisions Before Startup

Bundle enough MCP servers and tool names collide quietly. Here is what a real 5-server, 21-tool setup measured at 43% collision, plus a Python preflight that catches them before startup and assigns deterministic aliases.

2026-07-19Advanced

When an Unresponsive MCP Server Freezes Your Agent: Separate Timeouts for Connect, List, and Call

Antigravity CLI 1.1.3 closed the case where an unresponsive MCP server stalls an agent forever, by adding timeouts to connect, list-tools, and call-tool. This walks through why the three boundaries fail differently, and builds a defensive wrapper with a circuit breaker and failure-only notifications, backed by working code and a week of overnight runs.

2026-07-19Advanced

The One File That Stops Startup: Guarding config.json Integrity Before Scheduled Runs

Antigravity 2.3.1 fixed a bug where an empty or corrupt config.json blocked startup. The symptom was fixed; the causes of corruption still live in your environment. Here is a three-layer guard — validate, snapshot, restore — that runs before a scheduled job, with working code and notes from running it nightly.

2026-07-18Advanced

Turning Silent Auto-Approvals into Allow Rules, One Soft-Deny at a Time

In Antigravity CLI 1.1.3, headless -p stops silently auto-approving confirmation-required tools and instead soft-denies them, printing the required allow-rule name to stderr. This piece uses that output as a discovery source to build least privilege from an empty allow set upward, with a working harness and real numbers from a personal automation.

2026-07-15Advanced

When an Unattended Run Finds Its Working Folder Owned by Someone Else

A schedule that had been green for weeks failed one morning because it could not write .git/config. The cause was ownership drift on a reused working folder. Here is how to tell apart the read-but-not-write trap, probe writability for real, and fall back to a folder you can always write.

2026-07-13Advanced

Pour Your Unattended Run Logs into SQLite and Count Failures Across Every Run

Running Antigravity CLI on an unattended schedule leaves a growing pile of JSON Lines logs. Instead of grepping files, I pour them into a tiny SQLite database and answer 'which step fails, and when' with a single query. Here is the ingest script, six diagnostic queries, and six weeks of real numbers.

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.

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.

2026-07-08Advanced

Antigravity Now Saves OAuth Tokens to the OS Keyring — Keeping Auth Alive in Headless Runs

In v2.2.1, refreshed OAuth tokens are saved to the OS keyring automatically. Pleasant on the desktop, but on headless scheduled runs the vault itself may not exist and auth quietly breaks. We design explicit backend selection, a safe file fallback, and per-location liveness checks.

2026-07-08Advanced

When Successful Automation Quietly Stops Earning Its Keep: Designing for Value Decay and Retirement

A dashboard full of green success logs often hides the most dangerous kind of failure. Here is a design — with working code — for surfacing automations that keep succeeding while producing no value, and deciding whether to retire, repair, or keep them.

2026-07-07Advanced

The Thumbnails Had Been Drifting: Catching Image-Asset Regressions with pHash and SSIM in Your Agent Workflow

After letting an agent rewrite an image pipeline, visual quality can quietly slip in ways tests never catch. This guide shows how to measure that drift with two numbers — pHash and SSIM — and block it in CI, from threshold calibration to a ready-to-run gate script and Antigravity integration.

2026-07-06Advanced

Semantic Search Over Your Own Codebase with Gemini Embeddings and sqlite-vec: An Incremental Index Keyed on Git Blob Hashes

A build log for semantic search scoped to your own repository, using Gemini embeddings and sqlite-vec. Covers an incremental pipeline that skips re-embedding unchanged files via git blob hashes, with measured index size and query latency.

2026-07-01Advanced

Distribution-Path-Agnostic Antigravity CLI Automation: Betting on Both the Consumer and Google Cloud Editions

The 7/1 announcement began offering the Antigravity CLI via the Gemini Enterprise Agent Platform too. Here is a design that abstracts your personal automation to run on either the consumer or Cloud edition, laid out with a wrapper and capability-detection scripts.

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.

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.

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.

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.

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.

← All Articles