A remote monitor and scheduler CLI tool for Antigravity 2.0 IDE
Project description
Antigravity Remote Monitor & Task Scheduler
antigravity-remote is a lightweight command-line tool and FastAPI-powered web application designed for the Google Antigravity IDE and CLI. It enables you to securely monitor your development workflow, switch AI models, track usage quotas, view real-time log outputs, and confirm or reject commands directly from your mobile device while you are away from your workstation.
Key Features
- ๐ฑ Mobile-Optimized Dashboard: Responsive, glassmorphic UI styled in a beautiful dark theme with real-time stats.
- ๐ค Model Control: Switch active models (Gemini 3.5 Flash, Claude 4.5 Sonnet, GPT-OSS, etc.) directly from your phone.
- ๐ Quota & Limit Progress: Live tracking of request limits (Gemini Weekly/5-Hr and Claude/GPT Weekly/5-Hr limits).
- ๐ป Live Agent Thought Output Console: A real-time console streaming step-by-step developer thoughts, planned tools, and logs from the agent to your phone.
- ๐ก๏ธ Interactive Mobile Approvals: Run terminal commands and get interruptive Yes/No popup prompts on your phone instead of the PC desktop.
- ๐ Automatic Offline Fallback: Automatically bypasses the mobile check and falls back to standard PC desktop prompts if your FastAPI server is offline.
- โก PC CLI Run Wrapper (
run): Execute commands directly on your PC that log to the server and appear on your phone, bypassing all sandbox desktop security prompts. - ๐๏ธ Remote Toggle Switch (
remote): Turn remote mode ON or OFF at any time to save tokens and resources when coding locally. - ๐ PIN Authentication: Secure authorization PIN generated on first start, requiring authentication on the mobile client.
Installation
From Source (Editable Mode)
# Clone the repository and navigate to the folder
cd "d:\Remote Antigravity"
# Install dependencies and CLI tool in editable mode
pip install -e .
Packaging & Publishing to PyPI
To build and publish the package so others can install it via pip install antigravity-remote:
- Install Build Tools:
pip install --upgrade build twine
- Build Distribution Archives:
python -m build
(This generates.whland.tar.gzfiles in thedist/directory.) - Upload to PyPI:
python -m twine upload dist/*
Setup & IDE Configuration
To enable silent executions on your PC and redirect confirmations to your phone, update your Antigravity IDE User Settings:
- Open your settings file:
C:\Users\K\AppData\Roaming\Antigravity IDE\User\settings.json - Add the following options to allow automatic local command approvals:
{ "antigravity.autoApprove": true, "antigravity.autonomyLevel": "full" }
- Press
Ctrl + Shift + Pin the IDE, typeDeveloper: Reload Window, and press Enter to apply changes.
Usage
1. Initialize Configuration
antigravity-remote init
Generates a randomized access PIN for mobile login (stored in config.json).
2. Start the Server & Tunnel
Start the server and expose it using localtunnel:
# Start FastAPI server on all interfaces
antigravity-remote start --host 0.0.0.0 --port 8000
# Expose it to the internet so you can access it on your phone
npx localtunnel --port 8000
Open the localtunnel URL on your mobile phone browser and enter your access PIN!
3. CLI Command Execution
To execute commands on your PC, log them to the server, and monitor them live on your phone with no desktop prompts:
antigravity-remote run "pytest tests/test_server.py"
4. Remote Mode Toggle
Turn remote monitoring and control on/off:
# Enable remote mode (wakes up daemon, streams logs)
antigravity-remote remote --on
# Disable remote mode (puts daemon to sleep, stops logging)
antigravity-remote remote --off
# Check status
antigravity-remote remote --status
Project Structure
d:/Remote Antigravity/
โโโ .agents/
โ โโโ AGENTS.md # Global agent logging & mobile approval rules
โ โโโ skills/
โ โโโ remote_control/
โ โโโ SKILL.md # Remote loop instruction skill for AI agents
โโโ antigravity_remote/
โ โโโ __init__.py
โ โโโ cli.py # CLI Command handling
โ โโโ server.py # FastAPI server with WebSocket logging & dashboard
โ โโโ agent_daemon.py # Background sidecar polling daemon
โ โโโ agent_approve.py # Mobile approval helper script
โ โโโ task_runner.py # Background subprocess runner
โ โโโ templates/
โ โ โโโ index.html # Mobile-responsive glassmorphic dashboard
โ โโโ static/
โ โโโ css/
โ โ โโโ styles.css # Custom dashboard styles
โ โโโ js/
โ โโโ main.js # Client-side WebSocket & model switcher logic
โโโ pyproject.toml # Packaging metadata & entrypoints
โโโ README.md # Documentation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file antigravity_mobile-0.1.0.tar.gz.
File metadata
- Download URL: antigravity_mobile-0.1.0.tar.gz
- Upload date:
- Size: 25.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d48860258fb4bbf93e4817318e9916b2b8b5df22b0942111dc90ef02ddf8e490
|
|
| MD5 |
81dd7b185cc1a51f99dd4eef2811d332
|
|
| BLAKE2b-256 |
8c7366e2ffbde989e0b2f19a0a5ed6d9e551e15392ed5c8fb76b7a956e573680
|
File details
Details for the file antigravity_mobile-0.1.0-py3-none-any.whl.
File metadata
- Download URL: antigravity_mobile-0.1.0-py3-none-any.whl
- Upload date:
- Size: 27.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdeae18fa7588c6488ab16ec372b4c52956d82094e9e8e0f6c9748aa4e9c1a13
|
|
| MD5 |
3b5e342a9d378f78f753b9a098e52ddc
|
|
| BLAKE2b-256 |
acbc63dd73adddab564e78de68a58c21e36a4f57adddd7ecfe9df8e4b0aa6654
|