◉ANTIGRAVITY LABJP
TAG

antigravity-cli

16 articles
← Back to all tags
Related:
automation9antigravity7agents5migration3bash2hooks2troubleshooting2security2ci-cd2gemini-cli2ci2headless1
◈ Agents/2026-10-30Beginner

I moved the stop conditions for a nightly Antigravity CLI run outside the CLI

A wrapper that gives a nightly agy -p run three outer stop conditions: time, output size and overlap. Seven endings tested with fake agy scripts showed a timeout exiting with 137, and a leftover process holding the lock so every night was skipped. Includes a morning triage table.

◈ Agents/2026-10-21Intermediate

Hooks Load but Never Run — Isolating the Antigravity CLI 1.2.x Report with a Three-Line Canary

A reported problem in Antigravity CLI 1.2.1 and 1.2.2: hooks load and show up in /hooks, yet no hook process ever starts. Here is a three-line canary setup that tells a config mistake apart from an executor problem.

✦ Tips/2026-08-31Beginner

One Argument Now Switches Your Model in Antigravity CLI — and Rewrites Your Default Too

In CLI v1.1.22, /model takes an argument, switches instantly, and saves that model as your default in the same stroke. Here is the forget-to-switch-back trap that comes with it, and the start-of-session habit that fixed it for me.

⚙ AI Tools/2026-08-28Intermediate

Three things I had to fix before my status line could tell me what a session cost

Getting real session cost into a custom Antigravity CLI status line took three fixes: how the script reads stdin, how to tell whether your build sends a cost field, and how to keep a usage ledger that does not double-count.

◉ Antigravity/2026-08-26Intermediate

Redrawing Your Workspace Boundary Now That Review Mode Auto-Approves Reads

Antigravity CLI 1.1.20 made in-workspace reads auto-approved in review mode. Here is what I found when I actually counted what became readable across two real working trees.

✦ Tips/2026-08-21Beginner

The pipe in my wrapper was swallowing Antigravity CLI's exit code

CLI 1.1.14 surfaces language server failures as a non-zero exit. That improvement never reaches you if your automation wrapper drops the exit code first. I ran sixteen calling patterns on bash 5.1 and recorded which ones make the failure disappear, plus the fixes that bring it back.

◈ Agents/2026-08-21Intermediate

Why I Check Description Overlap Before Turning On inheritCustomizations

CLI 1.1.14 collapsed markdown agent inheritance into a single inheritCustomizations switch. Here is what happened when I actually inventoried the 47 skills in my workspace and decided the switch on description overlap rather than on context size.

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

◈ Agents/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.

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

◉ Antigravity/2026-06-16Advanced

When Your Agent Got 4x Faster: Rebuilding the Parallel Pipeline

When the Antigravity CLI moves to a faster model, the bottleneck in your parallel agent pipeline shifts. Here is a practical way to rethink verification, task granularity, concurrency, and cost caps with speed as the new baseline.