> ## Documentation Index
> Fetch the complete documentation index at: https://docs.entire.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Antigravity

> Capture Antigravity CLI prompts, session transcripts, recorded file changes, and token usage with Entire

Entire captures Antigravity CLI prompts, session transcripts, recorded file changes, and token usage, then links each session to its Git commits.

## Before You Start

Install and authenticate [Antigravity CLI](https://antigravity.google/blog/introducing-google-antigravity-cli), and [install or update Entire](/installation).
Run `entire agent list` to make sure your installed build includes `antigravity`.

## Add Antigravity

From a repository where you already enabled Entire, run:

```bash theme={null}
entire agent add antigravity
agy
```

If you have not enabled Entire in the repository, run:

```bash theme={null}
entire enable --agent antigravity
agy
```

Work and commit as usual. Entire captures the session in the background.

## Hooks and Transcripts

Entire manages the `entire` entry in `.agents/hooks.json` and preserves other entries. The hooks capture turn boundaries and file changes. Entire reads prompts, responses, and tool calls from Antigravity's full JSONL transcript.

## Token Usage

Antigravity supplies token usage through its title feed rather than its transcripts. When `agy` is on your `PATH`, Entire setup configures the `title` command in `~/.gemini/antigravity-cli/settings.json` to pass that feed through `entire hooks antigravity title-tee`. Entire preserves an existing title command by wrapping it.

Token capture depends on this setting. Run `entire doctor` to check it, or rerun `entire agent add antigravity` to repair the setup. Removing the integration with `entire agent remove antigravity` also removes Entire's title wrapper and restores the previous command when present.

## Verify Capture

Check tracking and the integration's configuration:

```bash theme={null}
entire status
entire doctor
```

See [Set Up an Agent](/agents/setup#verify-capture) to verify checkpoints and troubleshoot capture.

## Limitations

* Entire does not display a tracking banner inside Antigravity. Use `entire status` to check capture.
* Entire does not yet support Antigravity subagent lifecycle hooks or attach subagent sessions to the parent checkpoint. Antigravity can still run subagents as separate conversations.

## Resume and Import

To resume a recorded session on a branch, run:

```bash theme={null}
entire session resume BRANCH
```

Entire checks out the branch and restores the recorded session log when needed. In an interactive terminal, it asks whether to start the agent. Otherwise, it prints the resume command:

```bash theme={null}
agy --conversation SESSION_ID
```

Entire keeps an existing local session log by default. See the [`session resume` command reference](/cli-reference/session#session-resume) for flags and checkout behavior.
