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

# Antigravity

Google Antigravity is Google's agentic development platform. Its agent plans and carries out work across your codebase: it edits files, runs commands, and calls MCP tools. It works in the Antigravity app, the Antigravity IDE, and the `agy` CLI.

## Prerequisites

Before setting up the integration, ensure you have:

* **Unbound CLI**: Installed and logged in. See the [CLI guide](https://docs.getunbound.ai/cli/overview.md)
* **Antigravity**: The [Antigravity app, IDE or `agy` CLI](https://antigravity.google)

## Setup with Unbound CLI

```bash theme={null}
unbound setup antigravity
```

This installs the Unbound hook for Antigravity. The app, the IDE and the `agy` CLI all read the same hooks file, `~/.gemini/config/hooks.json`, so one setup covers all three. Unbound adds its own `unbound` entry to that file and keeps any hooks you added yourself. Restart the Antigravity app or IDE, and start a new `agy` session, after setup.

To check that the hook is loaded, type `/hooks` in an `agy` session, or run [`unbound doctor`](https://docs.getunbound.ai/cli/doctor) and confirm that Antigravity comes back Healthy.

To remove the Unbound configuration:

```bash theme={null}
unbound setup antigravity --clear
```

This removes only the `unbound` entry. Your own hooks stay in place.

## Usage

### Basic Usage

After configuration, every tool call Antigravity makes (shell commands, file reads, file writes, edits, and MCP actions) is checked against your policies before the tool runs. A matching **Block** policy stops the call and tells the agent why. **Warn** asks the developer to confirm, every time, even for a tool they chose to always allow. **Require Slack Approval** holds the call while an approver answers in Slack. **Audit** records it, though a file rule set to Audit reaches shell commands only, as on every agent. See [How far a file rule reaches](https://docs.getunbound.ai/policies/agent-coverage.md#how-far-a-file-rule-reaches).

Each prompt is checked when it is submitted. A prompt that carries a secret or personal data, under a [Data](https://docs.getunbound.ai/policies/security-policies.md) policy set to **Block**, ends the turn before the model sees it.

Every turn is recorded with its prompt, model, tokens, and tool calls, including the output of each terminal command. Skills are recorded both when you type one as a slash command and when the agent loads one itself. A pull request the agent opens with `gh pr create` shows up in **Analytics → Delivery**, which you can also read with [`unbound delivery`](https://docs.getunbound.ai/cli/delivery).

> [!NOTE]
>
> **If Unbound can't be reached, work continues by default.** Antigravity refuses a tool call when its hook gives no answer, so the Unbound hook always answers, and allows the call when the check cannot run. If tool calls are refused with no Unbound message, run `unbound doctor`, and re-run `unbound setup antigravity` if Antigravity is not Healthy.

## Security Benefits

Using Antigravity with Unbound Security AI Gateway provides:

* **Request Monitoring**: All Antigravity tool calls are logged and monitored
* **Analytics**: See which files and commands Antigravity touches across your org
* **Compliance**: Ensure AI interactions meet your organization's standards
* **Audit Trail**: Complete visibility into AI usage patterns

> [card] [Unbound CLI](https://docs.getunbound.ai/cli/overview.md)
>
> Install the CLI to set up and manage tools

> [card] [Tool Policies](https://docs.getunbound.ai/policies/tool-policies.md)
>
> Configure security guardrails for AI tools


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.