Skip to content

Commit 76cca34

Browse files
TCoherencemnriem
andauthored
Feat: add a new agent: Google Anti Gravity (#1220)
* Add support for Antigravity (agy) agent * fix a few things after gemini code update * Fix missed merge conflicts * As PR states it is IDE integration setting requires_cli to 'False' --------- Co-authored-by: Manfred Riem <manfred.riem@microsoft.com>
1 parent 9a1e303 commit 76cca34

File tree

7 files changed

+36
-13
lines changed

7 files changed

+36
-13
lines changed

.github/workflows/scripts/create-github-release.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ gh release create "$VERSION" \
4848
.genreleases/spec-kit-template-shai-ps-"$VERSION".zip \
4949
.genreleases/spec-kit-template-q-sh-"$VERSION".zip \
5050
.genreleases/spec-kit-template-q-ps-"$VERSION".zip \
51+
.genreleases/spec-kit-template-agy-sh-"$VERSION".zip \
52+
.genreleases/spec-kit-template-agy-ps-"$VERSION".zip \
5153
.genreleases/spec-kit-template-bob-sh-"$VERSION".zip \
5254
.genreleases/spec-kit-template-bob-ps-"$VERSION".zip \
5355
--title "Spec Kit Templates - $VERSION_NO_V" \

.github/workflows/scripts/create-release-packages.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,9 @@ build_variant() {
215215
q)
216216
mkdir -p "$base_dir/.amazonq/prompts"
217217
generate_commands q md "\$ARGUMENTS" "$base_dir/.amazonq/prompts" "$script" ;;
218+
agy)
219+
mkdir -p "$base_dir/.agent/workflows"
220+
generate_commands agy md "\$ARGUMENTS" "$base_dir/.agent/workflows" "$script" ;;
218221
bob)
219222
mkdir -p "$base_dir/.bob/commands"
220223
generate_commands bob md "\$ARGUMENTS" "$base_dir/.bob/commands" "$script" ;;
@@ -224,7 +227,7 @@ build_variant() {
224227
}
225228

226229
# Determine agent list
227-
ALL_AGENTS=(claude gemini copilot cursor-agent qwen opencode windsurf codex kilocode auggie roo codebuddy amp shai q bob qoder)
230+
ALL_AGENTS=(claude gemini copilot cursor-agent qwen opencode windsurf codex kilocode auggie roo codebuddy amp shai q agy bob qoder)
228231
ALL_SCRIPTS=(sh ps)
229232

