agy-bridge

v0.3.1
io.github.sshahzaiib/agy-bridge Checked 6 hours ago Published 5 months ago

Delegate 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.

ParameterTypeDescription
files *arrayFile paths to analyze (relative to cwd or absolute).
question *stringWhat you want to know about these files.
cwdstringAbsolute path to the working directory / project root. Defaults to the server's cwd.
modelstringOverride 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.

ParameterTypeDescription
query *stringWhat to look up on the web.
cwdstringAbsolute path to the working directory / project root. Defaults to the server's cwd.
modelstringOverride 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.

ParameterTypeDescription
contentstringInline content to review (plan, diff, code snippet).
cwdstringAbsolute path to the working directory / project root. Defaults to the server's cwd.
filesarrayFile paths to review instead of inline content.
focusstringOptional focus area, e.g. 'security', 'concurrency'.
modelstringOverride 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.

ParameterTypeDescription
question *stringThe follow-up question.
session_id *stringThe session id returned by a previous agy-bridge call.
cwdstringAbsolute path to the working directory / project root. Defaults to the server's cwd.
modelstringOverride 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.

ParameterTypeDescription
prompt *stringThe complete task prompt for agy.
cwdstringAbsolute path to the working directory / project root. Defaults to the server's cwd.
modelstringOverride the model (exact name from `agy models`, e.g. "Gemini 3.1 Pro (High)"). Normally omit — the tool routes automatically.