Antigravity 2.0 Desktop App & Remote Control
Over the first eleven posts, nearly everything ran inside the terminal with agy CLI. Once an agent becomes part of your daily workflow, however, two scenarios quickly outgrow a terminal-only setup:
- Juggling long-running tasks across three or four repositories at once: fixing unit tests in Project A, running a refactoring investigation in Project B, and waiting on a scheduled audit report in Project C. Flipping through a grid of tmux panes makes reviewing diffs and clicking approvals exhausting.
- Stepping away from your desk while local jobs keep running: grabbing coffee, commuting on the subway, or realizing at home that a migration script on your office machine paused at an approval prompt. Connecting to a VPN and spinning up remote desktop just to click “Allow” is pure friction.
The Antigravity 2.0 desktop app and Remote Control fill exactly those two gaps. Aligned with the official Antigravity 2.0 manual and verified locally on Linux with agy v1.5.19, this post covers the desktop layout, global vs. project-level permission overrides, and how to launch and troubleshoot the local remote-control systemd daemon.

1. Why Add the Antigravity 2.0 Desktop App When You Already Have agy CLI
Antigravity 2.0 is a standalone Electron desktop application separate from the IDE. Rather than wrapping the CLI in a thin GUI, it consolidates multi-project session orchestration, visual permission approvals, scheduled tasks, customization management, MCP Apps side views, and multimodal input into a single workbench.
It does not replace agy CLI—both are front ends sitting on the same configuration foundation:
- Shared customizations: Both surfaces load
AGENTS.md, Rules, Skills, Plugins, MCP Servers, and Sidecars from~/.gemini/config/. Rules and tools configured for the CLI work immediately in the desktop app. - Isolated runtime state and session artifacts: Each surface writes to its own state directory—
agyCLI uses~/.gemini/antigravity-cli/, while the desktop app uses~/.gemini/antigravity/—so they never clobber each other.
In practice, splitting tasks along the boundaries below works best:
| Scenario | Prefer agy CLI |
Prefer Antigravity 2.0 Desktop | Key Reason |
|---|---|---|---|
| High-frequency coding & quick edits in one repo | Recommended | Usable | Zero context switching; pairs directly with git, pytest, and shell pipelines |
| Headless Linux servers / remote SSH work | Required | Not applicable | No display server; relies on CLI and background daemons |
| Parallel multi-repo sessions & centralized approvals | Clunky | Recommended | One-click switching in the Projects sidebar; system notifications prevent missed approvals |
| Pasting screenshots, reviewing UI / MCP Apps views | Awkward | Recommended | Native drag-and-drop or clipboard paste for images/files; live rendering in the side pane |
| Managing Cron schedules & permission policies | Hand-edit JSON | Recommended | Visual management for Scheduled Tasks, Skills, and project-level overrides |
My own split stays consistent: writing code, making focused patches, or chaining shell pipes in the current repo stays in the terminal with agy. Whenever work spans multiple repositories in parallel, involves dropping in error screenshots or design mocks, or needs long-running scheduled audits and Remote Control, I open the desktop app.
2. Inside the Antigravity 2.0 UI: Sidebar, Chat Canvas, and Side Pane
The desktop interface stays intentionally uncluttered—no IDE-style toolbar maze—built around three core regions: the left-hand sidebar, the center chat canvas, and the right-hand side pane.
1. Five Core Modules in the Left-Hand Sidebar
The left sidebar handles top-level navigation and asset management across five fixed sections:
| Module | Primary Role | Underlying Capability |
|---|---|---|
| New Conversation | Start a fresh agent session in one click | Binds to the selected workspace and default model |
| Projects | Manage and switch across local repositories and workspaces | Each project carries its own project-level permission overrides |
| Scheduled Tasks | Create, monitor, and manually trigger recurring jobs and one-shot timers | Backed by Cron schedules, delayed triggers, and Sidecar automations |
| Skills & Customizations | Inspect and toggle Skills, Rules, Plugins, and MCP Servers visually | Maps to the built-in customization://<dir> configuration view |
| Settings | Configure global preferences, models, sandboxing, approval policies, and Remote Control | Supports global defaults with per-project granular overrides |
Compared with pure CLI usage, the Skills & Customizations view makes debugging whether a specific rule or plugin actually loaded far faster—no more digging through nested JSON and Markdown directories by hand.
2. Three High-Frequency Interactions in the Chat Canvas
The central canvas drives conversations, plan reviews, and live execution traces via three core input mechanisms:
/Slash command menu: Typing/opens built-in workflows and custom commands with short inline descriptions. You never need to memorize exact spellings for/plan,/grill-me,/boost, or/schedule—select one to trigger the workflow or specialized subagent directly.@Context references: Typing@opens a picker that attaches five precise context sources—local files and directories, past conversation transcripts, active terminal output, specific Rule files (especiallytrigger: manualrules), and individual MCP Servers or tools.- Media uploads (drag-and-drop / paste): Drag error screenshots, design specs, log files, or PDFs straight into the composer—or take a screenshot and press
Ctrl+V—to attach them as multimodal context for the current turn.
3. Side Pane (Aux Pane)
The right-hand side pane is where the desktop app pulls noticeably ahead of a plain terminal. As covered in Part 8 on MCP Apps (aux_pane), interactive forms rendered by MCP tools, architecture previews, diagrams, generated Artifact documents, and code file previews all dock neatly on the right.
That turns your workflow into a split layout: issue instructions and follow execution steps on the left while reviewing rendered output or code diffs on the right—without bouncing between terminal output and external browser tabs.
3. Global Settings vs. Project-Level Overrides
The Settings panel splits permissions and runtime controls into two tiers: Global Settings provide the baseline, and Project-Level Settings override them per repository. Whenever a project defines an override, sessions launched in that project strictly follow the project rule.
1. Overview of the 11 Global Controls
Per the official Antigravity 2.0 specification, Global Settings expose 11 core controls:
| Group | Setting | Key Options & Behavior |
|---|---|---|
| Model & Execution | Model Selection | Default Gemini model (e.g., Gemini Flash, Gemini Pro, Gemini Next) |
| Model & Execution | Tool Execution Policy | Terminal command approval mode across 4 tiers: always-proceed, request-review, strict, proceed-in-sandbox |
| Isolation & Boundaries | Terminal Sandbox | Whether agent terminal commands execute inside a restricted sandbox |
| Isolation & Boundaries | Non-Workspace File Access | Whether reading/writing files outside the current workspace root is allowed (allow / ask / deny) |
| Isolation & Boundaries | Internet Access Policy | Whether the agent may make outbound network requests (allow / ask / deny) |
| Fine-Grained Rules | Permission Grants | Global allow/deny rules for specific file paths, commands, and URLs |
| Fine-Grained Rules | Command Allowlist / Denylist | Terminal commands that are always permitted or always blocked |
| Fine-Grained Rules | Browser Allowlist | Domain restrictions for browser automation tools |
| UX & Background | Notifications | Desktop push notifications when a run finishes or pauses for approval |
| UX & Background | Appearance | Light/dark theme and chat canvas width |
| UX & Background | App Settings | Includes Keep computer awake, Run in background, and automatic update checks |
Choosing among the 4 Tool Execution Policy tiers: For day-to-day local development, proceed-in-sandbox is the cleanest middle ground—routine file edits, builds, and unit tests inside the sandbox run without interrupting your flow, while anything that crosses the sandbox boundary (outbound network calls, paths outside the workspace, or high-risk commands) still prompts for explicit confirmation.
2. The 5 Project-Level Overrides
To avoid accidentally loosening guardrails on a company production repo just because you relaxed them for a personal sandbox repo, Antigravity 2.0 lets each Project override 5 core security settings (always taking precedence over Global Settings):
- File Access Policy: Overrides the global non-workspace file access rule.
- Internet Access Policy: Overrides the global outbound network policy.
- Sandbox Mode: Enables or disables the terminal sandbox per project.
- Auto-Execution Policy: Overrides the global Tool Execution Policy approval tier.
- Permission Grants: Allow/deny entries scoped strictly to that project’s workspace.
Here is a practical two-tier setup. Suppose Global Settings default to request-review with sandboxing enabled; two typical repositories can override them as follows:
| Project Type | Sandbox & Execution Policy | File & Network Policy | Additional Permission Grants |
|---|---|---|---|
| Personal lab / blog repo | Sandbox on, proceed-in-sandbox |
Outside workspace: ask / Internet: allow |
Allow routine commands such as npm run build and pytest |
| Company production repo | Sandbox forced on, strict |
Outside workspace: deny / Internet: deny |
Explicitly deny reading .env*, ~/.ssh, and production deploy scripts |
Locking these boundaries at the project level is what makes approving tasks via Remote Control safe in practice—even when tapping “Approve” on a phone screen, you know the agent cannot touch sensitive files outside the workspace or send unauthorized outbound requests.
4. Remote Control: Take Over Local Agent Sessions Away from Your Desk
When engineers hear “remote coding agent,” they usually picture a cloud sandbox that clones the repo into a remote container, reinstalls dependencies, and rebuilds environment variables. Remote Control works completely differently.
It never ships your codebase off to a fresh cloud container. Instead, it establishes an encrypted relay tunnel authenticated with your Google account, letting you open antigravity.google.com from a phone or another computer to inspect, steer, and approve live Antigravity sessions running directly on your desk workstation or dev server.
Here is the end-to-end connection path:
flowchart LR
M["Phone / Remote Browser<br/>antigravity.google.com"] <-->|"Google Account Auth<br/>Encrypted Relay Tunnel"| R["Google Encrypted Relay<br/>No VPN / No Port Forwarding"]
R <-->|"Outbound Persistent Connection"| H["Host Runtime<br/>Antigravity 2.0 App or<br/>antigravity-cli-daemon.service"]
H --> F["Local Filesystem & Uncommitted Git Branches"]
H --> E["Local .env Secrets & Private Dependency Caches"]
H --> I["Corporate Intranet Services / Database Access"]
H --> P["Local 127.0.0.1 Preview Ports"]
Because execution stays on your own host machine, you get three advantages cloud containers cannot easily replicate:
- Zero environment sync overhead: Uncommitted local edits,
.envsecrets, warm build caches, intranet databases, and private package registries are already right there. - No network-tunneling chores: Your host initiates an encrypted outbound connection—no corporate VPN tickets, router port forwarding, Tailscale, or Frp required.
- Seamless local handoff: The agent can boot a test server on
127.0.0.1to verify its changes, and when you walk back to your desk, the exact same workspace and conversation thread are waiting for you.
There are two ways to enable Remote Control: the desktop app toggle, or the agy CLI daemon on Linux and headless servers.
Path A: One-Click Toggle in the Antigravity 2.0 Desktop App
If you run Antigravity 2.0 on macOS, Windows, or desktop Linux:
- Open Settings → Application (App Settings) in the left sidebar and turn on Remote Control.
- On the same page, enable Prevent Sleep (Keep computer awake) and Run in background so closing the lid or locking the screen does not suspend the host.
- Enable Notifications so you get immediate alerts when a long run finishes or blocks on an approval prompt.
Once enabled, sign in with the same Google account at antigravity.google.com on your phone or another browser. Your workstation appears in the instance list—click in to send follow-up prompts, stream live output, or tap Approve / Deny.
Path B: Hands-On Linux agy v1.5.19 CLI Daemon Setup
On headless Linux workstations or cloud VMs, agy remote-control registers a user-level system daemon directly from the terminal.

