ANTIGRAVITY LABJP
TAG

CLI

13 articles
Back to all tags
Related:
automation7antigravity7Antigravity5agents2tips2sdk2hooks1troubleshooting1Automation1Operations1Scheduled Jobs1MCP1
Editor/2026-08-13Intermediate

2.6.0 Changed How Hooks Wait. A Triage Order for Turns That Never Finish

When an agent turn never finishes, the cause is often a hook you wrote rather than the model. Here is what changed in IDE 2.6.0, an audit script that finds hooks capable of stalling a turn, and how to give a hook its own cutoff.

Antigravity/2026-08-10Advanced

Guarding the Turn Boundary in Non-Interactive Runs: A Command Table and a Fail-Closed Gate

A scheduled job meant only to record usage was calling the model on every run. Here is how I split commands into ones that start a turn and ones that do not, built a gate that refuses anything unclassified, and measured it against real scripts.

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

Agents/2026-07-01Advanced

It Worked Interactively but Went Silent Overnight — Making an Antigravity Agent Behave the Same in the Desktop and the CLI

An agent that runs perfectly in the Antigravity desktop app but does nothing when you schedule it through the CLI. This walks through absorbing the gap between interactive and unattended runs across four points — approvals, context, secrets, and runtime — with working code and a preflight check, so one definition behaves identically on both.

Tips/2026-06-28Advanced

Confirm Your Unattended Runs Survived a Point Release in 30 Seconds

As Antigravity ships point releases at a fast clip, how do you stop scheduled runs from quietly breaking after an update? Here is a lightweight smoke test that detects regressions against a golden output and rolls back automatically when it diverges.

Antigravity/2026-06-24Intermediate

Antigravity 2.0, CLI, IDE, SDK — Weaving All Four Surfaces Through a Real Project

Antigravity ships as a desktop app, a CLI, an IDE, and a Python SDK. Beyond picking one, this guide shows how to weave all four across a single project — with a headless-execution wrapper for automation, plus the cost and migration traps to sidestep.

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.

Tips/2026-06-20Intermediate

Keeping Scheduled Runs Reproducible: Pinning the Antigravity CLI Version to Tame Behavior Drift

The Go-based Antigravity CLI is now available to everyone, and updates are landing at a quick pace. When a CLI baked into your automation upgrades underneath you, a single morning's job can behave differently. Here is how I keep things reproducible — pinning the binary, recording its identity in each run's log, and rolling upgrades forward one job at a time — drawn from running four sites on an overnight schedule.

Antigravity/2026-06-19Advanced

When CLI, Desktop, and SDK Share One Agent Harness: Designing for Consistent Behavior

Now that Antigravity's CLI, desktop, and SDK share one agent harness, here is how to separate what stays consistent from what differs by environment, and how to align behavior with smoke tests and a version-tracking habit.

Tips/2026-06-16Advanced

Measuring the Go-Based Antigravity CLI's Responsiveness to Rethink My Nightly Batch

The Antigravity CLI was reimplemented in Go, and startup and first-response feel different now. I measure startup, time-to-first-token, and throughput as three separate intervals, then use those numbers to move my nightly batch from serial to parallel.

Agents/2026-06-16Advanced

Bundling Nightly Tasks With agy Async Jobs — A fan-out, poll, join Design

The Go-based Antigravity CLI (agy) can detach jobs and run them asynchronously. Here is a fan-out, poll, join design for firing many long-running tasks at once, collecting their job IDs, and waiting for completion — drawn from an actual nightly batch.

Antigravity/2026-06-15Intermediate

Matching Antigravity 2.0's Three Layers to Development Phases: Explore, Iterate, Operate

How I assign Antigravity 2.0's desktop, CLI, and SDK to development phases instead of features, with concrete handoff patterns between layers and the production pitfalls I hit.