Antigravity platform and worker parity
Status: Ready
Truth label: Limited
Audience: Fleet operator
Reader outcome: Audit two Antigravity installations for parity and compare the same task across them.
Last verified: 2026-09-13
This workflow separates configuration comparison, execution checks and operator quality judgments. Matching files and successful synthetic tests do not establish equivalent IDE quality. Source and CLI behavior were checked on 2026-09-09.
Audit each installation
Run the standard-library utility from the repository root on each host:
python3 scripts/agy_parity.py audit --probe-cli > agy-local.json
It records Markdown hashes with normalized line endings, repository controls,
modern and legacy rule/skill directories, supporting skill-file hashes, selected
settings and MCP server names/enabled state. The optional CLI probe runs only
--version and models. It does not start an agent. Credentials, hook commands,
MCP environment values and document contents are not included in the report.
For an IDE profile, choose its actual home and, when known, settings file:
python3 scripts/agy_parity.py audit --surface ide --home /path/to/ide-home > agy-ide.json
python3 scripts/agy_parity.py compare agy-ide.json agy-local.json
Compare exits 1 when observed inventories differ, 0 when they match and 2 for an
invalid input. A match can include two absent or uninspected entries. The result
always says runtime parity is unmeasured. IDE settings need an explicit
--settings path. Plugin-provided capabilities, hooks, actual loaded rules,
conversation memory and tool reachability still need runtime inspection. A CLI
probe describes the current process's installation, so it cannot be combined
with another home or the IDE surface.
Keep one reviewed source of global guidance. Install it on a host with:
python3 scripts/agy_parity.py sync-rules --source /path/to/reviewed/gemini-rules-file
The command copies only that file to the current home. It leaves a matching copy
alone and refuses a differing copy unless --replace is supplied. Replacement
retains a separate backup. Review differences before replacing host-specific
guidance. It does not synchronize credentials or modify other agent settings.
Google documents global rules in the Gemini rules file under the home directory's .gemini folder and workspace rules under
.agents/rules, with legacy .agent/rules support. See rules.
The documented global skill directories differ between the
IDE and
CLI. Check discovery with a task;
the inventory alone does not prove either implementation loaded a file.
Compare the same task
Create a separate fixture for each interface. Existing directories are refused:
python3 scripts/agy_parity.py prepare-fixture --directory /tmp/agy-case-ide
python3 scripts/agy_parity.py prepare-fixture --directory /tmp/agy-case-cli
Each contains a deliberately broken quantity parser, an independent checker,
root memory files, a marker file and a native parity-probe skill. Start a fresh
conversation, select the same exact model and effort, and submit the task file.
Run python3 checks.py independently afterward and verify the checker was not
edited. The fixture supports a first protocol comparison, not a quality claim.
Also test reading fixture-token.txt, invoking /parity-probe, asking in plain
language to use the same skill, and resuming a conversation to recall its marker.
Record actual tool calls and results. On CLI 1.1.28, a folder containing
a skill instruction file expanded directly; a flat markdown skill required agent file inspection.
With slash expansion disabled, plain-language skill selection still read
the skill instruction file and returned its marker. These observations do not prove every skill
or plugin behaves identically.
For the automated native/worker check, use the repository environment:
AA_RUN_AGY_SMOKE=1 AA_AGY_SMOKE_MODEL=gemini-3.8-flash-medium \
AA_AGY_SMOKE_EFFORT=medium .venv-linux/bin/python -m pytest tests/test_agy_live.py -q
This opt-in test makes real AGY model calls in isolated synthetic workspaces.
Normal tests skip it. It checks native and Forge execution against the same
checker, preserves the checker's hash, inspects reported model/workspace, and
verifies an invalid model fails. On Windows use the repository's Windows Python
and set the variables through the shell; the checker is invoked through the
test interpreter. The task text uses python3; adapt that command consistently
in both comparisons when the host exposes Python under another name.
Then repeat the comparison with actual operator tasks, independent starting snapshots and fresh conversations. Record acceptance, defects, omitted work, scope violations, editing effort, interventions, duration and reported usage. Compare IDE to interactive CLI, CLI across hosts, direct headless to interactive CLI, and Forge to direct headless. Record IDE-only tool gaps explicitly. Repeat each task before attributing a quality difference to one setting.
Worker behavior
AGY now receives explicit model IDs intact. Its native validation rejects unknown selections. The offline and live model catalogues include AGY's Claude and GPT-OSS choices. Other CLI engines retain their existing model handling.
When AGY is selected and the model is omitted, task creation uses the CLI default instead of the generic intake schema's Ollama model. A task assigned to AGY later receives the same correction only when its retained creation record proves the model was a system default and execution settings remain unedited. Explicit, operator, project and template selections are preserved. Older tasks without that provenance retain their requested model; review any invalid selection through the existing task execution controls.
New AGY runs use stream-json. Progress renders init, step_update and
result events. The result parser accepts both streams and older final JSON.
A missing final result fails; an interrupted stream can still retain its
conversation ID for retry. Success requires the CLI's successful final status,
zero exit and the existing independent worker verification. Raw events remain
in the existing private trace artifacts. Google's headless contract
documents these events and conversation continuation.
Set a task verification command for a behavior check. Without one, the existing worker falls back to Git whitespace checks or reported-path containment. Those fallbacks do not establish task correctness.
Attempt metadata retains CLI version, the observed global-rules hash, slash-expansion setting and reported init configuration when available. Exact prompt artifacts include effort and resume identity. An absent init model is unknown. The CLI's reported model is not independent proof of served weights. The rules hash describes a file observed before dispatch, not proof of loading.
Budget profiles follow the explicitly selected model family: Gemini uses Google profiles, Claude uses Anthropic profiles, and AGY-hosted GPT-OSS uses OpenAI profiles. This is an operator budget namespace, not authentication, billing transport or a claim about a provider API's context capacity. Unknown explicit families use provider-wildcard profiles. An unspecified model retains the Google wildcard-model behavior. Cortex preview and worker allocation use the same resolution. Configure a verified budget for each exact AGY model when its limits differ from another route. Brain's provider calls and embeddings keep their existing routes.
Keep the current tested timeout, directory mount and permission mappings.
Write runs keep slash expansion disabled; native skill discovery still worked
in the recorded check. plan is a planning instruction, not an enforced
filesystem boundary. Google separates execution modes
from tool permissions.
Replace a workaround only after its replacement passes live read, write,
verification and scope checks on each supported host.
Recorded WSL evidence, 2026-09-09
The Windows home had global Gemini rules guidance that the WSL home lacked.
The reviewed Windows file was copied to the absent WSL location. Their
normalized SHA-256 digests now match:
a164eff3f26a2a02c958c358262423cf0f84ce0534114aa096ae529705930339.
No existing file was replaced. IDE effective settings remain uninspected.
With CLI 1.1.28, gemini-3.8-flash-medium and effort medium, both native
headless and Forge repaired separate copies of the failing fixture. Each
preserved the independent checker and passed it afterward. Both reported the
requested model and fixture directory. Forge retained streamed tool progress,
the final result, rule-file identity and successful command verification.
The separate invalid-model check failed visibly as intended. The opt-in suite
passed both tests. These runs verify the protocol and this synthetic task,
not IDE quality or broader model performance.
An earlier live run showed that a host virtual environment outside the fixture
was unavailable inside AGY's terminal sandbox. The fixture now uses python3
for both routes. Real projects still need verification that their required
interpreter, dependencies and tools are reachable inside the native sandbox.
Remaining parity evidence
- Record the exact IDE product/version, selected model/effort and loaded capabilities.
- Run the same fixtures on Windows IDE and macOS; current live evidence is WSL only.
- Compare real operator tasks repeatedly before claiming quality parity.
- Add explicit native agent selection and broader profile management if the
baseline demonstrates they are required. The current worker can retain an
agent reported by AGY but does not expose a separate
--agenttask setting. - Test alternative permission policies, prompt simplification and further skill packaging independently. No shared prompt redesign ships in this slice.
Unit coverage lives in tests/test_agy_parity.py,
tests/test_executors_antigravity.py, tests/test_engine_models.py and
tests/test_worker_prompt_budget.py. The sanitized stream fixture was captured
from CLI 1.1.28 on WSL; its workspace and conversation identity were replaced.
The implementation's full working-tree suite passed 1543 tests with 26 skips. The two opt-in live checks passed separately. Targeted lint and new shared executor lines passed; that shared file retains 15 existing long-line findings. No services were restarted as part of these checks.