Skip to main content
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:

Setup with Unbound CLI

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 and confirm that Antigravity comes back Healthy. To remove the Unbound configuration:
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. Each prompt is checked when it is submitted. A prompt that carries a secret or personal data, under a Data 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.
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

Unbound CLI

Install the CLI to set up and manage tools

Tool Policies

Configure security guardrails for AI tools