agy_delegate_research
Delegate complex multi-file, read-only codebase research, architectural analysis, root-cause tracing, or security verification to Google Antigravity CLI and receive cited Markdown reports.
Instructions
Delegate deep read-only codebase research, cross-module architectural analysis, bug root-cause tracing, or security verification to Google Antigravity CLI (agy) using verified Gemini 3.8 Flash or Gemini 4 Argon models in --mode=plan. WHEN TO USE: Complex multi-file reasoning or architectural audits across 5–30+ files after initial scouting. DO NOT USE FOR: Simple signature, import, or line-number extraction on known files (use local_file_scout instead at 0x quota) or parallel disjoint directory scans (use agy_spawn_swarm instead). RETURNS: Markdown analysis with : citations and telemetry footer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional working directory path (defaults to workspace root). | |
| tier | Yes | Gemini routing tier: flash-low/flash-medium (1x triage), flash-high (2x module summary), argon-low/argon-medium (4x cross-module reasoning), argon-high (6x apex architecture/security). | flash-medium |
| prompt | Yes | Detailed research or analysis prompt for Antigravity. Name the specific files to inspect. | |
| files_to_follow | No | Optional list of <file>:<line> targets (e.g. ["src/index.ts:42"]) to jump to in the Antigravity IDE HUD. | |
| html_artifact_name | No | Optional filename (e.g. "arch-overview.html") to instruct agy to write a self-contained visual HTML report. |