230233
norm_list() {

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,9 @@ env/
4444
.genreleases/
4545
*.zip
4646
sdd-*/
47-
4847
docs/dev
4948

5049
# Extension system
5150
.specify/extensions/.cache/
5251
.specify/extensions/.backup/
53-
.specify/extensions/*/local-config.yml
52+
.specify/extensions/*/local-config.yml

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ Want to see Spec Kit in action? Watch our [video overview](https://www.youtube.c
162162
| [Roo Code](https://roocode.com/) || |
163163
| [SHAI (OVHcloud)](https://github.com/ovh/shai) || |
164164
| [Windsurf](https://windsurf.com/) || |
165+
| [Antigravity (agy)](https://agy.ai/) || |
165166

166167
## 🔧 Specify CLI Reference
167168

@@ -179,7 +180,7 @@ The `specify` command supports the following options:
179180
| Argument/Option | Type | Description |
180181
| ---------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
181182
| `<project-name>` | Argument | Name for your new project directory (optional if using `--here`, or use `.` for current directory) |
182-
| `--ai` | Option | AI assistant to use: `claude`, `gemini`, `copilot`, `cursor-agent`, `qwen`, `opencode`, `codex`, `windsurf`, `kilocode`, `auggie`, `roo`, `codebuddy`, `amp`, `shai`, `q`, `bob`, or `qoder` |
183+
| `--ai` | Option | AI assistant to use: `claude`, `gemini`, `copilot`, `cursor-agent`, `qwen`, `opencode`, `codex`, `windsurf`, `kilocode`, `auggie`, `roo`, `codebuddy`, `amp`, `shai`, `q`, `agy`, `bob`, or `qoder` |
183184
| `--script` | Option | Script variant to use: `sh` (bash/zsh) or `ps` (PowerShell) |
184185
| `--ignore-agent-tools` | Flag | Skip checks for AI agent tools like Claude Code |
185186
| `--no-git` | Flag | Skip git repository initialization |

scripts/bash/update-agent-context.sh

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
#
3131
# 5. Multi-Agent Support
3232
# - Handles agent-specific file paths and naming conventions
33-
# - Supports: Claude, Gemini, Copilot, Cursor, Qwen, opencode, Codex, Windsurf, Kilo Code, Auggie CLI, Roo Code, CodeBuddy CLI, Qoder CLI, Amp, SHAI, or Amazon Q Developer CLI
33+
# - Supports: Claude, Gemini, Copilot, Cursor, Qwen, opencode, Codex, Windsurf, Kilo Code, Auggie CLI, Roo Code, CodeBuddy CLI, Qoder CLI, Amp, SHAI, Amazon Q Developer CLI, or Antigravity
3434
# - Can update single agents or all existing agent files
3535
# - Creates default Claude file if no agent files exist
3636
#
3737
# Usage: ./update-agent-context.sh [agent_type]
38-
# Agent types: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|shai|q|bob|qoder
38+
# Agent types: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|shai|q|agy|bob|qoder
3939
# Leave empty to update all existing agent files
4040

4141
set -e
@@ -74,6 +74,7 @@ QODER_FILE="$REPO_ROOT/QODER.md"
7474
AMP_FILE="$REPO_ROOT/AGENTS.md"
7575
SHAI_FILE="$REPO_ROOT/SHAI.md"
7676
Q_FILE="$REPO_ROOT/AGENTS.md"
77+
AGY_FILE="$REPO_ROOT/.agent/rules/specify-rules.md"
7778
BOB_FILE="$REPO_ROOT/AGENTS.md"
7879

7980
# Template file
@@ -630,12 +631,15 @@ update_specific_agent() {
630631
q)
631632
update_agent_file "$Q_FILE" "Amazon Q Developer CLI"
632633
;;
634+
agy)
635+
update_agent_file "$AGY_FILE" "Antigravity"
636+
;;
633637
bob)
634638
update_agent_file "$BOB_FILE" "IBM Bob"
635639
;;
636640
*)
637641
log_error "Unknown agent type '$agent_type'"
638-
log_error "Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|amp|shai|q|bob|qoder"
642+
log_error "Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|amp|shai|q|agy|bob|qoder"
639643
exit 1
640644
;;
641645
esac
@@ -714,6 +718,11 @@ update_all_existing_agents() {
714718
update_agent_file "$Q_FILE" "Amazon Q Developer CLI"
715719
found_agent=true
716720
fi
721+
722+
if [[ -f "$AGY_FILE" ]]; then
723+
update_agent_file "$AGY_FILE" "Antigravity"
724+
found_agent=true
725+
fi
717726

718727
if [[ -f "$BOB_FILE" ]]; then
719728
update_agent_file "$BOB_FILE" "IBM Bob"
@@ -744,7 +753,7 @@ print_summary() {
744753

745754
echo
746755

747-
log_info "Usage: $0 [claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|codebuddy|shai|q|bob|qoder]"
756+
log_info "Usage: $0 [claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|codebuddy|shai|q|agy|bob|qoder]"
748757
}
749758

750759
#==============================================================================

scripts/powershell/update-agent-context.ps1

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Mirrors the behavior of scripts/bash/update-agent-context.sh:
99
2. Plan Data Extraction
1010
3. Agent File Management (create from template or update existing)
1111
4. Content Generation (technology stack, recent changes, timestamp)
12-
5. Multi-Agent Support (claude, gemini, copilot, cursor-agent, qwen, opencode, codex, windsurf, kilocode, auggie, roo, codebuddy, amp, shai, q, bob, qoder)
12+
5. Multi-Agent Support (claude, gemini, copilot, cursor-agent, qwen, opencode, codex, windsurf, kilocode, auggie, roo, codebuddy, amp, shai, q, agy, bob, qoder)
1313
1414
.PARAMETER AgentType
1515
Optional agent key to update a single agent. If omitted, updates all existing agent files (creating a default Claude file if none exist).
@@ -25,7 +25,7 @@ Relies on common helper functions in common.ps1
2525
#>
2626
param(
2727
[Parameter(Position=0)]
28-
[ValidateSet('claude','gemini','copilot','cursor-agent','qwen','opencode','codex','windsurf','kilocode','auggie','roo','codebuddy','amp','shai','q','bob','qoder')]
28+
[ValidateSet('claude','gemini','copilot','cursor-agent','qwen','opencode','codex','windsurf','kilocode','auggie','roo','codebuddy','amp','shai','q','agy','bob','qoder')]
2929
[string]$AgentType
3030
)
3131

@@ -59,6 +59,7 @@ $QODER_FILE = Join-Path $REPO_ROOT 'QODER.md'
5959
$AMP_FILE = Join-Path $REPO_ROOT 'AGENTS.md'
6060
$SHAI_FILE = Join-Path $REPO_ROOT 'SHAI.md'
6161
$Q_FILE = Join-Path $REPO_ROOT 'AGENTS.md'
62+
$AGY_FILE = Join-Path $REPO_ROOT '.agent/rules/specify-rules.md'
6263
$BOB_FILE = Join-Path $REPO_ROOT 'AGENTS.md'
6364

6465
$TEMPLATE_FILE = Join-Path $REPO_ROOT '.specify/templates/agent-file-template.md'
@@ -387,8 +388,9 @@ function Update-SpecificAgent {
387388
'amp' { Update-AgentFile -TargetFile $AMP_FILE -AgentName 'Amp' }
388389
'shai' { Update-AgentFile -TargetFile $SHAI_FILE -AgentName 'SHAI' }
389390
'q' { Update-AgentFile -TargetFile $Q_FILE -AgentName 'Amazon Q Developer CLI' }
391+
'agy' { Update-AgentFile -TargetFile $AGY_FILE -AgentName 'Antigravity' }
390392
'bob' { Update-AgentFile -TargetFile $BOB_FILE -AgentName 'IBM Bob' }
391-
default { Write-Err "Unknown agent type '$Type'"; Write-Err 'Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|q|bob|qoder'; return $false }
393+
default { Write-Err "Unknown agent type '$Type'"; Write-Err 'Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|q|agy|bob|qoder'; return $false }
392394
}
393395
}
394396

@@ -409,6 +411,7 @@ function Update-AllExistingAgents {
409411
if (Test-Path $QODER_FILE) { if (-not (Update-AgentFile -TargetFile $QODER_FILE -AgentName 'Qoder CLI')) { $ok = $false }; $found = $true }
410412
if (Test-Path $SHAI_FILE) { if (-not (Update-AgentFile -TargetFile $SHAI_FILE -AgentName 'SHAI')) { $ok = $false }; $found = $true }
411413
if (Test-Path $Q_FILE) { if (-not (Update-AgentFile -TargetFile $Q_FILE -AgentName 'Amazon Q Developer CLI')) { $ok = $false }; $found = $true }
414+
if (Test-Path $AGY_FILE) { if (-not (Update-AgentFile -TargetFile $AGY_FILE -AgentName 'Antigravity')) { $ok = $false }; $found = $true }
412415
if (Test-Path $BOB_FILE) { if (-not (Update-AgentFile -TargetFile $BOB_FILE -AgentName 'IBM Bob')) { $ok = $false }; $found = $true }
413416
if (-not $found) {
414417
Write-Info 'No existing agent files found, creating default Claude file...'
@@ -424,7 +427,7 @@ function Print-Summary {
424427
if ($NEW_FRAMEWORK) { Write-Host " - Added framework: $NEW_FRAMEWORK" }
425428
if ($NEW_DB -and $NEW_DB -ne 'N/A') { Write-Host " - Added database: $NEW_DB" }
426429
Write-Host ''
427-
Write-Info 'Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|q|bob|qoder]'
430+
Write-Info 'Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|q|agy|bob|qoder]'
428431
}
429432

430433
function Main {

src/specify_cli/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,12 @@ def _format_rate_limit_error(status_code: int, headers: httpx.Headers, url: str)
220220
"install_url": "https://github.com/ovh/shai",
221221
"requires_cli": True,
222222
},
223+
"agy": {
224+
"name": "Antigravity",
225+
"folder": ".agent/",
226+
"install_url": None, # IDE-based
227+
"requires_cli": False,
228+
},
223229
"bob": {
224230
"name": "IBM Bob",
225231
"folder": ".bob/",
@@ -980,7 +986,7 @@ def ensure_constitution_from_template(project_path: Path, tracker: StepTracker |
980986
@app.command()
981987
def init(
982988
project_name: str = typer.Argument(None, help="Name for your new project directory (optional if using --here, or use '.' for current directory)"),
983-
ai_assistant: str = typer.Option(None, "--ai", help="AI assistant to use: claude, gemini, copilot, cursor-agent, qwen, opencode, codex, windsurf, kilocode, auggie, codebuddy, amp, shai, q, bob, or qoder "),
989+
ai_assistant: str = typer.Option(None, "--ai", help="AI assistant to use: claude, gemini, copilot, cursor-agent, qwen, opencode, codex, windsurf, kilocode, auggie, codebuddy, amp, shai, q, agy, bob, or qoder "),
984990
script_type: str = typer.Option(None, "--script", help="Script type to use: sh or ps"),
985991
ignore_agent_tools: bool = typer.Option(False, "--ignore-agent-tools", help="Skip checks for AI agent tools like Claude Code"),
986992
no_git: bool = typer.Option(False, "--no-git", help="Skip git repository initialization"),

0 commit comments

Comments
 (0)