Skip to main content
TRW
Skip to content
TRWAntigravity CLI — Client Guide

Current Google CLI profile

Set up TRW for Antigravity CLI

Register the project MCP server, keep durable guidance in the repository, and expose the TRW roles Antigravity can run without changing your source tree.

Support boundary

Ceremony

Full

MCP

Project settings

Automation

Agents + supported hooks

Install from the project root

Run the bootstrap, then select Antigravity CLI in guided setup. Review the generated diff before committing it.

shell bootstrap
curl -fsSL https://trwframework.com/install.sh | bash

Know which file owns each behavior

ANTIGRAVITY.md

Repo-wide TRW instructions merged between managed markers.

.antigravitycli/settings.json

Project MCP registration. TRW deep-merges only the mcpServers.trw entry.

.antigravitycli/agents/trw-*.md

Four role-based subagents for research, implementation, review, and requirements.

.antigravitycli/hooks.json

Supported before-tool hook wiring when the bundled distill channel is installed.

Verify before the first retained session

  1. Open .antigravitycli/settings.json and confirm the existing settings remain alongside mcpServers.trw.
  2. Start Antigravity from the same project root and confirm the TRW server is visible.
  3. Call trw_session_start() before relying on recalled state.
  4. Run the repository's actual test, lint, or build command in the shell.
  5. Report the observed result with trw_build_check(); it records evidence but does not execute the command for you.

Diagnose the owning layer

Keep going

If you haven't installed yet, start with the quickstart. If you have, the lifecycle page explains what TRW actually does once it's running.