◉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)
◈ Agents & Manager/2026-06-03Advanced

Choosing the Right Granularity for an Agent's Tools — Bundle or Split?

Should you split an agent's tools finely or bundle them coarsely? A single decision rule, an intentionally asymmetric two-tier design for destructive actions, and real numbers from running six apps.

◈ Agents & Manager/2026-06-03Advanced

Delegate the Undoable, Guard the Irreversible — Tiering Agent Autonomy by Reversibility

When you hand production work to an Antigravity agent, the thing that bites first isn't intelligence — it's whether the operation can be undone. Here is a design that sorts every operation into three reversibility tiers and routes each to auto-execution, checkpointed execution, or a human gate, with TypeScript implementations and real numbers from running six apps in parallel.

◈ Agents & Manager/2026-06-02Advanced

Keeping Secrets Out of Your Antigravity Agent's Output: Layered Defenses for Logs, Diffs, and PR Bodies

The three paths through which background agents leak secrets, and how to defend commit diffs, execution logs, and PR bodies with layered protection, drawn from running six apps and measured false-positive rates.

◈ Agents & Manager/2026-06-02Intermediate

Teaching Antigravity's Agent to Keep Diffs Small: How a Month Changed the Way I Review

When an agent hands you one giant diff, a solo developer's review can't keep up. After a month of asking Antigravity to break work into small steps first, here's how the experience of reviewing changed — with the exact instructions I now use.

◈ Agents & Manager/2026-06-02Advanced

Rehearsing an Agent's Actions Before They Touch Production — Designing a Zero-Side-Effect Dry-Run Layer

Some accidents survive shadow mode and canaries: the very first time an agent touches an external API. This is the design and TypeScript implementation of a zero-side-effect dry-run layer you can bolt onto Antigravity's parallel agents, with the real numbers from running six sites autonomously.

◈ Agents & Manager/2026-06-01Advanced

Capping Parallel Agents With a Token Budget — Designing a Guard That Stops Runaway Cost

Running many agents in parallel quietly inflates your token bill. This is not about shrinking prompts — it is about a governance layer that meters spend in real time and cuts it off at a budget. Full design and TypeScript implementation, drawn from my own overnight jobs.

◈ Agents & Manager/2026-06-01Advanced

Rolling Back a Half-Finished Agent: Compensating Transactions for Partial Failure

When you let an Antigravity agent run work that spans several external systems, a failure in the middle leaves the world half-rewritten. Retrying doesn't fix that. Here is how to fold it back safely with compensating transactions (the Saga pattern), with TypeScript and real operational numbers.

◈ Agents & Manager/2026-05-31Advanced

Flow Control for Autonomous Agents: Backpressure and Queues That Keep Production Alive

Run several Antigravity agents at once and the problem stops being how smart they are and becomes how little your downstream can absorb. Here is a flow-control design — bounded queue, semaphore, token bucket, backpressure, dead-letter — with TypeScript and real numbers.

◈ Agents & Manager/2026-05-30Beginner

When the Antigravity Agent Says 'command not found' for node or python: Causes and Fixes

It works in your own terminal, but the Antigravity agent hits command not found. Starting from how PATH inheritance works, here are concrete fixes for nvm, pyenv, Homebrew, and WSL setups—plus how to confirm the fix actually took.

◈ Agents & Manager/2026-05-30Advanced

Build for the Day the Agent Breaks Something: Keeping Blast Radius Small

Once you let an Antigravity agent touch production, the problem stops being how smart it is and becomes how much it wrecks when it slips. Here is a four-layer containment design that shrinks blast radius, with TypeScript and real numbers.

◈ Agents & Manager/2026-05-29Advanced

Designing a Negative Spec for Antigravity Agents — The Forbidden-Territory List I Use Across 50M-Download Apps

Hand your Antigravity agents a list of things they must never touch — not just what they should do. Here is the FORBIDDEN.md template, subagent bootstrap, and reinjection script I run across 6 indie apps and 50M downloads.

◈ Agents & Manager/2026-05-29Advanced

Supervising Long-Running Antigravity Agents — Watchdog and Tiered Recovery

Eight weeks of running AdMob revenue optimization on Antigravity background agents revealed three quiet failure modes. Here is the watchdog plus tiered recovery design I landed on.