Skip to content
Agentmart
Submit a tool

antigravity-suite-internals

Authoritative technical reference and operational guide for Google Antigravity Hub, Antigravity IDE (VS Code edition), and multi-instance suite management.

Skill by RezaRashidi

IndexedMIT★ 3
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/rezarashidi-antigravity-suite-internals

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Authoritative technical reference and operational guide for Google Antigravity Hub, Antigravity IDE (VS Code edition), and multi-instance suite management. Covers internal runtime architecture, Go language server RPC protocols, DBus/GNOME Keyring decoupling, binary patching, database schemas (state.vscdb, SQLite conversation_summaries, Protobuf step_payload wire formats), transcript log reconstitution, empty message/title bubble diagnostics, multi-home deep heuristic discovery, and Google One AI Pro quota mechanics. Use when diagnosing Antigravity IDE/Hub issues, recovering conversations, isolating user profiles, managing credentials, debugging language server RPCs, or configuring multi-account setups.

Use cases: backend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/antigravity-suite-internals

What's inside

Skill name
antigravity-suite-internals
Description
Authoritative technical reference and operational guide for Google Antigravity Hub, Antigravity IDE (VS Code edition), and multi-instance suite management. Covers internal runtime architecture, Go language server RPC protocols, DBus/GNOME Keyring decoupling, binary patching, database schemas (state.vscdb, SQLite conversation_summaries, Protobuf step_payload wire formats), transcript log reconstitution, empty message/title bubble diagnostics, multi-home deep heuristic discovery, and Google One AI Pro quota mechanics. Use when diagnosing Antigravity IDE/Hub issues, recovering conversations, isolating user profiles, managing credentials, debugging language server RPCs, or configuring multi-account setups.
License
MIT
Instructions
1,502 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network
  • Instructions read files in your home folder (~/.ssh, ~/.aws…)

Agent Skills spec issues

  • body: 1502 lines (spec recommends under 500)

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Antigravity Suite Architecture, Internals & Isolation Guide

This skill documents the complete technical architecture, reverse-engineered runtime mechanics, storage schemas, and operational procedures for **Google Antigravity Hub** (Desktop App) and **Antigravity IDE** (VS Code edition).

---

## 1. Dual-Product Hierarchy & Binary Layout

Antigravity consists of two separate Electron-based products with distinct runtimes:

```mermaid
graph TD
    subgraph Antigravity Hub (Desktop App)
        HubBin["/opt/antigravity2/antigravity"] --> HubAsar["resources/app.asar"]
        HubBin --> HubLS["resources/bin/language_server (Go)"]
        HubLS --> HubDir["~/.gemini/ (Default Root)"]
    end

    subgraph Antigravity IDE (VS Code Fork)
        IDEBin["/opt/antigravity/antigravity-ide"] --> IDECode["resources/app/ (VS Code Core)"]
        IDECode --> IDEExt["resources/app/extensions/antigravity/"]
        IDEExt --> IDELSWrap["bin/language_server_linux_x64 (Wrapper)"]
        IDELSWrap --> IDELSBin["bin/language_server_linux_x64.bin (Go)"]
        IDELSBin --> IDEDir["~/.gemide/ or ~/.gemini/"]
    end
```

### Installation Directory Matrix

| Component | Antigravity Hub (Desktop App) | Antigravity IDE (Code Edition) |
| :--- | :--- | :--- |
| **Primary Directory** | `/opt/antigravity2/` | `/opt/antigravity/` |
| **Main Executable** | `/opt/antigravity2/antigravity` | `/opt/antigravity/antigravity-ide` |
| **Language Server** | `/opt/antigravity2/resources/bin/language_server` | `/opt/antigravity/resources/app/extensions/antigravity/bin/language_server_linux_x64.bin` |
| **Config / User Data** | `~/.config/Antigravity/` | `~/.config/Antigravity IDE/` |
| **Product Spec** | `package.json` inside `resources/app.asar` | `resources/app/product.json` |
| **Launcher** | `~/.local/bin/antigravity`, `antigravity-1`, `antigravity-acc2`, `antigravity-acc<N>` | `~/.local/bin/antigravity-ide` |
| **Desktop Shortcut** | `~/.local/share/applications/antigravity-1.desktop` | `~/.local/share/applications/antigravity-ide.desktop` |

### 1.1 Antigravity IDE Process & Component Architecture

Antigravity IDE is built upon a modified VS Code OSS core with tight integration between editor processes and native language services:

