GHSaiMo/antigravity-mobile
About
Multigravity — Open-source (MIT) native iOS & Android mobile companion for Google Antigravity AI Agent. Dynamic Island, APNs approvals, 5h/7d quota widgets & local Go gateway (mgy).
Web & App DevelopmentMeasured star growth
- in 24h
- +10
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README_EN.md
OriginalMultigravity 📱✨
简体中文 | 繁體中文 | English | 日本語 | Türkçe
The Full-Stack Mobile & Remote Companion for Google Antigravity AI Agent.
Real-time chats, decision approvals, multi-agent workflows, context watermarks, and quota monitoring on your iPhone, iPhone Duo, iPad, Android, or mobile browser — anytime, anywhere.
🔒 Official Local ConnectRPC Bridge · Zero Credential Extraction: The local Go gateway talks directly to the official Antigravity runtime on your own machine over local ConnectRPC — never extracting Google OAuth tokens and never acting as an API proxy. Relay paths enforcemgy-e2ee-v1zero-knowledge E2EE, and optional standby-account quota checks are on-demand lazy-loaded with zero background polling.*The repository is named
antigravity-mobile, the official product brand is Multigravity, and the global CLI tool ismgy.*
🌐 Website: multigravity.app · 🍎 App Store: Download for iOS · 🧪 TestFlight: Public Beta · 📦 Latest Release v1.3.1 · 𝕏 @MultigravityApp · ✈️ Telegram · 💬 WeChat Group · ☕ Sponsor
🎉 Multigravity for iOS is officially available on the Apple App Store!
No manual compilation or self-signing required. Download directly from the App Store (available in 174 countries and regions, including the US; features a zero-config built-in offline Demo Mode); or join the TestFlight Public Beta to preview bleeding-edge releases.
https://github.com/user-attachments/assets/37360cde-3875-45bf-947e-7774e800094c
⚡ Quick Start
1. Install Desktop / Server Gateway (mgy)
Supports macOS (Apple Silicon / Intel), Linux (x86_64 / NAS / Headless Servers), and Windows (x86_64) with native English / 简体中文 / 日本語 installer & uninstaller output. Automatically probes local proxies and selects direct GitHub or accelerated mirrors based on locale and reachability:
Homebrew (macOS / Linux — recommended):
brew install GHSaiMo/tap/mgy
One-line script (macOS / Linux / Windows Git Bash):
curl -fsSL https://raw.githubusercontent.com/GHSaiMo/antigravity-mobile/main/scripts/install.sh | bash
Windows (PowerShell):
irm https://raw.githubusercontent.com/GHSaiMo/antigravity-mobile/main/scripts/install.ps1 | iex
Let your AI Agent install it (Antigravity / Claude Code / Cursor / Codex):
Read https://multigravity.app/install.md, install Multigravity (mgy) as a background service on this machine, and show me the pairing QR code or link.
Or load the bundled Agent Skill directly: skills/multigravity-setup/SKILL.md
🇨🇳 For users in Mainland China (Mirror acceleration)
# macOS / Linux / Git Bash
curl -fsSL https://ghfast.top/https://raw.githubusercontent.com/GHSaiMo/antigravity-mobile/main/scripts/install.sh | bash
# Windows PowerShell
irm https://ghfast.top/https://raw.githubusercontent.com/GHSaiMo/antigravity-mobile/main/scripts/install.ps1 | iex
2. Install or Open the Mobile / Web Client
- iOS: 🎉 Officially released on the Apple App Store! Install directly via App Store with one tap (native English / 简体中文 / 繁體中文 / 日本語 / Türkçe UI), join the TestFlight Public Beta, or sideload
Multigravity-v1.3.1-unsigned.ipafrom GitHub Releases (for building from source, see iOS Local Build & Device Debugging Guide). - Android: Download
Multigravity-v1.3.1.apkdirectly from GitHub Releases (signed with our private release keystore with built-in SHA-256 verified in-app updates under Settings → About → Version and Obtainium tracking; existingv1.2.7–v1.3.0users upgrade in-place, whilev1.2.6or earlier users need a one-time uninstall first). - PC Desktop Web / Mobile PWA: No app installation needed. Open your permanent dedicated subdomain (
https://<8hex>.multigravity.app) shown in themgyconsole to use the full Desktop Workbench (non-PWA) on PC or add the mobile PWA (/?view=pwa) to your Home Screen — fully E2EE and automatically tracking node switches without re-pairing.
3. Launch & Scan QR Code to Pair
mgy
When launched in the foreground, mgy automatically connects to the multi-region E2EE relay pool (no cloudflared required), displays your permanent dedicated subdomain (https://<8hex>.multigravity.app), and prints a one-time pairing QR code for mobile scanning or PC browser pairing.
🖼️ Interface Gallery
![]() Overview & APNs Push Native APNs approval alerts, status badges, background tasks & 5h quota bar |
![]() Dynamic Island & Widgets Compact Dynamic Island status + 4×4 Quota & Active Chats Home Widget |
![]() Dynamic Island Approval Long-press to expand and Allow or Deny high-risk commands off-desk |
![]() Lock Screen Live Activity Live step tracking & interactive Allow/Deny paired with native APNs |
![]() Account & Quotas 5h / weekly burn-rate gauges & one-tap Ultra / Pro / Free account switching |
![]() Token History & Spend 20-week heatmap, cache hit rate & Gemini 4 Neon / Opus 5.5 breakdown |
![]() Dual-Column Model Picker Slide-pick Gemini 4 Neon (Extra/High), Orchestrator & Claude Opus 5.5 |
![]() Security Approval Gate Read-only preflight summary + exact command preview with Allow/Deny |
![]() Native Swarm Hive Desktop-grade `/teamwork` Hive topology, pixel bees & live shared board |
![]() Plan Review & Proceed Offline Mermaid flowcharts + implementation plan with one-tap Proceed |
![]() Multi-Agent Workflows Parallel sub-agent status cards, live step counts & instant drill-down |
![]() Session Changes & Diff Compact changed-files drawer with line-delta stats & inline code diffs |
All screenshots above are captured from the built-in offline Demo Mode (v1.3.0 native dark English UI, aligned with Antigravity 2.36.0 protocols plus live iOS Dynamic Island, Lock Screen Live Activities & Home Screen Widgets) — try it out-of-the-box before pairing.
📱 Native iPhone Duo Foldable Support
Purpose-built for iPhone Duo and iOS 27.1+: the compact cover display embraces the native trailing vertical rail and centered chat navigation title; unfolding flat switches into a proportional 342pt dual-pane workspace with unified horizontal top chrome; 90° Book posture snaps the split divider directly onto the physical hinge crease via ReservedRegion (.division), while ChatSessionStore preserves active streams, drafts, and scroll position seamlessly across fold, unfold, and rotation transitions.
![]() Unfolded Split · Sub-Agents 342pt sidebar + unified top bar: track global sessions & 5h quota alongside parallel agents |
![]() Unfolded Split · Mermaid Plan Review offline dark Mermaid architecture diagrams & metrics on the wide canvas, then Proceed |
![]() Unfolded Split · Step Plan Desktop-parity live step checklists, focus elapsed timers & background tasks side-by-side |
✨ Key Features
1. Consistent Real-Time Streaming, Launchpad & AI Assist Suite Across All Platforms
- 4-Surface Coverage, 5-Language Native UI & Decoupled Multi-Gateway: Native iOS (SwiftUI / Swift 6, with iPhone Duo foldable adaptation & Home Screen Quick Actions), native Android (Jetpack Compose Material 3), zero-build embedded PWA Web, and the Desktop Workbench (
/) — supporting automatic English / 简体中文 / 繁體中文 / 日本語 / Türkçe negotiation (with clean English fallback for other locales), decoupled multi-host switching (horizontal title swipe, centered host slide picker & inactive-host approval alerts), and one-tap remotemgygateway self-updates under Settings → About → Host Updates. - Two-State New Chat Launchpad & Per-Account Model Sync: Switch seamlessly between Compact Focus and Expanded Explore states with pinned slash commands, prompt templates, workflow launchers, and cross-device synced shortcuts; syncs primary & secondary model preferences per account across devices.
- AI Assist Suite: Statelessly powered by local Antigravity RPC (zero extra sessions, synced toggles across devices) with support for custom API keys, gateway provider catalogs, and live remote
/modelsselection: Smart Translation (auto-translated titles, outline chapters, lazy on-expand step/thinking translation to prevent token explosion, Live Focus & iOS Live Activities — default-OFF on English devices while dynamically targeting Simplified/Traditional Chinese, Japanese, Turkish, or other native locales), Next-Prompt Suggestions (inline chip with tap-to-fill and 1.5s hold-to-send progress bar), and Post-Compact Rehydration (lightweight localPreInvocationhook restoring recent context once after/compact). - Desktop-Parity Step Plan Card, Offline KaTeX & On-Demand Fullscreen Composer: Native Step Plan Cards, expandable
Workingprogress rows, non-destructive on-demand fullscreen composer, conversation sort modes, manual-scroll auto-follow pause, full-session Turn Outline, tail-window disk caching, and >64 MiB streaming trajectory decode; 180+ language syntax highlighting, high-contrast light-mode inline code (#D97706), word-level inline code diffs, offline KaTeX math rendering (withmhchem& bundled fonts), Mermaid auto-repair, dual-tier HD image previews, interactive HTML artifact preview cards, theme-injected MCP Apps (ui://) / Generative UI, and lazy-loaded PDF previews.
2. Critical Decisions, Antigravity 2.36.0 Capabilities & Model Synergy
- Interactive Decision Cards, Per-Conversation Permissions & High-Risk Diff Preview: Full support for single & multi-select
ask_question, high-risk command approvals with summary headers & collapsible diff previews, Agent Inbox approval pinning, scoped write approvals, per-conversation permission mode overrides (Review/Auto/Turbovia tap-to-cycle & slide-up picker), plugin permission revocation, and one-click authorization for untrusted workspaces. - Full Antigravity 2.36.0 Parity: Native support for Gemini 4 Neon (
XHigheffort), submenu-grouped Orchestrator (Neon / Carbon / Argon), Hydrogen, Carbon, and Claude 5.5 models with inline pool quota; plus Browser Live View & touch takeover, remote SSH host management, Marketplace discovery & Plugin/MCP OAuth closure, workspace file/code search, artifact snapshots, Worktree PRs, and automaticagy CLIvoice-relay detection. - Plan Approvals,
/btwRecessed Drawer, Multi-Slash & Archiving: One-clickProceedexecution, conversation archiving, Fork/Worktree branching, code rollback, and multiple ordered/slashcommands per message; redesigned/btwrecessed branch drawer & tree spine with one-tap main-chat insertion, and tap-to-preview/skillpills.
3. Multi-Agent Workflows, Swarm Board, Terminal & Automations
- Dynamic Workflow Lifecycle (
run_workflow): Quick start from built-in workflow templates; intercept Python orchestration scripts with security approval cards; live visualization of stage pipelines, grouped concurrent sub-agent grids showing each agent's actual runtime model, terminal logs, and structured JSON artifacts. Jump straight to details by tapping running sub-agent status bars. - Swarm Board & Live Terminal: Desktop-grade Swarm collaboration board (
/swarm) with paging, full Markdown nested lists & floating scroll-to-bottom button, and active Swarm sessions bubbled to top with animated pixel bee badges; native PTY terminal WebSocket stream, dynamic MCP Server toggles, Agent Memories CRUD, and browser sub-agent controls. - Desktop-Aligned Automations & Global Task Center: Create automations via Create-with-Prompt or cron editor across all platforms (with default-collapsed scheduled-task prompt bubbles, tap-to-expand, offline local scan backup, and "Run Now" triggers); monitor global background tasks with live terminal log tailing.
4. Full-Duplex Real-Time Voice & Multimodal Interaction
- Real-Time Voice Calls, Dictation & Narration: Antigravity full-duplex real-time voice protocol supported on all platforms (iOS includes hardware-level Acoustic Echo Cancellation / AEC); streaming voice dictation, audio narration of answers, live subtitles, conversational interruption, and multi-speed playback.
- Multimodal Inputs & Artifacts: Supports
@context mentions, album switcher with slide-to-multi-select & edge auto-scroll, audio/video (≤200MB, including.amrvoice clips) and general file uploads (≤50MB) over streaming E2EEreq-bin2with real progress and idempotent retry; smart WeChat chat history ZIP extraction, offline archive caching, and native typography rendering; unified cross-platform free text selection popup; iOS document scanning; AI image generation; and one-click long-image poster sharing with 7 curated themes (including Solarized Light, Nord, etc.).
5. Context Breakdown, Threshold Auto-Switch & Quota Dashboard
- Real-Time Context Breakdown, Token Summary & Throughput: Chat top bar displays live context utilization rings, Context Breakdown inspection with clickable Top-3 consumer step jumps, session token summaries, compaction ceiling hints, and
TTFT / TPSrates, with automatic one-tap/compactrescue cards near limits. - Low-Risk Quota Refresh, Banked Quota Resets, Classic Book Easter Egg & Swipeable Token Charts: Real-time quota monitoring for Claude / Gemini (5h & Weekly) and Argon with read-only Banked Quota Resets; the active account reads directly from local LS while backup accounts use zero background polling with 10-minute on-demand lazy refresh via Cockpit Tools v1.5+ local WebSocket. Includes idle-safe threshold auto-switching, dynamic pricing/quota estimates, swipeable 3-view Token History carousel, 5-language Global Classic Book Token Easter Egg, and WYSIWYG report posters.
- Full-Size Quota & Active Chats Widgets + CarPlay Live Activities (iOS): Complete WidgetKit suite covering
QuotaStatusWidget(Inline/Circular/Rectangular/Small–ExtraLarge) andAgentStatusWidget(Active ChatsSmall–Large) across iPhone, iPad, StandBy, iOS 26 CarPlay Widgets, and macOS Desktop — displaying live 5h/7d balances, ticking reset countdowns, one-tap refresh, and multi-session status; CarPlay Dashboard and Apple Watch Smart Stack also display high-contrast two-row live execution steps and approval alerts.
6. Mobile Engineering Loop & Hardware Ecosystem
- Code & Workspace Management: Inline project/Chat filtering on the home list, local workspace creation, redesigned GitHub repo cloning with local directory picker, mkdir, async progress & auto registration, instant full-text search across conversations (SQLite FTS5), Markdown export,
Changesdiffs, cached fastgit status+ nativeCommit & Pushand branch management. Conversation list and chat bubbles automatically display real-time GitHub PR status pills and detail popups, alongside/slashcommands, Tips & Gestures Guide, and MCP/skill health boards. - Cross-Device Cursor & Physical Peripherals: Follow-Me cursor engine intelligently arbitrates active sessions between desktop and mobile. Hardware integration via
integrations/yoooclaw/enables wearable push-to-talk buttons to inject voice directly into the active session.
7. Zero-Knowledge E2EE, Multi-Region Relay Pool & Secure Push
- Permanent Dedicated Subdomain, Multi-Region E2EE Relay Pool & Zero-Re-Pair SSO: Connects out-of-the-box to the zero-knowledge multi-VPS E2EE relay pool with zero
cloudflareddependency (loss-aware multi-sample RTT probing, hysteresis pinning, sleep/wake fast probe, automatic failover), exposing your permanent subdomain (https://<8hex>.multigravity.app) for direct PC Desktop Workbench (non-PWA) access with central SSO vault & 503 auto-heal across node switches; also supports BYO-Relay, IPv6 Direct (Dual-Stack / Native HTTPS), LAN Wi-Fi, and Tailscale. - Per-Device 5-Language Push, 3-Mode Live Activity Privacy, Lock-Screen Approvals & 5-Bucket Quota Guardian: Native iOS APNs, Lock-Screen Quick Approvals & Live Activities (with 30s routine APNs throttling and 3-mode Live Activity summary privacy: Show All / Hide on Lock / Hide All) and Android FCM, localized per paired device in English / 简体中文 / 繁體中文 / 日本語 / Türkçe (clean English fallback for other locales); supports push redaction (
MGY_PUSH_REDACT), customizable notification preferences, task stall alerts, distinct high-risk push titles, silent dismissal of desktop-resolved banners, all 5 quota pools, and task-time host idle-sleep prevention. - Zero-Knowledge E2EE v2 & Local-First Security: Implements E2EE v2 (ECDH P-256 + HKDF-SHA256 + AES-256-GCM with replay & WebSocket sequence protection), Force-E2EE, and strict plaintext rejection over relay routes (
HTTP 426), with Keychain / EncryptedSharedPreferences storage, sensitive path blacklists, and WebSocket rate limiting.
🏛️ Architecture Overview
Mobile Clients (iOS / Android / PWA) ──[LAN / Tailscale / Zero-Knowledge E2EE Relay / Cloudflare HTTPS]──▶ mgy Go Gateway ──▶ Antigravity Core (language_server)
| Layer | Core Components | Description |
|---|---|---|
| Mobile Clients | iOS (SwiftUI) · Android (Compose) · PWA (web/) |
Complete conversational UI, transparent E2EE transport, voice calls, workflow boards, quota & token audits |
Local Gateway (mgy) |
Single Go Binary (cmd/gateway / internal/) |
Self-healing instance discovery, E2EE relay/WS/ConnectRPC proxy, FTS5 search, quota & push engine |
| Remote & Hardware | Zero-Knowledge Relay (mgy-relay) · Cloudflare Tunnel · YoooClaw |
Multi-region E2EE relay pool, automatic Cloudflare fallback, concurrent latency probing, wearable hardware voice bridge |
🛠️ CLI Commands & Configuration
mgy # Start gateway in foreground and print pairing QR code
mgy service install # Register native auto-start background daemon (Windows Task Scheduler / macOS launchd / Linux systemd)
mgy service status # Inspect daemon status & logs (supports start / stop / restart / logs -f / uninstall)
mgy update # Check & self-update mgy gateway (supports specific versions, e.g. mgy update v1.3.1)
mgy pair # Generate a new pairing QR code (supports -copy / -uri / -hub for a 6-char Hub code)
mgy hub # Start multi-host Hub (auto-scans LAN mgy hosts; supports -headless)
mgy hub pair <name> # Pair a discovered LAN mgy host with a 6-char confirmation code
mgy cockpit # Configure Cockpit reporting service and access token
mgy cloudflare # Configure Cloudflare tunnel (alias: mgy cf)
mgy list # List paired devices
mgy clear all # Revoke all paired devices (or: mgy clear <dev_id>)
mgy help # Show full command list and startup options
- Default Config Path:
~/.multigravity/.env(automatically migrates legacy~/.antigravity-mobile/). - Core Environment Variables:
MULTIGRAVITY_PORT(58900),CF_TUNNEL_ENABLED(1),APNS_ENABLED(1),MGY_PREVENT_SLEEP(1task-time idle-sleep guard),MGY_LANG(zh/zh-Hant/en/ja/trauto-detect),MULTIGRAVITY_LOG_LEVEL(info). - Advanced Documentation: Browse the Documentation Hub — including Antigravity CLI (
agy) Integration & Troubleshooting Guide, Self-Hosted Relay (BYO-Relay) Guide, IPv6 Direct Guide, Multi-Host Hub Guide, Installation & Operations Guide, iOS Build Guide, and language_server RPC Notes.
🗑️ Completely Uninstall Gateway & Clean Configurations
# macOS / Linux / Git Bash
curl -fsSL https://raw.githubusercontent.com/GHSaiMo/antigravity-mobile/main/scripts/uninstall.sh | bash
# Windows PowerShell
irm https://raw.githubusercontent.com/GHSaiMo/antigravity-mobile/main/scripts/uninstall.ps1 | iex
(Supports --keep-config to preserve configuration or --keep-cf to preserve Cloudflare engine)
💻 Building from Source
make build # Compile bin/mgy
make run # Run local test instance
make install-local # Install binary to ~/.local/bin/mgy
make test # Run Go unit and integration tests
⚖️ Comparison: Ways to Use Google Antigravity on Mobile
| Capability | Official Remote Control (Web PWA) | Remote Desktop (RDP / RustDesk / VNC) | Third-Party Multi-Agent Wrappers | Multigravity (Native Local Companion) |
|---|---|---|---|---|
| Native iOS / iPadOS / Android App | Browser / Web PWA only | Generic screen-streaming viewer | Separate wrapper UI (varies) | Native SwiftUI (App Store) + Jetpack Compose (Android) |
| Preserves Official Local Antigravity Harness | Yes | Yes (via full desktop GUI) | Replaces or wraps harness / MCP / skills | Yes — local mgy Go gateway talks directly to official Antigravity |
| Lock-Screen Approvals & Dynamic Island | Browser push (limited on iOS) | None (must open screen viewer) | Limited / varies by platform | Native APNs lock-screen Allow/Deny, Dynamic Island & Live Activities |
| 5h / Weekly Quota, Cache Hit & Token Audit | Basic status | Desktop screen only | Often missing Antigravity quota sync | 5-pool 5h/7d gauges, iOS Widgets, 20-week heatmap & cache-drop alerts |
| Works on macOS / Linux / Enterprise / GCP Hosts | Subject to cloud rollout & org policy | Requires open remote desktop host | Depends on provider API / ACP support | Yes — self-hosted local gateway via LAN, Tailscale, Cloudflare or E2EE relay |
| Zero-Knowledge Encryption & Telemetry | Cloud-hosted session relay | Depends on relay server | Depends on vendor backend | End-to-end encrypted (mgy-e2ee-v1), zero tracking, MIT open-source |
| Cost & Offline Preview | Free (with Google AI plan) | Free / Paid | Free / Subscription | 100% Free & MIT, zero paywalls, built-in offline iOS Demo Mode |
❓ FAQ
- Is there a native iOS or Android mobile app for Google Antigravity?
Google provides an official web-based Remote Control (PWA) experience for Antigravity. Multigravity (GHSaiMo/antigravity-mobile) is an independent, MIT open-source native iOS (App Store) and Android companion app built specifically for developers who want native mobile performance, lock-screen APNs command approvals, Dynamic Island progress tracking, Home/Lock Screen quota widgets, and full/swarmmonitoring without pinching a remote desktop screen. - How is Multigravity different from
multigravity-proor third-party wrappers like T3 Code?
Multigravity is strictly a mobile & remote companion (CLI binarymgy, official site multigravity.app) for your official local Antigravity IDE/CLI — it is not a desktop multi-profile launcher (multigravity-pro) and not a third-party coding harness. Your official local Antigravity instance executes every model call, skill, MCP server, and/swarmworker natively on your own machine. - Does Multigravity upload my source code or Google account credentials to a third-party cloud?
No. Multigravity does not extract Google auth tokens or proxy Google APIs. All conversations, diffs, and attachments stay between your phone and the localmgygateway running on your own computer. Remote relay connections enforce end-to-end encryption (mgy-e2ee-v1: ECDH P-256 + HKDF-SHA256 + AES-256-GCM; plaintext rejected with HTTP 426). The optional APNs push relay (push.multigravity.app) is stateless and stores no database or message logs. - Can I try Multigravity before installing the desktop gateway?
Yes. The official iOS App Store release includes a zero-config offline Demo Mode so you can explore the chat UI, approval cards,/swarmHive topology, Mermaid plan review, and quota/token dashboards immediately before pairing.
💬 Community & Feedback
✈️ Telegram Group (Global · EN / JP)
Join our official Telegram group t.me/mgyapp for bug reports, feature requests, discussions, and release updates — both English and Japanese are welcome!
💬 WeChat User Group
Scan the QR code below to join the mgy WeChat User Group (valid for 7 days; if expired, please open an Issue to request a refreshed QR code):
☕ Sponsor & Support
Multigravity is completely free, open-source, ad-free, and has no paywalls on core features. If it saves you time in your daily workflow, consider supporting the project on Afdian (supports WeChat Pay, Alipay, and custom one-time or monthly amounts) — all sponsorships go directly toward covering ongoing infrastructure costs:
- 🌐 9-region zero-knowledge relay pool (
mgy-relay) & VPS bandwidth - 🔔 APNs / push notification relay, Cloudflare infrastructure & website domain hosting
- 🍎 Apple Developer Program annual membership (for official iOS App Store & TestFlight distribution)
https://afdian.com/a/multigravity
🙏 Acknowledgments
Special thanks to the following community contributors for their valuable ideas and feedback:
- @tuzkil: Contributed design ideas for push notification E2EE and the multi-node aggregation hub (
mgy hub).
📄 License
This project is licensed under the MIT License. Issues and Pull Requests are welcome!
Explore related projects
Loading…














