Skip to content
| Marketplace
Sign in
Visual Studio Code>Machine Learning>Antigravity Private Cockpit – 100% Offline AI Quota MonitorNew to Visual Studio Code? Get it now.
Antigravity Private Cockpit – 100% Offline AI Quota Monitor

Antigravity Private Cockpit – 100% Offline AI Quota Monitor

defu

|
4 installs
| (1) | Free
🔒 100% Offline & Private AI Quota Monitor for Antigravity IDE. Zero telemetry, zero external network requests, zero token leaks. Real-time Gemini & Claude quota tracker with a gorgeous bilingual dashboard.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🛸 Antigravity Private Cockpit

CI & Quality Gate Open VSX Privacy First Zero Telemetry Factual Audit No Ads Bilingual License: MIT

🔒 100% Pure Local & Offline AI Quota, Physical Token Audit, Multi-Model Context Quota Governance, and Real-time Velocity Telemetry Cockpit.
Zero external network requests, zero telemetry tracking, zero token leakage risk, zero synthetic weighting, and 100% ad-free. Connects directly to your local Antigravity Language Server daemon with Netstat-PID instantaneous handshake and physical SQLite-WAL differential velocity measurement.

🌐 切换至中文文档 (README_zh.md)


📸 Visual Preview

📍 1. Compact Native Status Bar Telemetry

Official vector brand geometry · Pure 🧠 Context Quota% gauge · Independent digit coloring · Real-time physical velocity · Zero deadzone Status Bar Integration

🛸 2. Interactive Quota & Token Dashboard

14 dynamic models discovery · Real-time context quota telemetry · Factual SQLite-WAL Token audit Dashboard Preview


💎 7 Key Architectural Pillars

1. 🔒 100% Offline & Private (Zero Outbound · Zero Telemetry)

  • 0 External Requests: Pure loopback communication (127.0.0.1) directly with the local daemon;
  • 0 Telemetry & Analytics: Absolutely no tracking scripts, ping analytics, or remote log collection;
  • In-Memory Credentials: CSRF tokens reside purely in memory.

2. 🧠 Real-Time Context Quota & Saturation Telemetry (v2.0.0)

  • Dynamic Multi-Tier Saturation Alerts: Instantaneous computation of context window utilization with threshold warning;
  • Multi-Model Context Adaptors: Built-in capacity adaptors for Google Gemini (1M/2M), Claude (200K), GPT-4o (128K), and DeepSeek (64K);
  • Monotonic High-Water Mark & 0-Rollback Storage: Persistent Memento storage eliminates rollback across IDE restarts and window reloads.

3. 📸 Smart Context Snapshot & Dual-Mode Compatibility (v2.0.0)

  • Projects & Workspace Dual-Mode Compatibility:
    • 💼 Monorepo Mode (projects/): Automatically detects active subprojects and isolates archives to projects/<subprojectName>/docs/snapshots/;
    • 📁 Standard Workspace Mode (workspace/): For standard single-repo workspaces without projects/, snapshots seamlessly save to <workspaceRoot>/docs/snapshots/;
  • 💡 Zero-Config Auto-Creation: Automatically creates docs/snapshots/ directories on the fly if not already present;
  • Dynamic Pointer Sync in memory.md: Automatically updates the active snapshot pointer in memory.md for seamless cross-session continuity;
  • Non-Intrusive Workflow: Single click to archive without popping open editor tabs or interrupting flow.

4. ⚡ Netstat-PID Instant Port Handshake Engine

  • PID-Exact Network Table Mapping: Captures real LISTENING ports of the Language Server daemon using netstat -ano;
  • Zero Offset Failure: Immune to large port offsets (+70), guaranteeing 100% instant sync in 30ms;
  • Local In-Memory Cache: Caches verified ports for sub-10ms subsequent polling.

5. 🎯 Active Session Isolation & Global Separation

  • Single-Session Pure Audit: Automatically targets the active session by filesystem timestamp;
  • Global Aggregate Separation: Independently displays machine-wide cumulative totals without mixing scopes;
  • Adaptive Scrolling List: Elegant max-height: 220px list with dynamic session counting;
  • Real-time Deletion Sync: Deleting session files instantly updates local counts;
  • One-Click Precision Toggle: Switch between compact mode (25.6M) and exact integer format (25,563,472).

