Skip to content
BobbyCatsPublic

About

Local quota burn audit, live cache-TTL cockpit, inline WAL Undo & Rust MCP accelerator for Google Antigravity (App & CLI) — keeps native diffs in Observe/Safe mode.

Topics

Resources

Contributing

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

AGY Hyper — Before (151K blind reads & cold cache) vs. With AGY Hyper (live cache meter, inline WAL Diff & 1-click Undo)



AGY Hyper

Local Quota Burn Audit, Live Cross-Client Session Radar, Inline WAL Undo & Rust MCP Accelerator for Google Antigravity (App & CLI)

CI Release License: MIT Antigravity App + CLI Rust Follow on X

English · 简体中文 · Quick Install · Live Radar & Naming · CLI Support · Analysis Report · Security · Benchmarks · Uninstall


Find out why your Antigravity quota drains so fast — without giving up native inline diffs.

Analyzing 80 real local sessions (4,184 turns) exposed two hidden killers: half of coding sessions load 151k+ tokens of exploratory file reads before editing a single line, and each model family's prompt cache drops off a different cliff (~90s on Carbon, ~120s on Opus, ~180s on Neon/Argon). AGY Hyper gives you a 10-second offline burn audit (agy-hyper audit --png audit.png / --svg), a live sidecar/terminal cache meter, crash-safe BLAKE3 WAL line-level Diff Undo, and layered Rust MCP acceleration (Observe / Safe / Balanced / Hyper).

First-Edit Context Bloat Empirical Cache TTL Cliffs Native Diffs Preserved Local Engine & CLI
151.4k P50
241.3k P90 · 44.9% File Reads · Report
90s / 120s / 180s
Carbon / Opus / Neon · 38% spend uncached
Observe & Safe
Zero native-diff loss · Inline WAL Diff in Hyper
0.13ms UDS RTT
App Sidecar + agy CLI (v1.5.14 verified)
AGY Hyper Deck Live Sidecar, Context X-Ray, Inline WAL Unified Diff, and 10s Local Burn Audit SVG

100% Official Antigravity Plugin Protocol: Built strictly on native MCP, Lifecycle Hooks, Rules, and SIDECAR_UI_ENTRYPOINT_AUX_PANE (agy plugin validate --strict passes with 0 warnings). Zero Electron DOM injection, zero --remote-debugging-port, zero edits to ~/.gemini/config/config.json, and 100% offline.


Install in One Line

Start in zero-intrusion Observe mode (live cockpit, burn audit & passive WAL capture — native tools and inline diff cards untouched) or install the default Balanced mode:

# Recommended first try: zero-intrusion Observe mode (macOS & Linux)
curl -fsSL https://raw.githubusercontent.com/BobbyCats/agy-hyper/main/install.sh | bash -s -- --observe

# Standard Balanced mode (macOS & Linux)
curl -fsSL https://raw.githubusercontent.com/BobbyCats/agy-hyper/main/install.sh | bash
# Windows (PowerShell; set `$env:AGY_HYPER_OBSERVE="1"` first for Observe-only mode)
irm https://raw.githubusercontent.com/BobbyCats/agy-hyper/main/install.ps1 | iex
# Prefer building from source? (Zero prebuilt binary needed)
git clone https://github.com/BobbyCats/agy-hyper.git && cd agy-hyper && ./install.sh --observe

Works standalone or alongside other MCP plugins: Already using other MCP tools or accelerators? Keep them — install AGY Hyper in --observe mode to run side by side with zero tool-call overlap, while keeping native inline diffs untouched and adding live cache-TTL countdowns, 10-second local burn audits, Context X-Ray, and passive WAL file undo.

Antigravity CLI (agy) Support

Verified end-to-end on agy v1.5.14 (agy plugin validate --strict passes with 0 warnings; scans ~/.gemini/{antigravity,antigravity-ide,antigravity-cli}/brain/):

  • install.sh / install.ps1 automatically detects agy on your PATH and runs agy plugin enable agy-hyper.
  • Attach the <2ms live context & cache-TTL status bar to your terminal:
    agy-hyper cli-setup --apply   # writes statusLine & title to ~/.gemini/antigravity-cli/settings.json (backs up first)
  • Open the full visual cockpit (ECharts, Context X-Ray, inline WAL Diff Undo & SVG export) in your browser anytime:
    agy-hyper ui                  # http://127.0.0.1:47821

