A remote monitor and scheduler CLI tool for Antigravity 2.0 IDE
Project description
Antigravity Mobile
_ _ _ _ _
/ \ _ __ | |_(_) __ _ _ __ __ ___ _(_) |_ _ _
/ _ \ | '_ \| __| |/ _` | '__/ _` \ \ / / | __| | | |
/ ___ \| | | | |_| | (_| | | | (_| |\ V /| | |_| |_| |
/_/ \_\_| |_|\__|_|\__, |_| \__,_| \_/ |_|\__|\__, |
|___/ |___/
M O B I L E
Control your AI coding agent from your phone.
Monitor tasks, approve commands, switch models โ remotely.
โจ Features
- ๐ฑ Mobile Dashboard โ Responsive, glassmorphic dark-themed UI with real-time system stats (CPU, RAM, Disk)
- ๐ค Model Switcher โ Change active AI models (Gemini 3.5 Flash, Claude 4.5 Sonnet, GPT-OSS) from your phone
- ๐ Quota Tracking โ Live progress bars for Gemini & Claude/GPT weekly and 5-hour request limits
- ๐ป Live Agent Console โ Stream step-by-step agent thoughts and logs to your phone in real-time
- ๐ก๏ธ Mobile Approvals โ Approve or reject terminal commands via interactive popups on your phone
- ๐ Offline Fallback โ Automatically falls back to PC desktop prompts if the server is offline
- โก CLI Run Wrapper โ Execute commands silently on your PC and stream output to your phone
- ๐๏ธ Remote Toggle โ Turn remote mode on/off to save tokens when coding locally
๐ Installation
pip install antigravity-mobile
That's it! Now run antigravity-mobile to see the welcome screen.
๐ Quick Start
Step 1: Setup
Run the interactive setup wizard to generate your secure access PIN and configure agent rules:
antigravity-mobile setup
Step 2: Start the Server
Launch the FastAPI dashboard server on all interfaces:
antigravity-mobile start --host 0.0.0.0 --port 8000
Step 3: Get a Public URL
Expose your local server to the internet so your phone can reach it (requires Node.js):
npx localtunnel --port 8000
This will give you a public URL like https://xyz.loca.lt.
Step 4: Open on Your Phone
- Open the localtunnel URL on your mobile browser
- Enter your access PIN (shown during setup)
- You're in! Start monitoring and controlling your agent remotely ๐
๐ All Commands
| Command | Description |
|---|---|
antigravity-mobile |
Show welcome banner & quick-start guide |
antigravity-mobile setup |
Interactive first-time setup wizard |
antigravity-mobile init |
Generate config & security PIN |
antigravity-mobile start |
Start the FastAPI dashboard server |
antigravity-mobile run <cmd> |
Execute a command & stream logs to phone |
antigravity-mobile remote --on |
Enable remote monitoring mode |
antigravity-mobile remote --off |
Disable remote monitoring (saves tokens) |
antigravity-mobile remote --status |
Check if remote mode is on or off |
๐ก Usage Examples
Run a command and monitor it from your phone
antigravity-mobile run "pytest tests/"
The command runs silently on your PC. Output streams live to your phone's console.
Turn off remote mode when coding locally
antigravity-mobile remote --off
This disables all remote logging, status updates, and mobile approval prompts โ saving tokens and resources.
Turn it back on when leaving your desk
antigravity-mobile remote --on
Start everything in one go
# Terminal 1: Start the server
antigravity-mobile start --host 0.0.0.0 --port 8000
# Terminal 2: Expose to internet
npx localtunnel --port 8000
โ๏ธ IDE Configuration (Optional)
To enable silent command execution on your PC (so approvals go to your phone instead of popping up on the desktop), update your Antigravity IDE User Settings:
- Open:
C:\Users\<YOU>\AppData\Roaming\Antigravity IDE\User\settings.json - Add:
{ "antigravity.autoApprove": true, "antigravity.autonomyLevel": "full" }
- Press
Ctrl + Shift + PโDeveloper: Reload Window
๐ Security
- PIN Authentication โ A secure 6-digit PIN is generated on first setup. Mobile clients must authenticate with this PIN before accessing any features.
- Token-Based Sessions โ After PIN login, all API requests use a session token.
- Command Approval โ Remote commands require explicit user confirmation before execution.
- Offline Fallback โ If the server goes offline, the agent automatically falls back to local PC prompts instead of hanging.
๐ Project Structure
antigravity-mobile/
โโโ antigravity_remote/
โ โโโ cli.py # CLI with banner, setup wizard, and commands
โ โโโ server.py # FastAPI server with WebSocket dashboard
โ โโโ agent_daemon.py # Background polling daemon for remote commands
โ โโโ agent_approve.py # Mobile approval helper with offline fallback
โ โโโ task_runner.py # Background subprocess runner
โ โโโ templates/
โ โโโ index.html # Mobile-responsive glassmorphic dashboard
โโโ .agents/
โ โโโ AGENTS.md # Agent logging & mobile approval rules
โ โโโ skills/
โ โโโ remote_control/
โ โโโ SKILL.md # Remote loop skill for AI agents
โโโ pyproject.toml # Package metadata & CLI entrypoints
โโโ README.md
๐ฆ Publishing Updates
# Install build tools
pip install build twine
# Build distribution
python -m build
# Upload to PyPI
python -m twine upload dist/antigravity_mobile-*
License
MIT
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.2.2.tar.gz.
File metadata
- Download URL: antigravity_mobile-0.2.2.tar.gz
- Upload date:
- Size: 27.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a55a850a5eddafc1b1068c129d593fc138b5b56f741012f804e527474672db22
|
|
| MD5 |
936ece4ecb1234b581588d12a1ed2f9f
|
|
| BLAKE2b-256 |
f94684d3de063a671108a458ecddadcc3bf88fa59900b8bd2060d96e54d83efa
|
File details
Details for the file antigravity_mobile-0.2.2-py3-none-any.whl.
File metadata
- Download URL: antigravity_mobile-0.2.2-py3-none-any.whl
- Upload date:
- Size: 29.4 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 |
bfb532500246b619f980651c9d52b26b908203d793452a63c39756c2f0749ef7
|
|
| MD5 |
fe8547862e5fd1053df024c3559705f4
|
|
| BLAKE2b-256 |
83ccd53d60b1051704ac9b713d94712852c65c9016dbaeff89d3e58f88e2eb36
|