From 9e3a4c5c737336ffe2d183557f60d176d2bbdfdb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 28 Jul 2026 00:08:26 +0000 Subject: [PATCH] [docs] Add antigravity engine to engines reference The antigravity engine is fully implemented and used in production (smoke-antigravity workflow) but was absent from the engines reference page. Add it to the engine selection table and the feature comparison table, and note its experimental gateway support. Co-Authored-By: Claude --- docs/src/content/docs/reference/engines.md | 27 ++++++++++++---------- 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/docs/src/content/docs/reference/engines.md b/docs/src/content/docs/reference/engines.md index d3f8457e376..4b55d303e99 100644 --- a/docs/src/content/docs/reference/engines.md +++ b/docs/src/content/docs/reference/engines.md @@ -19,9 +19,12 @@ Set `engine:` in your workflow frontmatter and configure the corresponding secre | [Google Gemini CLI](https://github.com/google-gemini/gemini-cli) | `gemini` | [`GEMINI_API_KEY`](/gh-aw/reference/auth/#gemini_api_key) (standard) or [`engine.auth` Google WIF](/gh-aw/reference/auth/#google-workload-identity-federation-wif) (keyless) | | [OpenCode](https://opencode.ai) (experimental) | `opencode` | [COPILOT_GITHUB_TOKEN](/gh-aw/reference/auth/#copilot_github_token) | | [Pi](https://www.npmjs.com/package/@earendil-works/pi-coding-agent) (experimental) | `pi` | [COPILOT_GITHUB_TOKEN](/gh-aw/reference/auth/#copilot_github_token) (default); switches to provider-specific secret when `model:` uses `provider/model` format | +| [Antigravity CLI](https://antigravity.google/docs/cli-overview) (experimental) | `antigravity` | `ANTIGRAVITY_API_KEY` (from [Google AI Studio](https://aistudio.google.com/app/apikey)) | Copilot CLI is the default — `engine:` can be omitted when using Copilot. See the linked authentication docs for secret setup instructions. +The `antigravity` engine runs the Antigravity CLI in headless mode with LLM gateway support and reads its API key from the `ANTIGRAVITY_API_KEY` secret. It is experimental and shares the same Google AI Studio key source as Gemini. + ## Which engine should I choose? Choose the engine that best matches your needs and existing AI account: Copilot supports the broadest gh-aw feature set, including custom agents and autopilot-style continuations; Claude offers stronger control over turn limits (`max-turns`) for long reasoning sessions; and Gemini or Codex fit well when those models are already part of existing tooling or budget decisions. You can switch later by changing only `engine:` and the corresponding secret. @@ -30,18 +33,18 @@ Choose the engine that best matches your needs and existing AI account: Copilot Not all features are available across all engines. The table below summarizes per-engine support for commonly used workflow options: -| Feature | Copilot | Claude | Codex | Gemini | OpenCode | Pi | -|---------|:-------:|:------:|:-----:|:------:|:--------:|:--:| -| `max-turns` (AWF invocation cap; `max-runs` deprecated) | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | -| `max-turns` | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | -| `max-continuations` | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | -| `tools.web-fetch` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | -| `tools.web-search` | via MCP | via MCP | ✅ (opt-in) | via MCP | via MCP | via MCP | -| `engine.agent` (custom agent file) | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | -| `engine.api-target` (custom endpoint) | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | -| `engine.bare` (disable context loading) | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | -| `engine.harness` (custom harness script) | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | -| Tools allowlist | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | +| Feature | Copilot | Claude | Codex | Gemini | OpenCode | Pi | Antigravity | +|---------|:-------:|:------:|:-----:|:------:|:--------:|:--:|:-----------:| +| `max-turns` (AWF invocation cap; `max-runs` deprecated) | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| `max-turns` | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | +| `max-continuations` | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| `tools.web-fetch` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| `tools.web-search` | via MCP | via MCP | ✅ (opt-in) | via MCP | via MCP | via MCP | via MCP | +| `engine.agent` (custom agent file) | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| `engine.api-target` (custom endpoint) | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| `engine.bare` (disable context loading) | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | +| `engine.harness` (custom harness script) | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| Tools allowlist | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ | `max-turns` (default `500`, legacy alias `max-runs`) and `max-ai-credits` (default `1000`) are top-level frontmatter fields supported by all engines. `engine.max-turns` is a deprecated nested alias that still limits Claude iterations when present; `max-continuations` enables Copilot autopilot mode. Codex `web-search` is opt-in via `tools: web-search:`; other engines use a third-party MCP server — see [Using Web Search](/gh-aw/reference/web-search/). `engine.agent`, `engine.bare`, and `engine.harness` are described below.