Here are the three subcommands and flags verified on local agy v1.5.19:
1 | # List available subcommands |
Two flags are worth keeping top of mind:
--name <instance-name>: Sets the display label shown in the Remote Control web console (e.g.,office-linux-box,home-mac). Without it, the daemon generates a default name on first start, which gets confusing quickly once you run multiple machines.- Persistent boot registration vs. session-scoped runs: Without
--session,startregisters the daemon as a persistent service across reboots. Adding--sessionties it to your current login session so it exits automatically when you log out.
Real-World Headless Linux / SSH Error & systemd Troubleshooting
If you run agy remote-control status inside a non-login shell, minimal SSH session, container, or sandboxed terminal on Linux, you will often hit this exact error (captured verbatim locally):
1 | $ agy remote-control status |
That error makes the underlying architecture clear: on Linux, agy remote-control manages a user-level systemd unit, antigravity-cli-daemon.service, which depends on your user D-Bus session bus and XDG_RUNTIME_DIR.
To bring the daemon up reliably on a Linux server, walk through these three steps:
1 | # 1. Export user systemd / D-Bus variables (common fix for minimal SSH or su sessions) |
Inside minimal Docker containers or older WSL1 environments where systemd is not PID 1, no user-level systemd bus exists, so antigravity-cli-daemon.service cannot be hosted there. Enable systemd=true on WSL2 or run the daemon directly on the host machine instead.
Further Reading: If you primarily run multiple agy CLI panes on Linux and want to combine a persistent antigravity-cli-daemon.service, SSH keyring reuse, directory-scoped session isolation, and multi-session terminal titles/notifications, see Engineering in Practice #1: Upgrading the agy Launch Experience — agyr Wrapper, Directory-Scoped Session Isolation, and 5-Color Terminal Notifications.
5. Cleaning Up Local Disk Space After Long-Running & Remote Sessions
Once the desktop app and Remote Control become part of your routine, session volume climbs fast—daily scheduled audits write transcripts, and quick remote debugging threads pile up. Within a few weeks, local history and tool logs can occupy noticeable disk space.
agy ships a built-in conversations subcommand for housekeeping; running it every week or two keeps storage tidy:
1 | # List local conversations sorted by disk usage descending (top 20 by default; --limit 0 for all) |
For automation scripts or Sidecars, the running Antigravity Language Server also exposes ConversationService over local Connect HTTP+JSON—supporting CreateConversation, ListConversations, and UpdateConversation (archiving, starring, and metadata updates)—making batch archival straightforward.
6. Five Common Pitfalls with the Desktop App & Remote Control
Based on local testing and real-world failure modes, run through these five checks before relying on Remote Control away from your desk:
- Forgetting to enable Prevent Sleep, causing the host to go offline the moment you walk away
This is the #1 laptop trap. Remote Control depends on your host staying awake to hold its outbound relay tunnel open. As soon as you close the lid or OS power settings suspend the machine, the web console shows the instance offline. Enable both Prevent Sleep and Run in background under Settings → App Settings, and double-check your OS lid-close power policy. - Starting the daemon over SSH on Linux and logging out without enabling linger
Many Linux distributions tear down a user’ssystemd --usermanager the instant their last login session closes. If you runagy remote-control startover SSH withoutloginctl enable-linger $USER,antigravity-cli-daemon.servicegets killed seconds after you close the terminal—leaving you unable to connect from your phone downstairs. - Signing into the wrong Google account on your phone or remote browser
Remote Control device discovery is strictly bound to your Google account identity. If your workstation is signed in with a work account while your phone browser defaults to personal Gmail, the instance list atantigravity.google.comwill be empty. Always verify that both ends show the exact same email address first. - Skipping
--nameacross multiple dev machines
When you juggle an office Linux desktop, a home Mac, and a staging box, auto-generated instance names make it hard to tell which physical host you are targeting. Adopt a consistent<location>-<os>-<role>convention such asoffice-linux-devorhome-mac-m3so you never fire debugging commands at the wrong machine. - Approving commands remotely without tightening Project-Level Settings first
Reviewing command diffs on a small phone screen is nowhere near as thorough as on a desktop monitor, making accidental approvals much easier. Before stepping away, lock down Project-Level Settings on high-risk repos: force the sandbox on, set non-workspace file access and internet access todeny, and block sensitive directories in Permission Grants. With hard guardrails welded in place underneath, mobile approvals stay low-risk.

