Security & Transparency

We know running any local binary next to your coding workspace requires real trust:

  • Auditable builds: Every release archive is built in public GitHub Actions (.github/workflows/release.yml), paired with SHA256SUMS (verified by install.sh/install.ps1 before atomic swap) and GitHub Artifact Attestations. Don't want a prebuilt binary? Clone and run ./install.sh to compile locally from 100% open-source MIT Rust code.
  • Zero telemetry / zero cloud uploads: All transcripts, WAL snapshots, usage ledgers, and SVG audit cards stay strictly on disk under ~/.gemini/antigravity/agy-hyper/.
  • Strict workspace jail, PLUGIN_ROOT guard & Secret Shield: MCP tools cannot escape your workspace root, fail fast if a host spawns MCP inside the plugin install directory / $HOME / / without passing workspace, disable shell execution in hyper_check (allowlisted build/test tools only), and shield .env / key files by default.

AI One-Click Install

Paste this prompt into Antigravity (App or CLI), Claude Code, Codex, or Cursor to install and verify automatically via SKILL.md:

Read https://raw.githubusercontent.com/BobbyCats/agy-hyper/main/SKILL.md and install AGY Hyper in --observe mode using the platform installer (install.sh on macOS/Linux or install.ps1 on Windows), then run agy-hyper doctor and agy-hyper audit and report the results.

Terminal essentials:

agy-hyper audit --share           # 10s local burn audit + anonymized 2x Health Badge PNG (zero paths/UUIDs)
agy-hyper audit --png audit.png   # full 2x Retina diagnostic PNG (1920x1200, pure Rust)
agy-hyper radar                   # live 5-state radar across Antigravity & Codex (Waiting/Stalled/Unread/Running)
agy-hyper menubar status          # inspect native 120Hz macOS MenuBar companion (start|stop|status)
agy-hyper namer sync              # auto-name recent default-titled sessions (<Emoji> <Code>·<Object>|<Goal>)
agy-hyper sessions --query "auth" # <15ms CJK-ready full-text search across Antigravity & Codex threads
agy-hyper doctor --net            # audit plugin/hook conflicts, skill load, daemon RTT & dual-stack stream health
agy-hyper update                  # SHA-256 verified 1-click release upgrade (--check to inspect only)
agy-hyper tx diff <tx_id>         # inspect line-level unified diff for any WAL snapshot before undo
agy-hyper bench --cache-ttl       # inspect empirical per-model prompt-cache TTL decay curves
agy-hyper usage --window 7d       # view 24h / 7d / 30d / 90d tokens & API-equivalent value
agy-hyper ui                      # launch AGY Hyper Deck standalone at http://127.0.0.1:47821

Local Burn Audit, Split-Cache Diagnostics & Anonymized Share Card (agy-hyper audit)

Run agy-hyper audit --days 14 --png audit-card.png (or --svg audit-card.svg) to audit your Antigravity transcripts 100% locally (zero cloud uploads, zero external Chrome/ImageMagick deps). In v0.6.0, it measures empirical per-model cache TTL cliffs, uncached input spend, calibrated Pre-Edit Bloat Delta (pre_edit_delta_p50_tokens) (separating true pre-edit blanket-read growth from heavy Turn-1 skill/MCP baselines), Upstream Stream Resets / EOF Retry Stalls, and Split-Session / Orchestrator-Executor & Model-Switch cache drops (quantifying cache-hit drop and uncached token penalties across intra-session model switches and parent-to-subagent handoffs).

Need a clean Health Badge you can share without leaking local context? Run agy-hyper audit --share (writes agy-hyper-share-card.png at 1920x1080, or pass --share-svg badge.svg / --share-png badge.png): it stamps an objective severity verdict (BLEEDING / WATCH / HEALTHY) alongside Cache Hit %, First-Edit Blind Read P50, Split/Switch Cache Drop, and Top Quota Drain while enforcing hard code-level redaction (zero filesystem paths, zero usernames, zero repo/workspace names, zero conversation UUIDs, zero prompt snippets).

