Open Source · MIT License · v2.2.0

Overdrive.

The operations layer Google forgot to ship.

Auto-accept AI agent prompts, fix hung terminals, guard memory, tame process trees. 14 modules. Zero config.

overdrive
# Install — copy to extensions folder
cp -r antigravity-overdrive ~/.antigravity/extensions/

# Restart Antigravity. That's it.
# Overdrive auto-discovers CDP on port 9000

[Overdrive] v2.2.0 activated
[Overdrive] CDP connected  3 windows
[Overdrive] DOM injection active
[Overdrive] Auto-accepted 47 prompts
[Overdrive] Memory: 1.2 GB  nominal
[Overdrive] Process tree: 12 processes, 3.4 GB
14Modules
0Config Required
3Platforms
<1sActivation

How it works.

Overdrive connects to Antigravity's built-in Chrome DevTools Protocol, injects a lightweight DOM observer, and clicks the right buttons for you.

01

CDP Discovery

Scans ports 9000, 9222, 9229 for Antigravity's debug server. Falls back to process inspection.

02

WebSocket Connect

Opens a persistent WebSocket to each Antigravity window target via the CDP protocol.

03

DOM Injection

Injects a MutationObserver script that watches for AI agent action buttons in real-time.

04

Smart Filtering

Only clicks bg-primary buttons matching Run, Accept, Submit, Approve. Ignores Cancel, Reject, Dismiss.

05

Health Monitor

Tracks click rates, reconnects dropped connections, alerts on stale selectors. Exponential backoff.

06

Resource Guard

Monitors memory, GPU, process trees, disk caches. Auto-cleans before things get critical.

14 modules.

Each module runs independently. Disable any you don't need. All active by default.

Auto-Accept

CDP-injected DOM clicker. Accepts Run, Submit, Approve buttons via MutationObserver.

🔄

Command Polling

Fallback when CDP fails. Fires accept commands every 400ms as a safety net.

🐕

Smart Watchdog

Detects terminals idle >2 min. Asks before sending Ctrl+C. No false kills.

🧹

Resource Cleanup

Kills zombie terminals, triggers GC, cleans dead processes every 10 minutes.

🧠

Memory Guard

Warns at 2GB, alerts critical at 4GB. Auto-cleanup on warn, restart prompt on critical.

📑

Tab Overflow

Caps open tabs at 15. Closes inactive, non-pinned, non-dirty tabs first.

📝

Stale Editor

Closes orphaned diff editors that pile up from agent operations every 5 minutes.

📜

Scrollback Limiter

Caps terminal scrollback at 5000 lines. Prevents memory bloat from verbose output.

🚀

Performance Optimizer

First-run: sets file watcher exclusions, disables minimap, limits editor features.

🌳

Process Tree Monitor

Audits Antigravity process tree every 5 min. Alerts when total exceeds 10GB.

💾

Disk Cache Cleanup

Clears Antigravity logs older than 7 days every 30 minutes.

🔌

CDP Auto-Reconnect

Reconnects dropped WebSocket connections with exponential backoff (10s to 5min).

❤️

Click Health Monitor

Detects stale DOM selectors. Warns if no accepts in 5 min during active CDP.

💓

Session Heartbeat

Writes heartbeat every 2 min. Detects unclean shutdowns and recovers state.

Real-time dashboard.

Session health, memory, GPU telemetry, terminal status, and session statistics — all in one panel.

Memory Monitoring

RSS, V8 heap, system RAM with color-coded progress bars.

GPU Telemetry

NVIDIA GPU name, VRAM usage, utilization percentage via nvidia-smi.

Process Tree

Total Antigravity processes, memory by type (renderer, GPU, telemetry).

Session Statistics

Auto-accepts, unsticks, cleanups, tabs closed, memory alerts, CDP reconnects.

Cross-platform.

Windows, macOS, Linux. Same extension, same behavior, platform-aware internals.

Windows

Get-CimInstance Win32_Process

PowerShell CIM queries for process tree monitoring and orphan detection.

macOS

ps aux | grep Antigravity

BSD ps for process scanning. Unified CDP discovery across platforms.

Linux

ps aux | grep Antigravity

Same process scanning. /proc filesystem for extended monitoring.

Ship faster.

Stop babysitting your AI agent. Let Overdrive handle the clicks, the stuck terminals, and the memory leaks.