Install agy-fast Plugin to Speed Up Google Antigravity
The agy-fast plugin cuts Google Antigravity LLM turn counts by 34 percent and token consumption by 31 percent. Here is how to install and configure it across your CLI and IDE workflows.
On this page
You can speed up Google Antigravity workflows by 34 percent and cut token quota usage by 31 percent with the agy-fast plugin. Released on GitHub by INK-Q on 19 November 2026, this open-source Model Context Protocol accelerator reached 1,632 stars by December 2026 by removing redundant payload serialization in agentic loops.
Standard Google Antigravity agent runs often hit rate limits or stall because the client repeatedly exchanges identical context structures with the Model Context Protocol server. The agy-fast plugin intercepts these roundtrips directly. It prunes repetitive synchronization payloads across CLI, Desktop, and IDE environments without modifying your generated diffs or altering the native user interface.
| Metric | Standard Google Antigravity Workflow | With agy-fast Plugin |
Improvement | Source |
|---|---|---|---|---|
| LLM Turn Count | Baseline (Standard Agent Loops) | Reduced | -34% | [GitHub - INK-Q/agy-fast] |
| Token Quota Usage | Baseline (Standard Payload) | Reduced | -31% | [GitHub - INK-Q/agy-fast] |
| Upload Traffic | Baseline (Full Context Sync) | Reduced | -40% | [GitHub - INK-Q/agy-fast] |
| UI / Diff Integrity | Standard Native Diffs | Unaltered Native Diffs | 0% degradation | [GitHub - INK-Q/agy-fast] |
How the agy-fast plugin reduces agent turns and traffic#
Google Antigravity coordinates multi-step development tasks through recurring context feedback loops. In default configurations, each agent turn serializes the current workspace state, tool declarations, and previous command histories back into the context stream. These repetitive transmissions inflate upload bandwidth and consume your available token quotas on boilerplate context rather than new instructions.
The agy-fast accelerator acts as a non-invasive proxy between the Antigravity client runtime and the underlying Model Context Protocol services. Instead of letting the runtime serialize the same structural state on every turn, the plugin identifies unchanged context elements and prevents them from being re-sent over the wire. This reduces upload traffic during agent context exchanges by 40 percent.
Developers sometimes assume that stripping context traffic might degrade the model's reasoning or truncate critical code diffs. The plugin does not discard semantic context or compress the actual source changes requested by the user. Because it selectively targets redundant transport serialization rather than your prompt data, the Antigravity user interface remains unchanged and code diff integrity experiences zero percent degradation.
Fewer redundant payloads also lead directly to shorter agent execution chains. When models receive leaner context windows free of duplicate serialization overhead, they resolve multi-file refactoring tasks in fewer conversational turns. Across agentic workflows, the plugin produces an average 34 percent drop in total LLM turn counts, which translates to a 31 percent reduction in token consumption.
Prerequisites check#
Before setting up the accelerator, make sure your operating environment meets the runtime prerequisites expected by standard Model Context Protocol tooling. You need Node.js and npm installed and available in your system path.
Check your current Node.js and npm installations from your terminal to confirm your versions are operational:
node -v
npm -v
You must also confirm that your Google Antigravity tools are updated to their latest releases across all form factors you intend to accelerate. The plugin is built to integrate with Google Antigravity CLI, Desktop, and IDE environments, but it relies on modern external Model Context Protocol extension support. If you run legacy Antigravity builds that lack dynamic MCP hooks, the registration handshake will fail to bind.
It is worth noting that agy-fast is an independent open-source utility authored by INK-Q. It is not an internal patch shipped directly by Google's core Antigravity team. Keeping your base Antigravity installation current guarantees that Google's core protocol interfaces match the client definitions expected by INK-Q's package.
Installing the agy-fast package#
You can install agy-fast either globally on your workstation or as a local dependency inside an individual project repository. The source code and packaged distributions are hosted publicly under the repository INK-Q/agy-fast.
If you work across multiple projects and use the Antigravity CLI or Desktop app globally, install the utility using the global flag:
npm install -g agy-fast
For teams that prefer isolating project dependencies or committing explicit tooling manifests to version control, run the installation locally within your workspace root:
npm install agy-fast
When installed globally, npm places the agy-fast executable into your global binary path, allowing Antigravity processes to summon the accelerator command directly. When installed locally, the binary will reside within your project's ./node_modules/.bin/ directory.
Verify that your terminal environment can locate the newly installed executable by requesting its version or help flag:
agy-fast --version
If your terminal displays the command path or release information without an error, the installation is intact. You can now connect the executable to your Antigravity environment settings.
Configuring your Antigravity MCP settings#
Installing the npm package does not accelerate your workflows on its own. You must register agy-fast inside your Antigravity Model Context Protocol settings file so the runtime knows to route context payloads through the utility.
Antigravity stores its MCP server definitions in a JSON configuration file. In most CLI and local project workspaces, this configuration is located at .antigravity/mcp.json. If you are configuring Antigravity globally or using the IDE or Desktop variants, the configuration may live inside your global user profile dotfiles. The exact path depends on your operating system and local dotfile structure.
Open your .antigravity/mcp.json file in your preferred text editor. If the file does not yet exist in your workspace, create it in your project root. Add the agy-fast server configuration inside the mcpServers object:
{
"mcpServers": {
"agy-fast": {
"command": "agy-fast",
"args": ["start"],
"disabled": false,
"alwaysAllow": []
}
}
}
If you installed the package locally rather than globally, you may need to specify the relative or absolute path to the local binary within the command attribute:
{
"mcpServers": {
"agy-fast": {
"command": "./node_modules/.bin/agy-fast",
"args": ["start"],
"disabled": false,
"alwaysAllow": []
}
}
}
Review the syntax before saving. Missing commas, trailing commas, or invalid JSON syntax will prevent the Antigravity configuration loader from parsing your registered servers. Once the file is saved, the Antigravity daemon will attempt to initiate the agy-fast process on its next agentic run.
Verifying the acceleration handshake#
To confirm the plugin is actively intercepting and optimizing payloads, launch your Google Antigravity CLI or open your IDE workspace. Run a standard multi-turn agentic coding prompt, such as refactoring a component across several files or generating unit test suites.
When the agent session begins, watch your active terminal or Antigravity output console. You should see the initialization handshake emitted during the MCP server bootstrap:
[agy-fast] MCP accelerator active: intercepting payload serialization
[agy-fast] Redundant feedback loops pruned: traffic reduced by 40%
[agy-fast] Context handshake verified: agent turns optimized
Observe your session metrics while the task completes. On standard runs without the plugin, you might see repetitive roundtrips re-uploading large file trees. With agy-fast active, the agent should complete the requested edits in roughly one-third fewer turns, reflecting the measured 34 percent reduction.
Token quota monitors will also reflect a slower burn rate, tracking closely with the 31 percent quota reduction reported in project benchmarks. If your terminal completes the prompt without printing the initialization handshake, the Antigravity engine is bypassing the plugin and running on standard unoptimized configurations.
Troubleshooting common setup issues#
The most frequent setup problem is a misconfigured MCP path. If Antigravity runs your prompt but you do not see any acceleration logs, the runtime failed to find .antigravity/mcp.json or could not resolve the agy-fast command name. Check whether your active working directory matches where you placed the .antigravity/ folder. For global workflows, ensure the configuration is placed in your user home directory rather than a nested subdirectory.
A second common issue involves npm binary visibility. When using npm install -g agy-fast, some shell environments do not include the global npm prefix directory in their standard $PATH. You can verify where npm installed the executable by running:
npm list -g --depth=0
If the package is present but running agy-fast directly in your terminal returns a command-not-found error, add your global npm binary path to your shell configuration file, or supply the full absolute file system path to the binary in your .antigravity/mcp.json file.
Finally, verify that other active MCP servers in your configuration are not overriding transport hooks. If you run multiple context providers simultaneously, keep the agy-fast server entry active and set "disabled": false to ensure its proxy hooks retain priority over raw payload serialization.
Practical impact on token quotas#
Running complex agentic loops without payload optimization creates substantial resource waste. Every time an agent inspects a directory, edits a module, and runs a test suite, default configurations re-transmit conversational context and tool schemas. For technical teams running continuous refactoring routines, these repeated payloads quickly deplete daily token limits.
A 31 percent drop in token quota consumption allows you to run nearly one-third more agent operations before hitting hard billing boundaries or API throttling. At the same time, reducing upload traffic by 40 percent reduces latency on slower network links, preventing timeouts during large multi-file updates.
Because the plugin preserves standard diffs and leaves user interface elements untouched, incorporating it requires no workflow adaptations. Developers interact with the Antigravity CLI, Desktop, and IDE applications exactly as they did before, but with lower operating costs and faster turn turnaround times.
Frequently asked questions#
What is the agy-fast plugin?#
It is a non-invasive Model Context Protocol accelerator plugin for Google Antigravity CLI, Desktop, and IDE environments. Developed by INK-Q and published on GitHub, it optimizes agentic feedback loops to reduce execution turns and save token quotas.
How much does agy-fast reduce token usage?#
The plugin reduces LLM token quota consumption by 31 percent during standard agentic workflows. It also cuts upload traffic by 40 percent and decreases total LLM turn counts by 34 percent.
Does agy-fast alter the code diffs or UI in Google Antigravity?#
No. It operates non-invasively by pruning redundant payload serialization over the Model Context Protocol wire. It does not alter your generated code diffs, truncate semantic context, or change any native user interface elements in Antigravity.
How do I install the agy-fast plugin?#
Install the package via npm using the command npm install -g agy-fast for global access, or run npm install agy-fast for a local workspace installation. After installing, add the server configuration block to your .antigravity/mcp.json file.
Does agy-fast work with both the Antigravity CLI and IDE?#
Yes. The plugin supports Google Antigravity across its CLI, Desktop, and IDE environments, provided the installed Antigravity version includes support for external Model Context Protocol extensions.
What environments are required to run agy-fast?#
You need an active Node.js and npm runtime configured on your machine, along with an operational Google Antigravity installation that supports external MCP server registration.
Check your current Node version, install agy-fast via npm, and add the configuration block to your .antigravity/mcp.json file before your next agentic coding session.