Agy

•

Exposes the Antigravity CLI (agy) to Claude Code, facilitating cross-LLM task delegation and verifying which backend model truly answered.

Agy is an MCP stdio server that integrates the Google Antigravity CLI (`agy`) directly into Claude Code. Unlike traditional LLM gateways or proxies, it avoids intercepting or translating API calls. Instead, it allows Claude Code to spawn `agy` as a subprocess, enabling seamless delegation of tasks to Gemini models while staying within the Claude Code environment. This unique approach empowers users to leverage different LLM providers for varied workloads, optimizing costs by directing cheaper tasks to Gemini without leaving Claude Code, all while providing robust, real-time verification of the actual backend model used for every request.

Key Features

01Offers difficulty tiers (`trivial`, `standard`, `hard`, `reasoning`) for model selection, dynamically resolving against live `agy` model lists.
02Refuses known-broken model IDs by default and detects new routing bugs without hardcoded tables.
030 GitHub stars
04Supports long-running tasks in the background, returning `job_id`s for later collection.
05Verifies the actual backend model that served each request, parsing `agy` logs for accuracy.
06Separates dangerous shell and file access into a distinct `agy_exec` tool for enhanced security.

Use Cases

01Optimize LLM subscription costs by routing tasks to appropriate Gemini tiers without changing interfaces.
02Ensure accuracy in model selection and performance by verifying the actual LLM backend for every query.
03Delegate research, summarization, codegen, and conversions to Gemini models from within Claude Code.