6. 🚀 Real Physical Differential Speed Engine (Gemini 3.7 Flash Velocity)

  • Byte Differential Scanning: Listens to SQLite-WAL byte differentials every 1.5 seconds;
  • Live Velocity Waveform: Captures burst generation speeds (150 ~ 180 t/s) and records peak speeds (218.6 t/s);
  • Idle State Detection: Smoothly resets to 0 t/s (💤 Standby Ready) after 6.0s idle while preserving historical peak.

7. ✨ Authentic Vector Brand Geometry

  • Google Gemini Astroid: Exact 4-quadrant symmetric 3rd-order Bezier astroid geometry with native DeepMind gradient;
  • Anthropic Claude 16-Ray Sparkle: Authentic Terracotta high-fidelity vector rendering;
  • 🎨 Independent Digit-Only Coloring: Status bar icons stay in neutral theme tones while digits shift through green, yellow, and red.

💡 Why Active Context Refinement is Critical for Pro Developers

Many developers ask: "Since Antigravity automatically truncates and inserts summary checkpoints when the context window fills up, why should I ever manually refine context?"

Feature / Dimension 🤖 Backend Passive Truncation ⚡ Cockpit Active Snapshot Refinement (Pro)
Trigger Timing Critical Deadline: Forced only when context hits 95%–100% capacity Milestone Point: Proactively triggered at ~70% saturation after completing tasks
Distillation Quality Mechanical Truncation: Blindly slices early context, risking loss of architecture rules High-Density Distillation: Strips tens of thousands of noisy tool logs while keeping core facts
Model Attention Severe Attention Decay: Model struggles under 500K+ noisy tokens ("Lost in the Middle") Instant Attention Reset: Instantly clears noise, restoring 100% sharp reasoning
Asset Persistence Ephemeral: Summaries stay in memory only; lost if session is reset or corrupted Versioned on Disk: Physically archived to docs/snapshots/ and indexed in memory.md

🧠 Deep Dive: The 3 Hidden Traps of Long Context Windows

  1. Breaking Free from the "Lost in the Middle" Trap:
    Even with a 1M or 2M token window, stacking 50–100 turns of raw git log, terminal outputs, and debug stack traces clutters the model's focus. Proactively refining at ~70% strips out raw noise so the AI remains laser-focused on your architecture.
  2. Guarding Against Catastrophic Forgetting:
    Passive truncation drops early messages indiscriminately when limits are reached, often erasing your top-level project rules and active constraints. Manual refinement lets you choose the exact milestone to lock in decisions.
  3. Transforming Ephemeral Chat into Permanent Project Assets:
    Active refinement physically saves a timestamped snapshot (docs/snapshots/snapshot_YYYYMMDD_HHMMSS.md) and updates memory.md, allowing new sessions or other collaborating agents to pick up work seamlessly.

🛠️ Configuration

Customize the extension in VS Code / Antigravity IDE Settings (agPrivateCockpit):

Setting Default Description
agPrivateCockpit.showGemini true Show Google Gemini quota on status bar
agPrivateCockpit.showClaude true Show Anthropic Claude quota on status bar
agPrivateCockpit.showTokenSpeed true Show real-time Token generation velocity (t/s)
agPrivateCockpit.showContextSaturation true Show context quota saturation meter (🧠 Quota%)
agPrivateCockpit.contextWindowLimit 1048576 Model context window limit in tokens (Default 1M)
agPrivateCockpit.compactStatusBar false Compact mode (icon + weekly quota only)
agPrivateCockpit.refreshIntervalSeconds 15 Polling refresh interval in seconds (min 5s)
agPrivateCockpit.warningThreshold 50 Yellow warning threshold percentage (%)
agPrivateCockpit.criticalThreshold 20 Red critical threshold percentage (%)

📄 License

This project is licensed under the MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft