Antigravity Telemetry
Real-time LLM telemetry monitor, visual observability dashboard, and storage hygiene for Google Antigravity. Why Telemetry? • Features • Commands • Settings • Installation • Compatibility • Support
⚡ Why Antigravity Telemetry?
✨ Features1. 📊 Live Context & Token Intelligence
2. 📈 Visual Observability Dashboard (Editor Tab)Opens side-by-side with your code (
3. 🤖 Autonomous Subagent & Background Worker OrganizationAntigravity spawns background workers (
4. 🗑️ Zero-Residue Storage Hygiene & Ghost Chat DeletionAntigravity's native delete action often removes only the catalog record while leaving dozens of megabytes of orphaned SQLite databases and Antigravity Telemetry provides true, verified cleanup:
5. 🛸 Multi-Root Support: Antigravity IDE, Extension & CLI
6. 💻 Antigravity CLI Toolkit (
|
| Mode | Where to Run | Command | What It Does |
|---|---|---|---|
| 1. Ambient Statusline | Automatic inside agy |
(Auto-configured) | Renders a live 1-line telemetry bar below agy's native prompt |
| 2. Diagnostic Box Report | Inside agy chatRegular terminal |
!agyt (in agy)agyt (in terminal) |
Prints the full Unicode diagnostic card (in agy, ! executes a shell command) |
| 3. Live Split Monitor | Split terminal pane | agyt -w (or --watch) |
Live auto-refreshing dashboard every 2s with turn-by-turn sparklines |
- Mode 1: Ambient Statusline (
statusline): Hook intoagy's native footer status bar via~/.gemini/antigravity-cli/settings.jsonor/statusline:
Renders live context fill, headroom, cache acceleration, last-turn delta, compaction count, and quota reset timers:"statusLine": { "type": "command", "command": "agyt statusline", "enabled": true, "stack_with_default": true }
With▰▰▰▱▱▱ 28.4% (72.8k/256k · 183.2k free) ⚡ 92% cached 📈 +2.5k 🗜️ 1 (-95k) 🤖 2 active ⏳ Quota: 74% (42m)"stack_with_default": true, the telemetry bar neatly stacks directly below the native CLI line without duplicating the model name (pass--modelto show it,--asciior--shadedfor bar styles,--no-headroomto hide free tokens). Automatically calibrates raw1MCLI windows to Antigravity's true compaction ceiling (256kfor Gemini 3.x,512kfor Gemini 4), works 100% standalone without VS Code installed via~/.gemini/antigravity-cli/telemetry-cache.json+ silent background refresh, and runs non-blocking in< 30mswith anexit 0fail-safe. - Mode 2: Diagnostic Box Report (
!agytinsideagy, oragytin terminal): Type!agytdirectly inside anagysession (the!prefix tellsagyto run a shell command), or runagyt/agy-telemetry reportin any terminal:┌── Context Health & Headroom (CLI Task) ─────────────────────────────────────────────┐ │ [████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 28.4% (72,810 / 256,000 tok) │ │ Status: HEALTHY • Headroom: 183,190 tok free • Compactions: 1 (-95k tok) │ ├── Codebase Impact & Operational Footprint ──────────────────────────────────────────┤ │ 💬 Assistant Replies: 14 (12.4k tok) 📂 Files Read in Memory: 8 (42.1k tok) │ │ 💻 Commands Executed: 6 (8.2k tok) 🖼️ Images Analyzed: 0 (0 tok) │ ├── Turn Dynamics & Prompt Cache Acceleration ────────────────────────────────────────┤ │ ⚡ Cache: 92.5% hit rate (~3.2x faster) • Last Turn: [#14](https://github.com/harshmann10/Antigravity-Telemetry/issues/14) (+2.1k fresh) │ │ 📈 Net Growth: +14.2k tok • Peak Context: 31.2% (79.8k tok) │ ├── Subagent Hierarchy & Headroom (2 active) ─────────────────────────────────────────┤ │ └─ 🤖 DeepCoder (1f3dbb83) [RUNNING] [ 42.1k / 256k · 16.4% ] │ │ └─ 🤖 Codebase Researcher (4c2a118e) [DONE] [ 12.8k / 256k · 5.0% ] │ └─────────────────────────────────────────────────────────────────────────────────────┘ - Mode 3: Live Terminal Split Monitor (
agyt --watch,agyt -w): Runagyt -w(oragy-telemetry --watch) in a split terminal pane (tmux, WezTerm, Windows Terminal) for a flicker-free, in-place auto-updating dashboard with turn-by-turn sparklines and active CLI/IDE sessions every 2 seconds.
⌨️ Command Palette Reference
All features can be triggered from the Command Palette (Ctrl + Shift + P / Cmd + Shift + P):
| Command | Title | Description |
|---|---|---|
antigravity.openDashboard |
Antigravity: Open Full Visual Dashboard | Opens the live side-by-side visual observability editor tab |
antigravity.showMenu |
Antigravity: Telemetry Menu | Opens the two-level QuickPick menu from the status bar |
antigravity.refresh |
Antigravity: Refresh Telemetry | Forces an immediate on-demand re-scan of local databases |
antigravity.deleteConversation |
Antigravity: Delete a Conversation | Prompts a safe session picker to delete files and free disk space |
antigravity.showLogs |
Antigravity: Show Logs | Opens the Antigravity Telemetry OutputChannel |
⚙️ Settings
Customize behavior in VS Code Settings (Ctrl + , $\rightarrow$ search Antigravity):
| Setting | Default | Description |
|---|---|---|
antigravity.dataSource |
"auto" |
Data source: "auto" (active editor + matching/running CLI), "ide", "cli", or "all". |
antigravity.enableCache |
true |
Enable persistent disk caching for instant startup (< 50ms). When disabled, telemetry is freshly re-scanned from SQLite. |
antigravity.deleteToRecycleBin |
true |
Move conversation files to the Windows Recycle Bin instead of deleting them permanently. |
antigravity.workspaceFilter |
"current" |
Filter telemetry to the active workspace project ("current") or show all ("all"). |
antigravity.sqlitePath |
"" |
Custom path to sqlite3 CLI executable. When empty, searches standard paths and PATH automatically. |
📥 Installation
Option 1: Visual Studio Code & VS Code Insiders (Recommended)
Click below to open and install directly inside your editor:
(Or view the web listing on the VS Code Marketplace)
Manual Search & Install:
- Open VS Code or VS Code Insiders $\rightarrow$ Extensions (
Ctrl + Shift + X/Cmd + Shift + X). - Search for
Antigravity Telemetry(Publisher: HarshMann). - Click Install.
Or install via terminal:
# VS Code Stable
code --install-extension HarshMann.antigravity-telemetry
# VS Code Insiders
code-insiders --install-extension HarshMann.antigravity-telemetry
Option 2: Open VSX Registry (VSCodium, Gitpod, Code-OSS)
Install directly from the Open VSX Registry:
- Open your editor $\rightarrow$ Extensions (
Ctrl + Shift + X). - Search for
Antigravity Telemetry(Publisher: HarshMann). - Click Install.
Or install via terminal:
codium --install-extension HarshMann.antigravity-telemetry
# or via ovsx CLI
npx ovsx get HarshMann.antigravity-telemetry
Option 3: Standalone VSIX Package
- Download the latest
.vsixfrom GitHub Releases. - Open VS Code $\rightarrow$ Extensions (
Ctrl + Shift + X) $\rightarrow$ click...(Views and More Actions) at top-right $\rightarrow$ Install from VSIX.... - Select the downloaded
.vsixpackage.
Or install via terminal:
code --install-extension antigravity-telemetry-*.vsix
Option 4: Antigravity CLI (agy Plugin)
Install the 3-in-1 CLI toolkit (statusline, !agyt / report, and --watch) directly into Antigravity CLI (agy)—works standalone without VS Code:
agy plugin install https://github.com/harshmann10/Antigravity-Telemetry
On first session start, the plugin's SessionStart hook automatically configures:
statusLinein~/.gemini/antigravity-cli/settings.json(stack_with_default: true) — renders automatically inagy's footer.agyt&agy-telemetryglobal commands onPATH.
Quick Start After Installing:
# Inside an active agy chat (use `!` to run shell commands from the agy prompt):
!agyt # Print full Diagnostic Box Report
# In any regular terminal or split pane (tmux, Windows Terminal, WezTerm):
agyt # Print full Diagnostic Box Report
agyt -w # Launch Live Split-Pane Monitor (auto-refreshes every 2s)
To cleanly uninstall:
agyt uninstall && agy plugin uninstall antigravity-telemetry
(Or run /statusline delete inside agy and agy plugin uninstall antigravity-telemetry.)
📋 Compatibility & Prerequisites
- Supported Environments: VS Code, VS Code Insiders, VSCodium, Cursor, Windsurf, Gitpod, and standalone Antigravity IDE.
- Operating Systems: Windows, macOS, and Linux.
- Prerequisites:
- Google Antigravity installed (telemetry is auto-detected from
~/.gemini/antigravityand/or~/.gemini/antigravity-cli). sqlite3CLI executable (pre-installed on macOS/Linux; auto-detected on Windows or configurable viaantigravity.sqlitePath).
- Google Antigravity installed (telemetry is auto-detected from
🛠️ Development & Contributing
Running Verification Tests
A zero-dependency test suite verifies protobuf decoding, math calculations, incremental cache parity, and changelog parsing:
node scripts/self-check.js
Runs 384 assertions across 16 sections without external test frameworks.
Rebuilding Dashboard Stylesheet
media/dashboard.css is pre-compiled and committed to guarantee zero runtime dependencies. If you modify Tailwind classes in dashboardHtml.js, re-build it:
npm run build:css
Packaging .vsix
Generate a production-ready .vsix package:
npm run package
💖 Support the Project
If you find Antigravity Telemetry helpful, consider supporting its development:
- ⭐ Star the Repository: Leave a star on GitHub — it helps others discover the project!
- ☕ GitHub Sponsors: Support ongoing maintenance and new features via GitHub Sponsors.
- 💡 Report Issues & Ideas: Spotted a bug or have a suggestion? Open an issue on GitHub Issues.
📄 License
This project is licensed under the MIT License.