Skip to content

Antigravity (Gemini)

Integrate Intutic governance with Google Antigravity — Google's AI coding agent (Gemini CLI / Gemini in IDEs).

How it works

Intutic merges governance rules into the customInstructions field of your .gemini/settings.json file. Existing settings in the JSON file are preserved — only customInstructions is overwritten.

Setup

1. Ensure .gemini directory exists

bash
mkdir -p .gemini

Antigravity detection checks for the .gemini/ directory, not the settings file itself.

2. Initialize Intutic

bash
intutic init
✓ Detected harnesses:
  • antigravity → .gemini/settings.json

3. Start the proxy

bash
intutic start

Have an Intutic account or run your own control plane? Use intutic connect instead. It starts the same proxy and adds bidirectional config sync.

What gets written

Intutic reads the existing .gemini/settings.json, merges governance instructions into customInstructions, and writes the file back:

json
{
  "customInstructions": "# Intutic Governance Rules (auto-generated)\n# DO NOT EDIT — managed by intutic sync daemon\n# Last sync: 2026-06-11T22:24:00Z\n# Proxy URL: http://localhost:4000/v1\n\n## Code Review Requirements\n\nAll code changes must include unit tests...",
  "existingSetting": "preserved",
  "anotherSetting": true
}

Non-destructive merge

Unlike other harness adapters, the Antigravity adapter reads the existing JSON file first and only updates the customInstructions field. All other settings are preserved.

Config details

PropertyValue
Harness typeantigravity
Config file.gemini/settings.json
DetectionChecks for .gemini/ directory
FormatJSON (merges customInstructions field)
Write strategyAtomic (write to .intutic-tmp, then rename)

The circuit breaker for AI agents