These docs track main. Latest release: v1.2.0.

antigravity-booster
Concepts

Overview

Four layers, control flow vs judgment

agb drives Google Antigravity (agy) through large, parallel build-outs. One rule shapes the design: control flow is code, judgment is models. The scheduler, pool router, sandbox, merge lock and every pass/fail gate are deterministic Node.js. Models are only asked to do the parts that need judgment: converting a plan into tickets, building a ticket, interrogating a plan, and prosecuting a diff. The scheduler header states the rule as "ADLC D0: control flow is code, judgment is models" (lib/scheduler.mjs).

The four layers

LayerWhat it doesDeterministic partsModel parts
Configuration rootagb bootstrap installs the companion plugin, skills and the agb shim; the PreToolUse policy hook guards in-session editsPlugin handshake, policy guard—
Orchestration engineagb run schedules tickets as their predecessors merge, routes each to a pool, builds, gates, prosecutes and mergesScheduler, pools, sandbox, rails-guard, mergeBuilder, prosecutor
Agent-driven orchestrationAn Antigravity session drives agb through the slash commands and the MCP server (agb_plan, agb_run, agb_status, ...)Same engineThe session agent
Plan compileragb plan compiles a brain plan or spec.md into a gated plan.jsonSchema, DAG and scope-overlap validationConversion, coldstart, parallax, premortem

Ticket lifecycle

The scheduler moves each ticket through pending → building → gating → prosecuting → [fixing → gating → prosecuting] → merging → merged | failed (lib/scheduler.mjs). A ticket becomes ready the moment its edge predecessors merge, so there are no wave barriers. A ticket gets one regeneration with its failure context; a second failure fails the ticket, because at that point the ticket is wrong, not the agent.

Where to go next

On this page