Skip to main content

Antigravity Mobile

     █████╗ ███╗   ██╗████████╗██╗ ██████╗ ██████╗  █████╗ ██╗   ██╗██╗████████╗██╗   ██╗
    ██╔══██╗████╗  ██║╚══██╔══╝██║██╔════╝ ██╔══██╗██╔══██╗██║   ██║██║╚══██╔══╝╚██╗ ██╔╝
    ███████║██╔██╗ ██║   ██║   ██║██║  ███╗██████╔╝███████║██║   ██║██║   ██║    ╚████╔╝
    ██╔══██║██║╚██╗██║   ██║   ██║██║   ██║██╔══██╗██╔══██║╚██╗ ██╔╝██║   ██║     ╚██╔╝
    ██║  ██║██║ ╚████║   ██║   ██║╚██████╔╝██║  ██║██║  ██║ ╚████╔╝ ██║   ██║      ██║
    ╚═╝  ╚═╝╚═╝  ╚═══╝   ╚═╝   ╚═╝ ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝  ╚═══╝  ╚═╝   ╚═╝      ╚═╝

    ███╗   ███╗ ██████╗ ██████╗ ██╗██╗     ███████╗
    ████╗ ████║██╔═══██╗██╔══██╗██║██║     ██╔════╝
    ██╔████╔██║██║   ██║██████╔╝██║██║     █████╗
    ██║╚██╔╝██║██║   ██║██╔══██╗██║██║     ██╔══╝
    ██║ ╚═╝ ██║╚██████╔╝██████╔╝██║███████╗███████╗
    ╚═╝     ╚═╝ ╚═════╝ ╚═════╝ ╚═╝╚══════╝╚══════╝

Control your Antigravity IDE desktop coding assistant from your phone.

Monitor agent tasks, approve commands, and switch active models — remotely.

PyPI Python PyPI - Downloads Total Downloads License: MIT


✨ Features

  • Mobile Dashboard — Responsive, glassmorphic dark-themed UI with real-time system stats (CPU, RAM, Disk)
  • Model Switcher — Switch the active AI model (Gemini, Claude, GPT) in your Antigravity IDE from your phone
  • Live Agent Console — Stream step-by-step IDE agent execution thoughts and logs to your phone in real-time
  • Mobile Approvals — Approve or reject terminal commands requested by your IDE agent directly from your phone screen
  • Offline Fallback — Automatically falls back to local PC desktop prompts if the mobile server is offline
  • 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.

[!TIP] Windows Path Issue: If you receive an error saying 'antigravity-mobile' is not recognized as an internal or external command, it means your Python scripts directory is not in your system PATH. You can bypass this by running the tool directly as a Python module:

python -m antigravity_remote

(You can replace antigravity-mobile with python -m antigravity_remote for all commands below).

Uninstallation

If you wish to completely remove the tool, you can uninstall it via pip:

pip uninstall antigravity-mobile -y

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 using the built-in Cloudflare Quick Tunnel integration (no account required):

antigravity-mobile start --host 0.0.0.0 --port 8000 --tunnel

This will automatically launch the server and give you a public URL like https://xyz.trycloudflare.com.

Step 4: Open on Your Phone

  1. Open the trycloudflare.com URL on your mobile browser
  2. Enter your access PIN (shown during setup)
  3. You're in! Start monitoring and controlling your IDE agent remotely 🎉

Step 5: Instruct the AI Agent

To tell your Antigravity IDE agent to start outputting logs and routing command confirmations to your phone, copy and paste this prompt into your Antigravity IDE Chat Panel:

Please read the remote monitoring rules in .agents/AGENTS.md and follow them. I have started the server and want to monitor your steps remotely. Also, check if my Python scripts directory is in my system/user PATH, and if not, add it automatically. Finally, read config.json to print my access PIN and let me know.

📖 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 start --tunnel Start the server and create a public Cloudflare tunnel
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

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 server with a public internet tunnel

antigravity-mobile start --host 0.0.0.0 --port 8000 --tunnel

This uses Cloudflare Quick Tunnels to provide a stable, free HTTPS URL for your phone instantly.


⚙️ 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:

  1. Open: C:\Users\<YOU>\AppData\Roaming\Antigravity IDE\User\settings.json
  2. Add:
    {
        "antigravity.autoApprove": true,
        "antigravity.autonomyLevel": "full"
    }
    
  3. Press Ctrl + Shift + PDeveloper: 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 welcome screen, setup wizard, and server 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

Star History

Star History Chart


License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

antigravity_mobile-0.4.0.tar.gz (92.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

antigravity_mobile-0.4.0-py3-none-any.whl (93.3 kB view details)

Uploaded Python 3

File details

Details for the file antigravity_mobile-0.4.0.tar.gz.

File metadata

  • Download URL: antigravity_mobile-0.4.0.tar.gz
  • Upload date:
  • Size: 92.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.11

File hashes

Hashes for antigravity_mobile-0.4.0.tar.gz
Algorithm Hash digest
SHA256 fd90787d33447c216e3ec09b1876e9816ecb38d106529ba9d6b481b26615bc0d
MD5 e758ddb75e45b8c2e0a805a2f52a5863
BLAKE2b-256 7396890ec608bb7fcf5c313355c2de8a7efed95f3ae4291e78864b82fe79ee4d

See more details on using hashes here.

File details

Details for the file antigravity_mobile-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for antigravity_mobile-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24788a2ca64fd396ac97c5260b9da25794760d95328f13717e237ee2eac38ee7
MD5 817d4706f9e859d9521af92099614f3e
BLAKE2b-256 ea2448bae59a848a3abde1e205e3f91b6f200a6c56b34341c6c1b4a42d400dbf

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 files

0.3.8

2 files

0.3.7

2 files

0.3.6

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.10

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page