agy-bridge
v0.3.1Delegate heavy tasks from Claude Code to the Antigravity CLI (Gemini) with quota-aware failover.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
analyze_files
Delegate file analysis to the Antigravity CLI (Gemini) instead of reading files yourself. USE THIS whenever a file is large (>200 lines) or the task spans more than 3 files: logs, database dumps, generated code, cross-file reviews, comparisons. The files never enter your context — only the answer does.
| Parameter | Type | Description |
|---|---|---|
files * | array | File paths to analyze (relative to cwd or absolute). |
question * | string | What you want to know about these files. |
cwd | string | Absolute path to the working directory / project root. Defaults to the server's cwd. |
model | string | Override the model (exact name from `agy models`, e.g. "Gemini 3.1 Pro (High)"). Normally omit — the tool routes automatically. |
deep_search
Delegate codebase archaeology to the Antigravity CLI: git log/diff/blame spelunking, wide greps across a repo, 'when/why did X change', 'where is Y used'. USE THIS instead of running many search commands yourself — it saves your context.
| Parameter | Type | Description |
|---|---|---|
query * | string | What to find, e.g. 'when was the auth middleware refactored and why'. |
cwd | string | Absolute path to the working directory / project root. Defaults to the server's cwd. |
model | string | Override the model (exact name from `agy models`, e.g. "Gemini 3.1 Pro (High)"). Normally omit — the tool routes automatically. |
web_lookup
Delegate a web/documentation lookup to the Antigravity CLI (Gemini with web access): library docs, API references, error messages, current versions, external knowledge. USE THIS when you need information you don't have or that may be newer than your training data.
| Parameter | Type | Description |
|---|---|---|
query * | string | What to look up on the web. |
cwd | string | Absolute path to the working directory / project root. Defaults to the server's cwd. |
model | string | Override the model (exact name from `agy models`, e.g. "Gemini 3.1 Pro (High)"). Normally omit — the tool routes automatically. |
adversarial_review
Get an adversarial second opinion from a different model family (Gemini Pro). ALWAYS use this for plan critiques, design reviews, and pre-merge code review: it hunts for flaws, edge cases, security issues, and unstated assumptions you may have missed.
| Parameter | Type | Description |
|---|---|---|
content | string | Inline content to review (plan, diff, code snippet). |
cwd | string | Absolute path to the working directory / project root. Defaults to the server's cwd. |
files | array | File paths to review instead of inline content. |
focus | string | Optional focus area, e.g. 'security', 'concurrency'. |
model | string | Override the model (exact name from `agy models`, e.g. "Gemini 3.1 Pro (High)"). Normally omit — the tool routes automatically. |
follow_up
Continue a previous Antigravity session by session_id (returned by every other tool). USE THIS for follow-up questions about a prior delegation — the full prior context is already on agy's side, so you don't resend anything.
| Parameter | Type | Description |
|---|---|---|
question * | string | The follow-up question. |
session_id * | string | The session id returned by a previous agy-bridge call. |
cwd | string | Absolute path to the working directory / project root. Defaults to the server's cwd. |
model | string | Override the model (exact name from `agy models`, e.g. "Gemini 3.1 Pro (High)"). Normally omit — the tool routes automatically. |
delegate
Raw delegation to the Antigravity CLI for heavy tasks that don't fit the other tools. agy has full tool access (shell, file reads, web) in the given cwd.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | The complete task prompt for agy. |
cwd | string | Absolute path to the working directory / project root. Defaults to the server's cwd. |
model | string | Override the model (exact name from `agy models`, e.g. "Gemini 3.1 Pro (High)"). Normally omit — the tool routes automatically. |