Skip to content
Remote Agents2-0Antigravity AppFeaturesRemote Agents Antigravity App FeaturesAntigravity AppAntigravity CLIWeb
Available on:
Antigravity AppAntigravity CLIWeb

Antigravity Remote Agents run your agent sessions and tools in an isolated, Google-managed cloud environment rather than on your local machine.

Because execution happens in the cloud, Remote Agents keep working on long-running tasks even when you close your browser, put your laptop to sleep, or switch between desktop and mobile devices.

GoalSection
Start a remote sessionGetting started — launch from the web, Antigravity App, or Antigravity CLI.
Connect repos and filesProjects and resources — attach GitHub repositories, Google Drive files, and local uploads.
Automate setup and store secretsEnvironment and credentials — configure setup scripts, /env-setup, Network secrets, and Environment variables.
Load rules, skills, and pluginsRules and skills and Plugins — use AGENTS.md, repo or uploaded skills, and Marketplace integrations.
Review code, run terminal commands, preview, and browseSource control, terminal, previews, and browser — commit Git changes, open an interactive terminal, preview web apps, and run browser automation.
Schedule tasks and run agent swarmsAutomations and Swarm — run recurring scheduled automations and parallel /swarm teams in the background.

Antigravity provides multiple ways to work with agents remotely depending on where your code and tools live:

FeatureRemote AgentsRemote Control
Execution environmentIsolated, Google-managed cloud environmentYour own desktop workstation or server
Host machine requirementRuns independently; no local machine needs to stay onRequires your host machine to remain powered on and online
Workspace and filesAttached Resources (GitHub repositories, Google Drive files, and uploaded files)Local filesystem folders, local toolchains, and Git worktrees
Best forRepository tasks, mobile workflows, and background execution while awayTasks that require local hardware, local dev servers, or uncommitted local checkouts

To connect the Antigravity App directly to your own remote Linux machine over OpenSSH, see Connect over SSH.


Start and continue Remote Agents conversations from any desktop or mobile browser at antigravity.google.com, the Antigravity App, or the Antigravity CLI.

Use Remote Agents without installing a local app:

  1. Open antigravity.google.com and sign in with a personal Google Account on an eligible plan (Google AI Pro or Google AI Ultra).
  2. Enter a prompt in the message box to start a quick remote conversation without a project, or click the new-project button next to Projects in the left sidebar to create a project with GitHub repositories, Google Drive files, or uploaded files.

If you also use Remote Control to connect to local machines, use the instance switcher on antigravity.google.com (below Settings in the desktop sidebar, or in the top bar on mobile) to switch between Remote Conversations and your connected host machines.

Switch the runtime selector in the message box from This Computer to Remote to run a conversation in a cloud environment:

The Antigravity App composer showing the runtime switcher open with This Computer and Remote options

To create a remote project with attached repositories or files:

  1. Open the project selector in the message box and click New Project (or click the new-project button next to Projects in the left sidebar), then select Remote.
  2. (Optional) Click + Add Resource to attach GitHub repositories, Google Drive files, or uploaded files, then click Next (or Skip to add resources later).
  3. Enter a name in Set Project Name if prompted and click Create.
  4. Select your project and send a prompt in the message box.

The Create Project dialog in the Antigravity App with the Remote tab selected and the Add Resource button

Quick GitHub start: Open the project selector in the message box, select Remote > GitHub Repositories (connecting GitHub with OAuth if prompted), and pick a repository to select or auto-create a project for it. To copy a GitHub-backed project setup between your computer and Remote Agents, choose Clone from This Computer (under Remote) or Clone from Remote (under This Computer).


While local projects mount folders from your workstation, projects in Remote Agents attach external context under Resources:

  • GitHub: Authorize GitHub with OAuth and select one or more repositories to attach. Conversations clone and mount your connected repositories into the cloud workspace automatically. All private repositories within the same project must belong to the same GitHub user or organization owner; to work with private repositories from multiple owners, create a separate project for each owner.
  • Google Drive: Attach files or folders from Google Drive (such as Google Docs, Sheets, Slides, PDFs, or folders). The agent reads attached Drive files on demand during conversations.
  • Uploaded files: Upload local files from your device (up to 8 MiB per file, 50 files and 100 MiB per project, and 2 GiB total across your account), including source code, text and data files, images, PDFs, and .zip archives. Uploaded files persist across conversations in the project and are available to the agent at /home/antigravity/upload.

