A hyper-resilient VS Code telemetry extension to monitor the K1 Antigravity Quota inside the editor.
K1 Antigravity Monitor provides real-time monitoring of your Antigravity API quota directly in VS Code's status bar. Stay informed about your token usage, receive smart alerts before quota exhaustion, and optimize your development workflow with intelligent polling, forecasting, and cross-platform support.
- 🚀 Forecast Engine: AI-powered quota exhaustion prediction
- 📊 WebView Dashboard: Rich ECharts visualizations
- 🌍 12 Languages: Full i18n with RTL support
- ♿ WCAG 2.1 AA: Complete accessibility compliance
- Live Status Bar Display: Track remaining quota for all your models directly in the status bar
- Smart Model Selection: Automatically displays the model closest to exhaustion, or lock to a specific model
- Visual Indicators: Color-coded icons (green/yellow/red) for quick quota assessment
- Sparkline Trends: Mini trend visualization in status bar tooltips
- EMA Prediction: Exponential Moving Average for short-term forecasting
- Pattern Recognition: Detects recurring usage patterns
- Monte Carlo Simulation: Risk assessment with confidence scores
- Unified Forecast: Combines all predictors with weighted confidence
- ECharts Visualizations: Interactive line, bar, and pie charts
- Quota Breakdown: TreeView showing all models and their quotas
- Export Options: CSV, JSON, and PDF export
- Activity Bar Integration: Native VS Code sidebar view
- Intelligent Intervals: Dynamically scales polling from 30s (idle) to 5s (active)
- Platform Optimized: Custom polling intervals for Windows, macOS, and Linux
- Resource Efficient: Minimal background CPU usage with smart scheduling
- Warning & Critical Thresholds: Customizable alerts (default: 20% warning, 10% critical)
- Hysteresis: Configurable (0-50%) to prevent alert flapping
- Cooldown: Configurable time between alerts (default: 5min warning, 2min critical)
- Quiet Hours: Schedule alert-free periods with timezone support
- Snooze: Temporarily silence alerts
- Native Notifications: Integrates with OS notification centers
- IndexedDB Storage: Persistent local storage of quota history
- Configurable Retention: 1-365 days of history
- Trend Analysis: 24-hour sparkline visualization
- Time-Range Queries: Custom analysis capabilities
- 12 Languages: English, Spanish, French, German, Japanese, Chinese (Simplified/Traditional), Portuguese (Brazil), Italian, Korean, Russian, Arabic, Hindi
- RTL Support: Full right-to-left layout for Arabic
- Crowdin Integration: Professional translation workflow
- Accessibility First: ARIA labels and keyboard navigation (WCAG 2.1 AA)
- Local-Only Mode: Disable all network calls except to your Antigravity instance
- Telemetry Control: Opt-in anonymous usage tracking
- Privacy Mode: Maximum privacy configuration
- VS Code: Version 1.80.0 or higher
- Antigravity Instance: Running local instance bound to port
13337(default)
- Open VS Code
- Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
- Search for "K1 Antigravity Monitor"
- Click Install
code --install-extension k1-antigravity-monitor-1.0.0.vsix- Start Antigravity: Ensure your Antigravity instance is running on port
13337 - Auto-Detection: The extension automatically detects your Antigravity instance
- Manual Configuration (if needed):
- Go to Settings → Extensions → K1 Antigravity Monitor
- Configure port if using non-default
- Monitor: Watch your quota in the status bar!
| Command | Description |
|---|---|
k1.refreshQuota |
Manually refresh quota data |
k1.switchModel |
Switch displayed model |
k1.togglePanel |
Toggle the dashboard panel |
k1.showDiagnostics |
Show diagnostic information |
k1.exportCSV |
Export data to CSV |
k1.exportJSON |
Export data to JSON |
k1.exportPDF |
Export report to PDF |
k1.showDashboard |
Show the dashboard |
| Setting | Default | Description |
|---|---|---|
pollingIntervalIdle |
30000ms | Polling interval when idle |
pollingIntervalActive |
5000ms | Polling interval when active |
| Setting | Default | Description |
|---|---|---|
thresholdWarning |
20% | Warning threshold percentage |
thresholdCritical |
10% | Critical threshold percentage |
alertHysteresisWarning |
5% | Warning hysteresis to prevent flapping |
alertHysteresisCritical |
5% | Critical hysteresis to prevent flapping |
alertCooldownWarning |
300000ms | Cooldown between warning alerts |
alertCooldownCritical |
120000ms | Cooldown between critical alerts |
quietHoursEnabled |
false | Enable quiet hours |
quietHoursSchedule |
{days: [0,6], start: "22:00", end: "08:00"} | Quiet hours schedule |
| Setting | Default | Description |
|---|---|---|
showModel |
autoLowest | Model display mode |
animationEnabled |
true | Critical pulse animation |
sparklineEnabled |
true | Sparkline trend visualization |
sparklineWindowHours |
24 | Sparkline time window |
| Setting | Default | Description |
|---|---|---|
telemetryEnabled |
false | Enable anonymous telemetry |
localOnlyMode |
false | Disable external network calls |
| Setting | Default | Description |
|---|---|---|
language |
auto | UI language |
rtlEnabled |
false | RTL layout |
highContrastEnabled |
false | High contrast mode |
v1.0.0 includes major new features. No migration is required - all settings are preserved automatically.
New in v1.0.0:
- Forecast Engine - Predictions appear in dashboard
- Dashboard - New Activity Bar view with visualizations
- 12 Languages - Full translation coverage
- Enhanced Alerts - Hysteresis, cooldown, quiet hours
- Ensure VS Code version is 1.80.0 or higher
- Check Antigravity is running on the configured port
- Verify Antigravity instance is accessible
- Check network connectivity
- Try running
k1.refreshQuotacommand
- Check notification permissions in OS settings
- Verify threshold settings
- Check quiet hours configuration
- Click the K1 icon in the Activity Bar
- Run
k1.showDashboardcommand - Check webview is enabled in settings
Q: Does this work with Claude Code? A: Yes, it monitors the Antigravity quota which is used by Claude Code.
Q: How accurate is the forecast? A: The forecast uses multiple predictors (EMA, Pattern Matching, Monte Carlo) and provides confidence scores. Accuracy depends on usage patterns.
Q: Is my data secure? A: Yes. All data is stored locally. You can enable local-only mode to disable external network calls.
Q: Can I use multiple languages? A: Yes, the extension supports 12 languages with automatic detection based on VS Code locale.
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
MIT License - see LICENSE file for details.