AGY Hyper Local Telemetry Burn Audit Card

Live Session Radar, macOS MenuBar & Smart Auto-Naming (v0.6.0)

When workspace folders are collapsed in Antigravity — or when you run tasks across both Antigravity and Codex — active agents, approval prompts, and newly completed tasks disappear behind closed folders, while default chat titles pile up into an unsearchable list. v0.6.0 solves both in Hyper Deck and a native 120Hz SwiftUI macOS MenuBar companion (AGYHyperBar):

  • 5-State Cross-Client Live Radar (AGYHyperBar + Hyper Deck): Surfaces Waiting (approval / ask_question), Stalled (>=90s silent tool/subagent), Unread (finished runs >=8s awaiting review), Running, and Recently Active sessions across Antigravity & Codex even when sidebar folders are collapsed. Includes subtle completion/approval earcon chimes (1-click mute), 1-click window focus (⌥+Click splits right in Antigravity; codex://threads/<id> opens Codex), three 60/120Hz open-source motion presets (Waveform / Bars / Ripples), shared en / zh-CN / ja i18n, and automatic macOS LaunchAgent login startup (Apple Silicon M1–M4 & Intel, macOS 14+).
  • Zero-MCP Fast Smart Session Auto-Naming (agy-hyper namer & 🪄): Automatically renames default-titled windows on Turn 1 and during active /swarm runs into structured <Emoji> <Prefix>·<Object>|<Goal> titles (~2.6s via an isolated zero-MCP HOME sandbox + deterministic pure-Rust fallback). Preserves SQLite (last_modified_time, last_user_input_time) when renaming idle sessions so sidebar sort order never drifts, respects manual user renames (--force to override), and supports optional workspace prefix rules via ~/.gemini/antigravity/agy-hyper/session_registry.json.
  • <15ms CJK-Ready Cross-Client Session Search (agy-hyper sessions): Instant substring and multi-token search across Antigravity (conversation_summaries.db + brain/) and Codex (state_*.sqlite + sessions/), filterable by --client, --group, and --days.
AGYHyperBar 120Hz macOS MenuBar Live Radar & Smart Session Naming (English & Simplified Chinese)

AGY Hyper Deck (Native Sidecar Cockpit)

Docked directly in Antigravity's auxiliary pane via SIDECAR_UI_ENTRYPOINT_AUX_PANE (plus interactive inline MCP Apps (SEP-1865) cards via hyper_cockpit), powered 100% offline by Apache ECharts 6 and i18next (English / 简体中文 / 日本語, zero CDN). Luminance-synced with your host Light/Dark theme.

  • Layered Zero-Intrusion Design & 1-Click Verified Upgrade (v0.6.0): start in Observe mode (read-only cockpit + live session radar + burn audit + passive WAL capture; native tools & diff cards untouched), switch to Safe (bundled reads & preset checks while keeping native edit_file inline diffs), or unlock Balanced / Hyper full Rust MCP acceleration — plus granular per-tool toggles (MCP Read, MCP Edit, MCP Check, Release Update Radar) under Engine. When a new release ships, a non-blocking GitHub redirect tag check (zero REST API rate-limit burn, zero hook latency) lights up a subtle ↑ vX.Y.Z topbar badge for 1-click SHA256SUMS-verified upgrade and seamless Sidecar + MenuBar reload.
  • Simple Mode keeps daily essentials front and center: context level, Turn P50 (with 3-segment LLM / Local Tools / Stream Retry · EOF latency bars), step vs. session cache hit rate, linked Subagent & run_workflow Fleet Tree strip (rolling up synchronous & backgrounded wf:* workflow nodes alongside /swarm & subagent children, splitting Coordinator vs. Fleet cost, surfacing Shared-Workspace Write-Race collision pills, highlighting STALLED subagents silent >=90s and LOOP ×N crash-looping subagents with 1-click Rescue prompt copy, plus orchestrator→executor split-cache drop badges), session/tree usage ribbon with quick currency switch, auto-calibrated per-model cache warmth bar (empirical vs. default TTL badge & loop-guard alerts with 1-click Copy Pivot), 4-mode layered profile switch, and inline WAL Unified Diff preview + 1-click Undo.
  • Pro Mode opens five deep telemetry tabs: Waterfall (3-segment LLM Inference vs. Local Tools vs. Stream Retry / EOF attribution so network/proxy resets are immediately distinguished from model or tool slowdowns), Context (dual-axis cached/uncached curve + Context X-Ray composition bar with net pre-edit delta + live Split-Session & Model-Switch Cache breakdown), Usage (24H / 7D / 30D / 90D incremental ledger across 8 currencies, manual Sync FX, plus Local Burn Audit & TTL Cliffs with calibrated severity verdict, stream-reset pill, Split-Cache & Model-Switch diagnostics, and 1-click Anonymized Share Card PNG/SVG export & inline preview), Engine (AST/pack/singleflight pre-warm hits, release update check & granular MCP layer switches), and WAL & Audit.
Simple · Empirical TTL, 4-Mode Switch & Inline WAL Diff (Dark)
~180s empirical TTL · Observe/Safe/Balanced/Hyper · Expandable Unified Diff & 1-click Undo

AGY Hyper Deck Simple Dark
Simple · Clean Light Cockpit & Delta Chips (Light)
Luminance-synced light theme · Empirical warmth bar · Native i18next

AGY Hyper Deck Simple Light
Pro · Usage Ledger, Burn Audit & Model TTL Cliffs
Multi-currency ledger · Empirical TTL pills · Top findings · 1-click Export Card (.svg)

AGY Hyper Deck Usage Ledger and Burn Audit
Pro · Context Efficiency & Context X-Ray Composition
Dual-axis cached/uncached curve · Post-compact X-Ray · 1st-edit load & blanket-read count

AGY Hyper Deck Context X-Ray
More Views: Pro Turn-by-Turn Execution Waterfall
AGY Hyper Deck Pro Waterfall

How It Works

AGY Hyper Core Mechanics — Semantic Packing, 3-Phase Atomic WAL, Zero-Trust Sandbox, Adaptive Telemetry

  1. Single-Pass Semantic & Symbol-Sliced Pack (hyper_pack): One parallel scan combines embedded ripgrep, 7 compiled Tree-sitter grammars (Rust, TypeScript/TSX, JavaScript, Python, Go, JSON), multi-language 1-hop import neighbors, gix hotspots, and inline source slices. Passing symbols=[...] (or focusing <=2 files) inlines fuller AST-sliced symbol bodies (up to ~2.4KB per symbol with exact L<start>-<end> line ranges) so the agent can hyper_edit on the very next turn without calling read_file. Payloads stay strictly <= 8.5KB; token-normalized query keys and (mtime_ns, byte_len, HEAD) freshness checks return warm daemon LRU hits in 14ms.
  2. 3-Phase Atomic WAL & Shared-Workspace Write-Race Guard (hyper_edit): Acquires an exclusive flock with BLAKE3 ETag CAS and BOM/CRLF preservation, fsyncs pre-image bytes to the WAL journal, then stages temp files and commits via atomic rename. On ENOSPC or permission errors, temp files are dropped and live files remain untouched. Every commit runs <1ms Tree-sitter syntax verification, records per-session writer_id across both hyper_edit and edit-scoped PostToolUse (edit_file|write_file) hooks without thrashing workspace revisions on read-only commands, and feeds detect_write_collisions + PreInvocation [AGY Hyper Write-Race Guard] whenever parallel /swarm or run_workflow writers race on shared workspace files.
  3. Compile-Time Zero-Trust Sandbox, Singleflight Pre-Warm & Anti-Hang Watchdog: gix is linked with write-ref and network transports compiled out (zero git subprocesses). A strict realpath jail blocks ../, symlink escapes, $HOME// root workspaces, and dangling directory symlinks; Secret Shield blocks .env, *.pem, *.key, and id_rsa by default while allowing .env.example. hyper_check runs with shell: false, coalesces concurrent Tier-2 250ms speculative pre-warm runs via a lock-free Condvar singleflight coordinator (eliminating duplicate cargo check lock contention), guards test/script runs with smart silence (idle_timeout_secs) and dual-condition fatal-hang (fail_fast) watchdogs, and kills entire process trees (setsid / taskkill /F /T) on abort, timeout, or cancellation.
  4. Lock-Free Telemetry, Fleet/Workflow Rollup, 3-Segment EOF Waterfall & Non-Blocking Update Radar: Snapshot polling (backed by a mtime-fingerprinted brain/ directory cache that links synchronous and backgrounded run_workflow nodes to their parent session trees and splits Coordinator vs. Fleet spend), CLI StatuslinePulse, rollbacks, and incremental byte-offset usage aggregation (usage_ledger.json v2, 180-day retention, 8 currencies) run outside the daemon state mutex. Transcript scans separate upstream stream EOF/timeout retry backoff (up to 600s retry storms) from llm_inference_ms and tool_exec_ms, calibrate pre-edit bloat deltas, and feed agy-hyper doctor [--net] (which audits competing plugin hooks/rules, active .git-bounded SKILL.md scope & canonical same-target skill aliases, and dual-stack IPv4/auto stream TTFB). SessionStart reads local update_state.json in <0.1ms with zero synchronous network latency.

Architecture

AGY Hyper System Architecture

Five Focused MCP Tools (<= 8.5KB Inline Contract)

Compact tool schemas are pre-inlined in plugin/rules/AGENTS.md so the agent invokes them immediately without spending a schema-discovery turn.

Tool Mode Purpose
hyper_pack read-only Single-pass ripgrep + Tree-sitter AST outlines & symbols=[...] full body slices (L<start>-<end>) + 1-hop imports + gix hotspots + BLAKE3 etags.
hyper_search read-only Multi-pattern parallel ripgrep, gitignore-aware file globbing, and zero-subprocess gix read-only Git inspection.
hyper_edit atomic WAL Multi-file exact or Tree-sitter symbol edits with BLAKE3 ETag CAS, BOM/CRLF preservation, WAL journal, and <1ms syntax check.
hyper_check sandboxed Auto-discovered safe presets (cargo:check, pkg:test, py:pytest, go:vet, monorepo scopes) with Singleflight Tier-2 pre-warm coalescing, smart idle_timeout_secs & fail_fast watchdogs, and h_xxxx spill handles.
hyper_tx undo / drill List WAL edit ledger, atomically rollback any tx_id, or 1ms slice/grep into spilled check handles.

Reproducible Benchmarks

Measured on Apple Silicon (release LTO build, cold MCP process spawn included) via ./bench/run-bench.sh; GitHub Actions CI verifies Rust tests, Sidecar JS/i18n/HTML compilation, and release builds on Ubuntu, macOS, and Windows:

Operation Measured Wall Time Notes
Daemon RPC ping (agy-hyper daemon status) 0.12 ms Singleton UDS on Unix · token-authenticated loopback TCP on Windows
hyper_pack (warm Daemon AST + pack cache HIT) 14 ms Full MCP stdio spawn + initialize + response
hyper_search + gix read-only Git (1 call) 20 ms vs 43 ms baseline git status && git log && grep -rn (2.2x faster)
hyper_pack (cold single-pass ripgrep + AST + slices + gix + 1-hop) 58 ms Zero external rg or git binaries
agy-hyper statusline (warm Daemon pulse + CLI stdin) 4.2 ms Full process exec + lock-free UDS RPC + ANSI/plain-title render (always exits 0)
Full Rust unit & security chaos suite (102/102) 2.3 s Covers ENOSPC staging, dangling symlinks, 4-lang 1-hop, symbol-sliced packs, WAL rollback & shared-workspace write-race detection, singleflight pre-warm, idle/fail-fast watchdog, multi-runner semantic digest classification, stream EOF waterfall & pre-edit delta calibration, run_workflow fleet tree linkage, subagent crash-loop watchdog & 1-shot daemon notifier, 5-state cross-client session radar, CJK session index, zero-MCP Connect-RPC auto-namer, MCP Apps (SEP-1865) UI, empirical TTL migration, Context X-Ray, Loop Guard, CLI statusline, pure-Rust 2x PNG/share audit export, release update radar, and MCP PLUGIN_ROOT/$HOME/SSH guards

Controlled End-to-End Paired A/B (agy CLI)

Three real engineering tasks executed back-to-back on identical detached git worktrees (gemini-4-neon-medium, agy v1.5.14, shared pre-warmed CARGO_TARGET_DIR, 3/3 pass and 0 tool errors on both arms):

Task Native Antigravity AGY Hyper (Balanced) Delta
T1 · Cross-module security trace (read-only) 9 turns · 24 tools · 460.8K total ctx · 136.4s clean* 5 turns · 13 tools · 187.8K total ctx · 87.0s -44.4% turns · -45.8% tools · -59.2% ctx · -36.2% clean time
T2 · Multi-file --scale CLI feature + test 7 turns · 16 tools · 218.4K total ctx · 142.0s 6 turns · 10 tools · 180.0K total ctx · 101.3s -14.3% turns · -37.5% tools · -17.6% ctx · -28.7% time
T3 · Two-bug production fix + test 6 turns · 7 tools · 191.9K total ctx · 68.6s clean* 6 turns · 8 tools · 168.6K total ctx · 90.5s = turns · -12.1% ctx · -8.2% uncached (short 2-file fix)
Total (3/3 pass vs 3/3 pass) 22 turns · 47 tools · 871.0K ctx (147.9K uncached) · 347.0s clean* 17 turns · 31 tools · 536.4K ctx (132.6K uncached) · 278.8s -22.7% turns · -34.0% tools · -38.4% total ctx · -10.3% uncached · -19.7% clean time

* Clean time strips 3 transient upstream API retry stalls observed in the Native arm (~53s in T1, ~107s in T3; 0 retries in the AGY Hyper arm; raw wall time was 507.0s vs 278.8s, -45.0%). Biggest wins appear on multi-file exploration and cross-file read-edit-test loops; narrow 2-file fixes with explicit test line numbers already take short tool paths.

Reproduce on your own repository:

./bench/run-bench.sh /path/to/your/repo
CLI Reference, Telemetry Methodology & Supply-Chain Discipline
agy-hyper doctor [--net] [--json]               # Tree-sitter, gix, plugin/hook conflict audit, skill load & optional stream probe
agy-hyper update [--check] [--dismiss <ver>] [--version <ver>] [--json]  # SHA-256 verified release check / 1-click upgrade
agy-hyper daemon start|stop|status              # Manage the shared local Rust daemon
agy-hyper menubar start|stop|status             # Manage the native 120Hz macOS MenuBar radar companion (AGYHyperBar)
agy-hyper radar [--recent 8] [--ack <id>] [--json]  # Inspect 5-state live cross-client session radar
agy-hyper namer sync [--limit 16] [--json]      # Queue smart auto-naming for recent default-titled sessions
agy-hyper namer run <conversation_id> [--force] [--json]  # Immediately generate or refresh a session title
agy-hyper sessions [--query <q>] [--client all|agy|codex] [--group <g>] [--days N] [--json]  # <15ms CJK session search
agy-hyper ui [--port 47821]                     # Launch AGY Hyper Deck standalone in browser
agy-hyper audit [--days 14] [--sessions 80] [--share [card.png]] [--share-png card.png] [--share-svg card.svg] [--png card.png] [--svg card.svg] [--theme dark|light] [--json]
agy-hyper usage [--window 24h|7d|30d|90d] [--currency CNY] [--json]
agy-hyper bench [--sessions 10] [--svg waterfall.svg] [--cache-ttl] [--json]
agy-hyper statusline [--format compact|rich|json] [--title] [--no-color]
agy-hyper cli-setup [--apply] [--format compact|rich]  # Print or opt-in apply Antigravity CLI statusLine & title config
agy-hyper tx list                               # Inspect BLAKE3 WAL transaction ledger
agy-hyper tx diff <tx_id> [--json]              # Print line-level Unified Diff for any WAL transaction
agy-hyper tx rollback <tx_id> [--force]         # Atomically restore files to pre-edit bytes
agy-hyper config show                           # Print active configuration
agy-hyper config profile observe|safe|balanced|hyper    # Switch layered cockpit / MCP acceleration mode
agy-hyper config toggle enable_mcp_read|enable_mcp_edit|enable_mcp_check|enable_update_check true|false
agy-hyper config currency USD|CNY|JPY|EUR|GBP|HKD|SGD|KRW
agy-hyper config fx <CODE> <RATE_PER_USD>       # Set custom offline FX override
  • Ground-Truth Context & Compaction: reads live input_tokens + cache_read_tokens directly from Antigravity's latest PLANNER_RESPONSE, resets counters on /compact, explains cross-model cache re-warming, excludes user-initiated cancellations, and tags transient network events (proxy_reset, stream_timeout) explicitly.
  • Honest Usage & Multi-Currency Estimates: incremental byte-offset scanner aggregates local transcripts into usage_ledger.json with zero background telemetry uploads. Legacy turns without model tags are counted in token totals and excluded from cost (attribution % shown transparently). Currency FX defaults to offline reference rates and only fetches live rates when you click Sync FX manually.
  • Honest Paired TPS & 3-Segment Waterfalls: retry_backoff_ms isolates upstream stream EOF/timeout retry stalls (up to 600s) from llm_inference_ms (net model inference) and tool_exec_ms (first tool dispatch -> final tool completion). Excluded human idle spans (>180s without transport errors) are removed from both numerator and denominator.
  • Supply-Chain Discipline: zero silent background self-installation; Release Update Radar only checks release tags via GitHub Location redirects (disable anytime with enable_update_check: false or AGY_HYPER_NO_UPDATE_CHECK=1), and upgrades run only when you explicitly invoke agy-hyper update or click Update Now, verifying SHA256SUMS before atomic inode swap.

Uninstall & Preserved Files

Remove AGY Hyper cleanly at any time:

# macOS & Linux (preserves config, usage ledger & WAL undo snapshots)
curl -fsSL https://raw.githubusercontent.com/BobbyCats/agy-hyper/main/install.sh | bash -s -- --uninstall

# macOS & Linux (complete purge including runtime state & WAL snapshots)
curl -fsSL https://raw.githubusercontent.com/BobbyCats/agy-hyper/main/install.sh | bash -s -- --uninstall --purge
# Windows PowerShell (preserves config, usage ledger & WAL undo snapshots)
$env:AGY_HYPER_UNINSTALL = "1"; irm https://raw.githubusercontent.com/BobbyCats/agy-hyper/main/install.ps1 | iex

# Windows PowerShell (complete purge)
$env:AGY_HYPER_UNINSTALL = "1"; $env:AGY_HYPER_PURGE = "1"; irm https://raw.githubusercontent.com/BobbyCats/agy-hyper/main/install.ps1 | iex
  • Removed: stops the local Rust daemon, AGYHyperBar macOS MenuBar companion (and ~/Library/LaunchAgents/com.agyhyper.menubar.plist), and Hyper Deck sidecar; deletes ~/.gemini/config/plugins/agy-hyper; removes ~/.local/bin/agy-hyper / ~/.local/bin/agy-hyper-bar (Unix) or the plugin bin entry from User PATH (Windows).
  • Preserved by default: ~/.gemini/antigravity/agy-hyper/ (config.json, usage_ledger.json, and wal/ undo snapshots) so your custom rates and file backups stay safe unless you pass --purge (-Purge). ~/.gemini/config/config.json is never modified at install or uninstall.

Author, Contributing & License

Built in public by BobbyCat (@BobbyCat2025 on X · GitHub). If AGY Hyper helped you spot a hidden quota drain (or saved a late-night refactor with 1-click WAL Undo), come say hi on X — I share Rust AI tooling, Antigravity workflow breakdowns, and the empirical logs behind them.

☕ Enjoying AGY Hyper? Buy Me a Coffee (WeChat Tip QR)
Buy BobbyCat a coffee via WeChat

  • MIT Licensed & PRs Welcome: AGY Hyper is 100% open source under the MIT License — free for personal and commercial use on any work machine. Contributions for additional Tree-sitter grammars, preset runners, translations, and Windows/Linux testing are very welcome; see CONTRIBUTING.md.
  • Acknowledgments: Initial exploration into Antigravity latency optimization was sparked by INK-Q/agy-fast. Big thanks to the open-source community for pushing AI tooling forward.

MIT © BobbyCats & AGY Hyper Contributors.

About

Local quota burn audit, live cache-TTL cockpit, inline WAL Undo & Rust MCP accelerator for Google Antigravity (App & CLI) — keeps native diffs in Observe/Safe mode.

Topics

Resources

Contributing

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages