Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL

zou172866/agy-dart

Developer Tools

Antigravity plugin that trims tool output, monitors prompt cache and recovery, cutting token use for Antigravity users.

This project ships 1 agent skillsSkill list and install →
104
5
JavaScript
MIT
3 days old

What it does

agy-dart is a plugin for Google Antigravity that works in the background during normal chat and coding. It batches multi-term searches and multi-file edits, strips noisy terminal and log output down to relevant lines while keeping full logs locally, and returns compact outlines before reading large files. Additional features include local section search for long documents, local script filtering for multi-MB logs and JSON, workspace summaries at the start of new chats, secret masking, and optional .env read blocking.

The plugin also watches the host's prompt cache: it keeps headers stable, avoids re-reading unchanged files, and shows remaining context, cache-expiry time, and blocked-noise volume in a side panel. Optional keepalive sends periodic pings before cache expiry. When a chat stalls or crashes, a panel action copies a progress summary for continuing in a new chat.

Install

Use Node.js 22.16+ within the 22.x line or Node.js 24+. The installer checks that the built-in SQLite has FTS5 with the trigram tokenizer, and the plugin otherwise uses only built-in modules. One-line scripts are install.ps1 for Windows PowerShell and install.sh for macOS/Linux. Alternatively, clone tag v1.7.0 and run node scripts/install.mjs install; on Windows add --install-rg if rg is missing. The CLI route is:

git clone --branch v1.7.0 --depth 1 https://github.com/zou172866/agy-dart.git
cd agy-dart
node scripts/install.mjs install
node scripts/install.mjs doctor

Restart or reload Antigravity and open a new chat. Indexed content and usage history live in ~/.agy-dart/context.db and survive uninstall by default.

Configuration

Automatic cache keepalive is off by default; enable it per chat in the agy-dart Context panel, with Global Warm as the default for chats without an override. Each keepalive requests an OK reply and consumes model input. Preset read limits and tool-loading behavior are set by CLI, for example mode balanced-16k for outline-first reads above 16 KB, or tool-loading lazy to load all 12 tools on demand. The installer writes host configuration; for Claude Code and Codex targets it records undo metadata in ~/.agy-dart/<host>-install.json.

Constraints

  • The plugin targets Antigravity, with explicit --target claude|codex for other hosts in the v1.7 CLI.
  • Keepalive and desktop alerts consume model input and are opt-in; expiry alerts are silenced when warming is off for a chat.
  • Local data is retained after uninstall; clear it with ctx_purge (per chat) or ctx_purge with scope: "all" (all projects).
  • Prior installs of agy-fast or antigravity-plugin-context-mode should be disabled to avoid conflicts.
  • Licensed MIT, with adapted MIT code from two other projects noted in the third-party notices.

HotRepo's take

There is no daily-rank record, and the only tracked snapshot is a new-project entry on 2026-11-24 with 3 stars gained in about 1.5 hours, reaching 103 stars and 5 forks. That is too short a window to say anything about sustained growth or adoption. The technical claim worth noticing is that the plugin's responses are capped at 8.8 KB to stay under Antigravity's roughly 10 KB tool-output spillover threshold; that is a concrete, host-specific design decision rather than a generic token-saving pitch.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

You might also like

  1. WhiteBr1ck/agy-powertoolsAn Antigravity 2.0 plugin adding Chinese localization, compact chat layout, context and cache meters, session branching, and local usage dashboards.JavaScript103
  2. aishadiaodeqishui/agy-monitorA read-only side-panel plugin for Antigravity that tracks context usage, multi-agent sessions, themes and wallpapers.JavaScript103
  3. ATtacK030130/antigrative-dashboardA local widget for Antigravity that shows token throughput, cache hits, context usage and quota windows next to the model selector.JavaScript106
  4. INK-Q/agy-fastAn MCP plugin that batches tool calls and injects a startup snapshot to cut Antigravity's LLM turns, token use and latency.TypeScript122
  5. nkjDSLcvanv/antigravity-codex-themeAdds Codex light/dark themes, Chinese UI, and live token telemetry to Google Antigravity without modifying the app bundle.JavaScript107