Attach or remove resources when creating a project in the Antigravity App or on the web, or at any time under Project Settings > Resources by clicking Add Resource.


Each new remote conversation starts in a fresh environment. To install your project’s packages, runtimes, and build tools automatically in every new conversation, configure a setup script in one of two ways:

  • Repository setup (.agents/environment.json): Recommended for GitHub repositories shared with collaborators. Define an install command ({"install": "<command>"})—and an optional terminals array ([{"name": "<tab>", "command": "<command>"}]) for dev servers or watchers that should start automatically in background terminals after install—in <repo>/.agents/environment.json.
  • Project setup script: A bash script saved to your project under Project Settings > Environment > Setup script. It runs at /home/antigravity/env-setup.sh after any repository .agents/environment.json commands.

Run /env-setup in any remote chat to have the agent inspect your attached repositories, uploaded files, or Google Drive files, verify the install commands, and save either .agents/environment.json (opening a pull request) or your project setup script interactively.

Configure credentials globally under Settings > Environment (applied across all projects) or per project under Project Settings > Environment (which inherits global entries and lets you override them for a specific project):

The Environment settings screen showing Network secrets with an Add secret button and Environment variables with an Add variable button

  • Network secrets (+ Add secret): Never exposed inside your remote environment. The proxy injects the secret only on outbound HTTP requests to the allowed hosts you specify (via Bearer token, custom header, Basic auth, cookie, or query parameter). Use network secrets for API keys and tokens whenever possible.
  • Environment variables (+ Add variable): Available directly inside your remote environment as shell environment variables (KEY=VALUE, with .env paste support). Code and commands running in the environment can read these values.

Remote Agents automatically load customization files inside the remote environment:

  • Rules: AGENTS.md and GEMINI.md files in attached repositories and in your persistent ~/.gemini directory load automatically into every remote conversation.
  • Repository skills: Skills committed under .agents/skills in attached repositories are available in remote conversations.
  • Personal skills: Upload your own skill folders (each containing a SKILL.md file, up to 2 MiB and 100 files) from Customizations > Skills using the + (Add Skill) button. Uploaded personal skills are stored with your account and available across your remote conversations.

Source control, terminal, previews, and browser

Section titled “Source control, terminal, previews, and browser”

In the Antigravity App and on desktop browsers at antigravity.google.com, use the Overview panel on the right (and the side panel) to open Review, Files, Terminal, and Plugins, preview apps, and watch the remote browser.

In projects connected to GitHub repositories, inspect Git status and diffs, stage or unstage files, discard changes, commit, and push directly from the Review Changes pane (Review in the Overview panel) in the Antigravity App and on antigravity.google.com.

Once a remote conversation’s environment is running, click Terminal in the Overview panel on the right (or click + > Terminal once the side panel is open) to launch an interactive shell inside the cloud environment. You can run commands, inspect files, or interact with background dev servers started by .agents/environment.json terminals directly alongside the agent.

  • Live app previews (desktop web): When an agent starts a web server on a localhost port inside the cloud environment, preview the running web app directly in a desktop browser at antigravity.google.com.
  • Interactive HTML previews (App and web): Remote Agents render interactive HTML artifacts and visual previews directly in the conversation and artifact pane.

Remote Agents include a built-in browser agent that runs inside the cloud environment so the agent can open web pages, interact with running apps, inspect console and network activity, and verify visual changes as part of a task. On desktop browsers at antigravity.google.com, you can watch the remote browser live as the agent navigates and tests pages. See Browser use for general browser agent capabilities.

(Source control UI, interactive terminal tabs, previews, and live browser view aren’t displayed in the Antigravity CLI.)


