Skip to content

About

Google Antigravity Standalone for Android - Autonomous ARM64 Client & Freeform Environment

Topics

Resources

Stars

74 stars

Watchers

2 watching

Forks

Repository files navigation

English  •  Русский


Antigravity

Antigravity for Android

Autonomous AI development environment running natively on Android & ARM64.

Android Arch Release License


Antigravity Interface

Overview

Antigravity for Android brings autonomous agentic coding directly to mobile hardware.

No PRoot, chroot, or virtualization overhead. Antigravity runs bare-metal inside native Android userspace (Bionic), unleashing the full read/write speed of UFS storage and physical CPU cores. Driven by Gemini models, the agent inspects repositories, authors code across multiple files, compiles binaries, and runs tests completely on-device.


Highlights in v2.4

  • Modular Core: Clean separation into 6 standalone subsystems (modules/*) with independent test suites.
  • Native Splash: Canvas-based dot animation saving ~40 MB RAM with instant startup.
  • Desktop Mode: Instant toggle in Appearance settings for tablets, external keyboards, and Samsung DeX.
  • Universal ARMv8.0-A Support: Built-in transparent atomic & SIMD emulation (liblse_compat.so) for older CPUs.
  • Background Micro-Daemon: Ultra-lightweight agy-daemon (<10 MB RAM) with cron scheduler, file watcher, and AI task queue.

Key Features

  • Autonomous Agent: Plans tasks, edits code across project trees, executes shell tools, and fixes build errors.
  • Elevated Control (Shizuku): Direct ADB-level operations (uid=2000) without root for package installs and system diagnostics.
  • Built-in pkg Manager: Fast package manager installing development runtimes (git, python, node, clang) from Termux repos.
  • Adaptive Viewports: Seamless touch-first mobile UI with optional desktop layout.
  • In-Place Upgrades: Consistent keystore guarantees updating APKs without losing sessions or workspace data.

Quick Start

  1. Download APK from Releases:
    • antigravity.apk — standard release (original Google account checks).
    • antigravity-region-bypass.apk — release with account eligibility check bypass.
  2. Grant Storage Permission (All Files Access). (Optional: enable Shizuku for ADB access).
  3. Install Runtimes via terminal or agent:
    pkg update && pkg install git python nodejs

Building & Testing

# Build standard release APK (dist/antigravity.apk):
bash build.sh

# Build release APK with region bypass (dist/antigravity-region-bypass.apk):
bash build.sh --region-bypass

# Run all test suites:
bash test_all_modules.sh

Repository Structure

antigravity/
├── config/             # App constants, environment paths, and AI rules
├── modules/            # Decoupled core modules (v2.4+)
│   ├── core/           # Binary unpacking, glibc loader, shims, SHA-256 manifest
│   ├── patches/        # Binary patch engine (syscall emulation, resolv, SIGILL)
│   ├── io/             # High-performance I/O Bus: event broker, FIFO pipes, sockets
│   ├── env/            # Path resolver, diagnostics, Flight Recorder logs, CLI
│   ├── builder/        # Gradle-free APK builder (javac, D8, aapt, zipalign, apksigner)
│   └── runner/         # Standalone runtime preparation, port probe, E2E tests
├── app/                # Android host app (native splash, WebView, system bridges)
├── web/                # Local web frontend, desktop mode toggle, themes
├── env/                # Bionic userspace, Termux overlay, pkg manager, liblse_compat
├── docs/assets/        # Screenshots, banners, and diagrams
├── build.sh            # Root APK build script
└── test_all_modules.sh # Test suite for all 6 modules

Tip

Each module in modules/, app/, web/, and env/ includes its own dedicated README.md with in-depth technical documentation.


Licensed under the Apache 2.0 License

About

Google Antigravity Standalone for Android - Autonomous ARM64 Client & Freeform Environment

Topics

Resources

Stars

74 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages