agy-usage is a local read-only quota and usage monitoring console for Google Antigravity, provided as an official native plugin and accompanied by desktop and terminal monitoring components. Its purpose is to help users observe quota consumption and Token usage across different model pools in Antigravity, rather than modifying the client or injecting into processes.
Purpose and Monitoring Scope The tool uses a "dual-pool, four-bucket" approach to independently track the quota used percentages, second-level reset countdowns, cycle pacing ratios, and depletion forecasts for Google Gemini (5-hour + 7-day) and Claude·GPT (5-hour + 7-day). The interface does not fabricate a 0% state before real data is received.
Key Capabilities
- Full-form presentation: local web monitoring console (127.0.0.1:18420), macOS native notch-avoiding frosted-glass capsule and menu bar app, Windows desktop mini floating window, adaptive terminal bottom bar.
- Token and cache insights: burn-rate chart for the last 5 hours (10-minute granularity), 24-hour/7-day stacked trends, 7×24 activity heatmap, same-progress week-over-week comparison for natural weeks, per-session round-by-round context growth drawer with CSV export.
- Sharing and alerts: 2× HD redacted battle-report share card generator (light, translucent, dark), deduplicated 80%/95% threshold alerts and quota-recovery desktop notifications.
- Official native plugin: built-in self-contained plugins/agy-usage/, including the /agy-usage Skill and 4 read-only stdio MCP tools.
- Zero third-party runtime dependencies: based on the Python 3.9+ standard library, using an O(1) single-session incremental sharded index, cross-platform single-instance lock and instance identity handshake; the web interface has built-in switching among 11 languages.
Usage Requirements are Google Antigravity and Python 3.9+ installed; for the macOS native floating capsule, optionally install xcode-select --install. Two methods are provided: first, the official native AGY plugin (including /agy-usage and 4 read-only MCP tools); second, the full desktop and terminal monitoring suite (macOS/Linux), and the CLI can also be installed via Homebrew. Windows users can download the archive from Releases; on macOS, right-click to open Start-Mac.command, On Windows, double-click Start-Windows.bat. After installation, open a new Antigravity session, or paste the activation code shown in the top bar of the monitoring console into the current session to sync real-time quota. When upgrading, Homebrew users run brew upgrade agy-usage && agy-usage sync, native plugin users re-run agy plugin install, and script users re-run the installation command; all preserve historical data.
Data and security boundaries The tool claims zero CDP injection, does not modify client disk files, has no default side effects during installation, and uses three layers of data and security boundaries. The local cache directory is ~/.cache/agy-usage/ on macOS/Linux and %LOCALAPPDATA%\agy-usage\ on Windows.
Use cases and limitations Suitable for users who need to continuously observe Antigravity quota consumption, token burn rate, and cache benefits, and also suitable for generating redacted usage reports. The dollar amounts and cache savings in the interface are estimated based on public API reference unit prices, and are only used to measure throughput magnitude and cache benefits; they do not represent official billing. The tool is read-only monitoring and does not provide quota modification or proxy functions. Uninstall: on macOS/Linux run ./uninstall.sh (remote installation path: ~/.local/share/agy-usage/uninstall.sh); on Windows run powershell -ExecutionPolicy Bypass -File .\uninstall.ps1 (remote installation path: %LOCALAPPDATA%\agy-usage\app\uninstall.ps1).