While project Resources attach specific repositories and files to your workspace, plugins let the agent interact directly with external services—such as creating GitHub pull requests, searching Drive, or connecting to partner tools.

In the Antigravity App or on antigravity.google.com:

  1. Open Customizations in the left sidebar and select the Marketplace tab. Added plugins appear under Installed.
  2. Browse supported Marketplace plugins—including GitHub, Google Workspace apps (such as Drive, Docs, and Gmail), and partner integrations. For an overview of available plugins, see the Marketplace guide.
  3. Click + (Add) next to a plugin. OAuth plugins open sign-in automatically; skills, keyless, and API-key plugins install directly.

Newly added plugins take effect in new conversations. Your OAuth credentials are encrypted at rest and supplied securely when the agent makes requests to authorized services.


  • Scheduled Automations: Run recurring prompts on a schedule in a remote environment—even when your local machine is asleep or offline. Manage schedules from Automations, or run /automation in chat to have the agent configure a schedule and prompt for you.
  • Swarm (/swarm): Run /swarm in a remote conversation to split a task across a coordinated team of parallel agents on a shared message board inside your cloud environment.

Remote Agents use their own permission settings separately from your local machine. Unless you change it, the default permission preset for Remote Agents is Always proceed (Turbo), which runs commands inside the isolated cloud environment without asking for approval.

Available permission presets:

  • Default: Asks for confirmation before sensitive operations.
  • Request review: Asks before every command.
  • Always proceed (Turbo): Runs all commands without asking.
  • Global remote permissions: Open Settings > General > Permissions to configure Remote permissions separately from This computer (on antigravity.google.com, open Settings > Permissions).
  • Per-conversation presets: Override the permission preset for an individual remote conversation from the conversation composer without changing your global default.

The Permissions section in Antigravity App Settings showing separate This computer and Remote permission presets


  • Auto permission preset: The Auto permission preset (and auto execution mode in the CLI) isn’t available on Remote Agents yet.

The following CLI features aren’t available in --remote-agent sessions yet:

  • Print mode (--print) and --conversation-path
  • GEMINI_API_KEY authentication (Google Account sign-in is required)
  • Code search (/codesearch)
  • /diff, /fork, /rewind, and /btw
  • Voice dictation (/voice dictate, /record) and voice mode (/voice live)
  • Running local shell commands with !
  • Sending messages to subagents with @ (referencing files in the cloud environment with @ is supported)
  • MCP servers, plugins, and agent skills installed only on your local machine (repository AGENTS.md, GEMINI.md, .agents/skills, and uploaded personal skills are supported)

If you run an unsupported slash command, the CLI reports that it isn’t available in remote agent sessions.


  • Remote Agents option missing or conversations won’t start: Verify you’re signed in with a personal Google Account on an eligible plan (Google AI Pro or Google AI Ultra). In the CLI, run /help to check your signed-in account. If you signed in with an older version, sign out (/logout in the CLI) and sign back in to refresh your account permissions (CLI 1.5.4+ warns automatically when a refresh is needed).
  • Project Not Found warning (CLI): No project matches the name or ID passed to --project, so the CLI falls back to this machine’s default CLI project. Run /projects to list your projects.
  • is a local conversation warning (CLI): The ID passed to --conversation belongs to a local conversation. Launch agy without --remote-agent to resume it.
  • @ suggests sending a message first (CLI): A remote environment starts with the first message. After you send one message, @ suggests files from the cloud environment.
  • Not available in remote agent sessions. (CLI): The command isn’t supported in --remote-agent sessions yet. See Current limitations.

Explore related documentation and guides:

  • Connect over SSH: Open a remote Linux machine directly in an Antigravity App window over OpenSSH.
  • Remote Control: Connect to and control local Antigravity App and CLI sessions running on your own machines.
  • Projects: Learn how projects organize workspaces, scoped settings, and conversations.
  • Plugins: Configure plugins and external integrations across Antigravity surfaces.
  • Permissions and security: Configure permission presets and fine-grained tool access rules.