Contents

Google Antigravity Best Practices

If your daily workflow already spans Claude Code, Codex, or GitHub Copilot CLI, coding agents have clearly shifted from single-model completion toward multi-model handoffs, remote isolated execution, and visual verification. In mid-to-late November 2026, Google shipped three closely spaced updates: Antigravity v2.33.0 (November 17) added SSH remote 64-bit Linux hosts, live GitHub PR views, and in-browser search; Gemini 4 Neon launched on November 18; and v2.34.0 (November 20) expanded Orchestrator availability.

Getting real leverage out of Antigravity hinges on two details that are easy to miss: the 512K workspace context cap versus direct API limits, and plan-specific entitlements for Orchestrator and /swarm (see Antigravity Models and Dynamic Workflows).

Gemini 4 Tiers and Context Limits

The Gemini 4 family includes multiple models (such as Argon), while day-to-day Antigravity coding primarily compares Carbon, Neon, and Hydrogen:

Model Role Antigravity Workspace Limits & Thinking Controls Best-Fit Workloads
Gemini 4 Carbon Deep long-horizon reasoning & audits Deep reasoning tier Cross-subsystem root-cause analysis (RCA), security audits, large architectural reviews
Gemini 4 Neon (gemini-4-neon) Primary coding and reasoning tier Up to 512K in Antigravity; UI offers Low, Medium, High (default), Extra (xhigh in CLI) Everyday feature delivery, non-trivial bug triage, code review
Gemini 4 Hydrogen Fast, low-latency executor Fast execution profile Mechanical multi-file edits, dependency bumps, unit test generation, executor handoffs

Watch the entry-point context difference before loading large repositories: Antigravity publishes a 512K upper limit for Neon, whereas calling the model directly via the API (see Google Cloud Gemini 4 Neon Guide) provides 1,048,576 tokens shared across input and output (including thinking, tool calls, and final response). For cross-vendor reasoning budgets, see Adaptive Thinking and Tiered Model Routing.

Orchestrator Mode: Planner-Executor Handoffs and Plan Rules

Medium-sized tasks previously required manual model switching—planning with a deeper reasoning model, dropping to a fast model for edits and tests, then switching back for review. Orchestrator handles that planner-to-executor handoff inside one session:

flowchart LR Task["Feature / Complex Bug"] --> Planner["Planner (Neon, or Carbon High on Enterprise)"] Planner -->|"Plan & Constraints"| Executor["Executor (Hydrogen)"] Executor -->|"Blocked / Needs Design Call"| Planner Executor -->|"Diff & Test Output"| Planner Planner -->|"Review & Sign-Off"| Done["Merge-Ready Change"]

Keeping routine edit logs inside the executor keeps the planner’s context focused, while allowing the executor to hand control back whenever it hits an unexpected design decision or failing test.

Check plan entitlements carefully before standardizing on a pairing (see Antigravity Models Footnotes and the official announcement):

  • Orchestrator (Neon) (Neon planner + Hydrogen executor): Available on Ultra and eligible Pro plans (Pro trials carry device limits); standard Free and Plus tiers do not include it.
  • Enterprise Orchestrator pairing: Enterprise Orchestrator is currently fixed to Carbon High + Hydrogen High. Having standalone Neon access on Enterprise does not make Neon selectable as the Enterprise Orchestrator planner.

Decide when to turn on Orchestrator based on coupling, execution duration, and verification cost rather than a rigid file count (treating “3+ files” only as an illustrative example). For a localized single-function change, running Neon directly is usually snappier.

Scaling Parallel Work with /swarm

When work genuinely splits into independent tracks—such as cross-service migrations or decoupled frontend/backend work—move from a single Orchestrator session to /swarm (see Dynamic Workflows):

flowchart LR Coord["Coordinator (Carbon / Neon)"] --> W1["Worker 1 (Worktree · Module A)"] Coord --> W2["Worker 2 (Worktree · Module B)"] W1 --> Verify["Converged Build & Integration Tests"] W2 --> Verify

Note the governance boundary: while v2.33.0 expanded /swarm and UI plugin panels to business and enterprise accounts, availability remains gated by organization admin toggles rather than being enabled automatically for every enterprise tenant.

The core coordination discipline mirrors Multi-Agent Systems Guide: partition ownership by directory or contract, prevent concurrent edits to shared core types, and run a single converged build and integration check after branches merge. Tightly coupled refactors inside one state machine belong in a single Orchestrator session instead of a swarm.

SSH Remote Hosts, Built-in Browser, and GitHub PR Loop

Version 2.33.0 links lightweight local editing with remote compute and visual verification:

  • SSH remote 64-bit Linux hosts: Reuse ~/.ssh/config so repositories, Git worktrees, terminals, and agent commands run on a remote 64-bit Linux workstation or cloud box—useful for memory-heavy Go, Rust, or container builds.
  • Built-in browser verification: Agents can open local dev servers, click through UI flows, and inspect console output directly inside the integrated browser (with Cmd/Ctrl+F in-page search added in v2.33.0).
  • Native GitHub PR integration: Live PR status pills, hover cards, and an Overview Pull Requests section keep CI status and review iterations in one workspace.
  • Side-questions with /btw: Ask quick questions without cluttering the main thread, and insert useful findings back into the main conversation when needed.

Practical Checklist and Common Pitfalls

  • Invest in fast deterministic checks first: Agent delivery quality tracks the speed and reliability of your single-file tests, linters, and type checks (see Harness Engineering).
  • Keep SSH hosts isolated from production: Never connect an agent session to a production server or jump box with live database write credentials; dedicate a clean dev host or sandboxed container.
  • Match thinking depth to task complexity: Dropping to Low or delegating trivial styling and scaffolding to Hydrogen avoids unnecessary reasoning wait time; benchmark actual speed and cost gains on your own repository tasks.
  • Own the final diff review: Passing tests and clean browser checks confirm surface behavior, not data-model soundness or security invariants—humans still own merge sign-off.

References