```mermaid
graph TD
    subgraph "Antigravity IDE Architecture"
        IDEApp["Electron Main Process (/opt/antigravity/antigravity-ide)"]
        Renderer["Workbench Webview & Monaco Editor (Renderer)"]
        ExtHost["Extension Host Process"]
        MainLS["[LS Main] Go Language Server (Loopback TLS)"]
        LspClient["[LS lspClient] Workspace Language Server"]

        IDEApp --> Renderer
        IDEApp --> ExtHost
        IDEApp --> MainLS
        ExtHost --> LspClient
        
        Renderer <-->|"VS Code Extension API"| ExtHost
        ExtHost <-->|"ConnectRPC / gRPC-Web"| MainLS
        ExtHost <-->|"ConnectRPC / gRPC-Web"| LspClient
        
        MainLS --> Cloud["Google Daily Cloud Code Backend"]
        MainLS --> MCPCore["System MCP Servers (grafana, kibana, portainer, proxmox)"]
        LspClient --> MCPProj["Project MCP Servers (elasticsearch, caveman)"]
        
        MainLS --> VSCDB["state.vscdb (globalStorage)"]
        MainLS --> SQLite["conversation_summaries.db & <uuid>.db"]
    end
```

- **VS Code Core (`resources/app/`)**: Electron main runtime, Monaco editor rendering, extension host sandboxing, and workbench state management.
- **Antigravity Extension Host (`resources/app/extensions/antigravity/`)**: Custom extension acting as the IPC bridge between editor events (buffer edits, active tabs, terminal output) and the Go Language Server.
- **Dual Go Language Server Architecture**:
  - `[LS Main]` (**Main Language Server**): Spawned by Electron main process on dynamic loopback HTTPS port. Handles Cloud Code OAuth2 authentication, Gemini streaming, user quota monitoring, and system MCP tools.
  - `[LS lspClient]` (**Workspace Language Server**): Spawned by extension host for active workspace. Manages codebase semantic index, symbol lookup, and workspace-scoped MCP servers.
- **ConnectRPC Transport**: High-throughput binary RPC protocol over local TLS (`127.0.0.1:<port>`), authenticated via session token header `x-codeium-csrf-token: <csrf>`.

---

## 2. Language Server Architecture & ConnectRPC Protocols

Both Hub and IDE rely on a compiled Go language server (`language_server`) providing code intelligence, chat streaming, user state, and cloud sync.

### Process Launch Arguments

```bash
/opt/antigravity/resources/app/extensions/antigravity/bin/language_server_linux_x64.bin \
  --gemini_dir=$HOME/.gemide \
  --csrf_token=5ecc597a-0f7e-460a-9c01-3268282c7b5b \
  --extension_server_port=33557 \
  --extension_server_csrf_token=24a9e44c-a6df-4e5f-991f-a82a72bcac99 \
  --app_data_dir=antigravity-ide \
  --subclient_type=ide \
  --cloud_code_endpoint=https://daily-cloudcode-pa.googleapis.com
```

#### Critical Flag Definitions
- `--gemini_dir`: Root configuration directory containing tokens, history, and artifacts.
- `--app_data_dir`: Relative subfolder under `gemini_dir` storing instance data (`antigravity` or `antigravity-ide`).
- `--cloud_code_endpoint`: Target backend for Cloud Code APIs:
  - `https://cloudcode-pa.googleapis.com`: Corporate/enterprise endpoint (returns `403 Forbidden` for consumer Google AI Pro accounts).
  - `https://daily-cloudcode-pa.googleapis.com`: **Mandatory for consumer Google AI Pro / Google One accounts**.
- `--csrf_token`: Session token required for authenticating loopback RPC HTTP/HTTPS requests.
- `--subclient_type`: Informs backend telemetry of client mode (`ide`, `hub`, `cli`, `sdk`).

#### Comprehensive Hidden & Advanced Flag Inventory
Extracted from `/opt/antigravity2/resources/bin/language_server`:

| Flag | Default | Description & Operational Impact |
|:---|:---|:---|
| `--web_bundle_path` | `""` | Directory or `.zip` holding compiled web UI to serve, overriding the binary's embedded web bundle. Allows live frontend debugging/patching without binary recompilation. |
| `--model_api_client_type` | `ccpa` | Backend client driver: `ccpa` (Cloud Code PA) or `gemini`. Defaults to `ccpa`. |
| `--limit_go_max_procs` | `4` | Caps runtime `GOMAXPROCS` to prevent CPU exhaustion on multi-core systems. |
| `--persistent_mode` | `false` | Daemon mode: writes discovery file to disk and does not exit when IDE window or extension closes. |
| `--exit_on_stdin_close` | `false` | Ties language server lifetime to stdin EOF. Used when parent process cannot signal across OS boundary (e.g. WSL). |
| `--browser_eval_env` | `false` | Enables browser eval environment setup (pre-installed Playwright, CA certs, proxy/SSO). |
| `--cdp_port` | `9222` | Port for Chrome DevTools Protocol browser automation. |
| `--generative_service_addr`| `blade:...` | Generative service backend address (`blade:google.ai.generativelanguage.v1main.generativeservice-prod`). |
| `--beyond_quota_bucket` | `""` | Quota bucket for Beyond API calls (`team/bucket` format). |

From RezaRashidi/antigravity-suite-manager, MIT.

Signals

Stars
3
Forks
0
Open issues
0
Last commit (this folder)
Oct 21, 2026 (7 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from RezaRashidi

Cite this page

antigravity-suite-internals skill. Agent Mart. https://agentmart.dev/skills/rezarashidi-antigravity-suite-internals (last updated 2026-10-24)