← all repositories
INK-Q/agy-fast

Batching the agent's busywork to cut a third of its turns

agy-fast is a local MCP plugin for Google Antigravity that consolidates an agent's scattered searches, edits, and checks into batched local calls, because most latency comes from round-trips, not generation speed.

★564 stars TypeScript Coding AssistantsLLMOps · Eval
agy-fast
Too new to rank. Velocity needs a few days of history.
not enough history yet
star history

What it does: It’s a zero-dependency TypeScript plugin (CLI, Desktop 2.0, IDE) that exposes five composite MCP tools through a persistent local Stdio server: batched searches, symbol outlines, atomic multi-file edits with verification, and grouped build/test commands. A SessionStart hook also injects a tiny workspace snapshot (git state, two-level tree, scripts) in under 50 ms so the agent skips its usual 49-second opening scavenger hunt. Native UI, diffs, checkpoints, and safety checks stay untouched.

The interesting bit: The authors analyzed 55 real Antigravity sessions (8,446 turns, 17,302 tool calls) and found the bottleneck was structural, not generative: a ~6.1 s median time-to-first-token floor, over half of edit_file calls being same-file splits, and read_file accounting for 81.9% of returned bytes. So the fix is boring and effective: batch 4.89 logical actions per call on average, cap inline output at 8.8 KB to prevent disk spills, and keep fast native reads in place instead of replacing them.

Key highlights

  • Reported -33.7% LLM turns, -31.5% estimated billable quota, -39.7% tool-return upload per action (from 10 days of sanitized before/after transcripts)
  • Zero disk spills across 134 consecutive calls thanks to the hard inline cap
  • Prompt cache hit rate improved from 89.6% to 94.0%, with fewer miss spikes
  • Runs fully offline locally; optional ripgrep speeds up search with a pure-Node fallback
  • Ships an offline benchmark CLI for analyzing your own transcript.jsonl sessions

Caveats

  • Benchmarks are self-reported from the authors’ own transcripts, with quota figures estimated under a specific token weighting (1.0 input, 0.1 cache read, 5.0 output)
  • The baseline and plugin runs differ in scale (14 vs. 7 main sessions), which the README acknowledges but doesn’t fully neutralize
  • Requires Node.js >= 20 and only applies to the Antigravity ecosystem

Verdict: If you use Google Antigravity daily and are burning quota or waiting on round-trips, this is a well-instrumented fix worth trying, and the analysis report alone is instructive. Everyone else can read it as a case study in where agent latency actually goes.

Frequently asked

What is INK-Q/agy-fast?
agy-fast is a local MCP plugin for Google Antigravity that consolidates an agent's scattered searches, edits, and checks into batched local calls, because most latency comes from round-trips, not generation speed.
Is agy-fast open source?
Yes — INK-Q/agy-fast is open source, released under the MIT license.
What language is agy-fast written in?
INK-Q/agy-fast is primarily written in TypeScript.
How popular is agy-fast?
INK-Q/agy-fast has 564 stars on GitHub.
Where can I find agy-fast?
INK-Q/agy-fast is on GitHub at https://github.com/INK-Q/agy-fast.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.