From Gemini 4 Frontier Models to Antigravity 2.x Autonomous Swarms
The independent production manual for the Antigravity 2.x stack: Gemini 4 model pricing, the agy command-line interface, sidecar MCP protocols, and Gemini Omni / Veo video generation.
agy is the terminal CLI of Google Antigravity — the agentic coding engine behind Antigravity 2.x. Run headless tasks with agy -p "<prompt>", resume work with agy -c, and control reasoning with --effort / --mode.
All verified commands → agy CLI guide →
[AGY-Core] 🔍 Discovered 12 workspace files; ingested `rules/security.md`...
[Dispatcher] ⚡ Dispatched Subagent `test-runner` to baseline current test suite...
[Agent] 📝 Updated `src/auth.ts` (JWT verification algorithm updated, replay-attack defenses added)
[Verification] ✅ npm test: all specs green in this illustrative flow (demo output, not a measured run)
[AGY] ✨ Objective achieved autonomously with verified end-to-end tests.
System Topology & Mechanics
Antigravity 2.x Cross-Surface Engine Architecture
Click any component node in the topology below to inspect the shared agent harness, the four surfaces, verification artifacts, skills & MCP extensibility, and asynchronous subagents.
Shared Agent Harness & Orchestrator
One shared agent harness powers every surface. The Orchestrator plans a task with one model and executes it with another; which models are available depends on your plan, and reasoning effort is adjustable per turn.
Underlying Mechanics
- ▸Orchestrator: by default Gemini 4 Neon plans and Hydrogen executes
- ▸Model picker: Gemini 4 Neon / Carbon / Hydrogen, Gemini 3.x Flash, Gemini 3.1 Pro, Claude Opus & Sonnet 5.5
- ▸Reasoning effort adjustable per turn (agy --effort low | medium | high)
- ▸MCP clients and lifecycle hooks extend the harness (see the Extensibility lane)
agy -p "Audit SQL queries & JWT auth for replay attacks" --effort high
Interactive Engineering Suite
Calculators, MCP Catalogs & Scaffolding
Industrial-grade toolchains designed for AI developers: benchmark token budgets, export MCP servers, and scaffold customization files.
Gemini 4 Cost Calculator
Arithmetic token pricing with prompt-cache discounts across 11 models — including the Gemini 4 family, Gemini 3.8 / 3 Flash, Claude Opus & Sonnet 5.5, and GPT-6.2 Sol — pricing verified 2026-12-05.
Sidecar MCP Directory
Curated sidecars: ActKite Chrome automation, Cua-Driver GUI, Brave search, and PostgreSQL. Export configs for Antigravity 2.x, Cursor, and Claude.
Skill & Rule Generator
Visually build Antigravity 2.x-compliant SKILL.md and GEMINI.md artifacts. Instant YAML validation and one-click export.
Command Cheatsheet
Instant search and copy for Antigravity 2.x orchestration, Gemini 4 CLI pipelines, Sidecar MCP debugging, and CI/CD testing gates.
Core Modules
Systematic Documentation & Field Guides
Spanning foundation model selections, low-level engine protocols, coding agent benchmarks, and multimodal video generation.
Antigravity 2.x Engine & Platform
Google’s agentic coding platform: one shared agent harness across the app, CLI and IDE extensions, visual diffs and plan inspection, and asynchronous subagents in isolated Git worktrees.
Gemini 4 Matrix & Terminal Workflows
Covering Gemini 4 Carbon and Argon architectures, macOS/Linux/Windows cross-platform CLI setups, and production IDE pairing in VS Code and Cursor.
Coding Agents Matrix
Antigravity 2.x (Gemini 4 Carbon) vs Claude Code vs Cursor vs Windsurf: Measuring terminal autonomy, cross-surface sync, and automated error remediation.
Gemini Omni & Veo 3.1 Video Guide
Director-level camera trajectories (FPV chases, 360° orbits, slow push-ins) and production lighting formulas for generative video.