π Explore the live operational narrative & Time-Travel Replay showcase: https://agrt.vercel.app/
β Love open-source autonomous systems? Please support us by starring the repository on GitHub and joining our active contributor base!
Antigravity Runtime is an open-source, production-grade, local-first Autonomous Execution Platform. It is engineered for teams that require absolute operational trust, deterministic orchestration, and governed self-healing.
Unlike generic AI assistants, Antigravity Runtime is an Execution Operating System. It doesn't just generate codeβit governs its entire lifecycle, validates its integrity with cryptographic attestation, repairs its failures autonomously, and audits every micro-step via the Replay Engine.
The Antigravity Kernel maintains absolute authority over all execution cycles. Every task is orchestrated through a 7-step autonomous loop (Scaffold β Bootstrap β Provision β Pre-Flight β Judge β Self-Heal β Delivery), ensuring a predictable path from intent to verified artifact.
Experience absolute observability. Every orchestration task generates a "Flight Log" with sub-millisecond telemetry fidelity. The Replay Engine allows you to scrub through execution timelines, audit autonomous decisions, and inspect confidence evolution in real-time.
Execution is never "unbounded." Our centralized ProcessWatchdog enforces strict, policy-driven timeouts and manages tiered escalation (SIGTERM β SIGKILL), ensuring system stability and preventing resource leakage.
When orchestration fails, the system doesn't guess. It classifies errors using a formal Failure Taxonomy and routes them to specialized repairers. Our AST-Aware Patching engine applies deterministic fixes to dependencies, syntax, and configurations.
Trust is earned, not assumed. The Confidence Engine quantifies execution reliability based on validation grounding, repair frequency, and environment attestation. Only high-confidence builds (Score > 85) are permitted for delivery.
Antigravity Runtime orchestrates work through a bulletproof lifecycle:
- SCAFFOLD: Template-driven initialization of the execution context.
- BOOTSTRAP: Sandbox creation with SHA-256 Cryptographic Attestation.
- PROVISION: Atomic dependency injection and AST-aware feature patching.
- PRE-FLIGHT: Multi-layer static analysis (Ruff, Syntax) prior to execution.
- JUDGE: Multi-vector validation of outputs, artifacts, and exit codes.
- SELF-HEAL: Taxonomy-driven autonomous repair cycles.
- DELIVERY: High-confidence artifact synchronization to remote infra.
- Kernel Core: Python 3.10+ (FastAPI, Pydantic V2, Asyncio)
- Governance: Psutil-backed ProcessWatchdog
- Static Analysis: Ruff, LibCST (AST-Aware Patching)
- Desktop HUD: Tauri, React, Vanilla CSS (High-Performance Replay UX)
- Local AI: Ollama-integrated Intent Extraction (Qwen2.5-Coder)
Antigravity Runtime is distributed as globally installable infrastructure software.
Install the runtime engine and CLI tools via pip:
pip install agrtEnsure your local environment and required dependencies (like Ollama) are configured:
agrt doctorThe agrt CLI is the primary entry point for orchestrating autonomous workflows:
# Execute an autonomous template build
agrt run --template fastapi_basic --features uvicorn fastapi
# Validate the technical integrity of artifacts
agrt validate .
# List all autonomous execution sessions
agrt list
# Inspect a specific execution flight log
agrt inspect graph_1778195994
# View granular structured telemetry
agrt logs graph_1778195994
# Run operational performance benchmarks
agrt benchmarkIntegrate Antigravity Runtime directly into your infrastructure using the agrt Python SDK:
from agrt import Runtime
# Initialize the Runtime Kernel
runtime = Runtime()
# Dispatch an autonomous task
report = runtime.run(
task="Build FastAPI backend with JWT auth",
template="fastapi_basic",
features=["fastapi", "uvicorn"]
)
print(f"Task ID: {report.task_id} | Success: {report.success}")The optional React/Tauri Desktop HUD provides a graphical interface for Time-Travel Replay:
cd apps/desktop
npm install && npm run devWe prioritize empirical data over marketing hype. Our latest benchmarks show:
- Recovery Success Rate: 100% for missing dependencies and linter violations.
- Orchestration Latency: ~1.1s average overhead for the entire 7-step loop.
- Governance Accuracy: 100% timeout enforcement with zero process leaks.
View full benchmarks in docs/benchmarks.md.
Antigravity Runtime thrives on community engineering. We welcome contributions across our kernel execution modules, AST parsers, and UI components.
- Contributing Guide: Review our local development prerequisites, styling criteria, and Conventional Commit pull request standards.
- Code of Conduct: We maintain a highly professional, inclusive, and safe environment. All community participants are expected to uphold our global standards.
Antigravity Runtime is licensed under the MIT License. Built for the era of Autonomous Infrastructure. π