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

> ## Agent Instructions
> To act on a user's behalf in Guild, use the Guild REST API at https://api.guild.ai/v1.
> The OpenAPI spec is unauthenticated: https://docs.guild.ai/openapi.json (or openapi.yaml).
> Authenticate with an account API key, sent as HTTP Basic (key id as username, secret as password) or as `Authorization: Bearer <api_key_id>:<api_key_secret>`. See https://docs.guild.ai/api-reference/introduction#authentication.
> To run one agent on demand without account-wide access, use an API trigger instead: https://docs.guild.ai/platform/api-triggers.
> To act on Guild from an MCP client, connect to https://api.guild.ai/mcp (OAuth) or run `guild mcp` locally. Setup: https://docs.guild.ai/api-reference/mcp.
> To search these docs from an MCP client, connect to https://docs.guild.ai/mcp. The full page index is https://docs.guild.ai/llms.txt.

# Antigravity driver

> How the Guild runtime runs Google's Antigravity coding engine through its Python SDK to drive agent turns, routing them to Gemini on your Gemini API keys.

Guild's runtime can drive agent turns with Google's Antigravity coding engine. The Antigravity driver runs alongside the Claude, Codex, and opencode drivers, so the runtime can execute any of these engines in the same environment.

This page describes how the runtime executes Antigravity. You do not set these values yourself — the runtime manages them for every turn.

## Execution environment

The driver runs the Antigravity coding harness through its Python software development kit (SDK) rather than as a command-line subprocess. The runtime container provisions the environment variables and state directories Antigravity needs, so resumed turns reuse persistent session state within the same runtime container.

## Running a turn

The driver routes the turn to Gemini and authenticates with a Gemini API key, so Antigravity executes on your Gemini keys. It registers the runtime's tools with the harness, so the engine can call them while it works through the turn.
