# Run Antigravity CLI (agy) in the cloud with Replicas

Replicas now runs Google's Antigravity CLI in cloud workspaces. Sign in with your Google AI plan, pick Gemini 4 Neon, and start it from Slack, Linear or GitHub.

- Author: Connor Loi
- Published: 2026-11-24
- Category: Announcements
- Canonical: https://replicas.dev/blog/antigravity-cli-in-the-cloud

Replicas now runs Google's Antigravity CLI (`agy`) in cloud workspaces. You sign in with the Google account that has your Antigravity plan, pick a model like Gemini 4 Neon, and the agent works on your repository in its own cloud machine while your laptop is closed.

## Why we built it

Antigravity is a good agent, and it runs on your computer. If you want it to keep working after you close the laptop, Google's answer is to leave a machine of your own running and connect to it with Remote Control. Jules was Google's hosted coding agent, and it shuts down on December 31. Google says what it learned from Jules is going into Antigravity, but it hasn't announced hosted tasks there yet.

We think background coding agents won't live on laptops. They need a full environment with your code, dependencies and secrets, and they need to run several at a time without fighting over ports and CPU. That's what a Replicas workspace is, so it made sense to run Antigravity in one.

The other reason is Gemini 4 Neon. Google released it on November 18 for complex software engineering work, and in Antigravity it comes with a Google AI Pro or Ultra plan, so a lot of engineers already pay for it. They should be able to use it for background work without buying API tokens on top.

The early numbers are strong, and the most useful ones were measured in the same harness Replicas runs:

- **Coding agents.** [Artificial Analysis](https://artificialanalysis.ai/articles/gemini-4-neon-intelligence-gain) ran Neon through Antigravity CLI and it scored 59 on their Coding Agent Index, level with Claude Code on Claude Opus 5.5 and Claude Fable 5.2 (58 each), at $6.86 per task against $12.61 and $15.47.
- **The harness matters.** On SWE-sweep, where the agent has to find bugs with no issue report pointing at them, [Google reports](https://blog.google/innovation-and-ai/models-and-research/gemini-models/introducing-gemini-4-neon) 12.8% in a minimal harness and 39.0% in Antigravity. Google ran that one itself, but the gap is the point: the same model does three times better with the right tools around it.
- **Not a clean sweep.** Claude Opus 5.5 still edges it on Terminal-Bench 4.1, [65.8% to 65.2%](https://venturebeat.com/technology/google-launches-gemini-4-neon-with-opus-5-5-level-coding-performance-at-25-lower-api-token-prices).
- **Developers noticed.** The [Hacker News launch thread](https://news.ycombinator.com/item?id=50552424) had 1,070 points and 775 comments when we checked on November 24. "Latency is by far the best for the level of quality," one commenter wrote. Another summed it up as "Definitely passes the vibe test."

## How Antigravity CLI runs in Replicas

Replicas doesn't reimplement Antigravity. Every workspace has Google's own `agy` binary installed, and Replicas talks to it through `agy acp`, the Agent Client Protocol server Google ships so that editors such as Zed and JetBrains can run the agent in their own chat panel. The agent, its tools and its behavior are Antigravity's. Replicas supplies the machine, your repository and the chat around it.

That means the parts of Antigravity you already set up keep working:

- **Slash commands and skills.** Antigravity's slash commands show up in the chat, and skills from your Replicas environment are installed where `agy` looks for them.
- **MCP servers.** The MCP servers you add in Replicas are written into Antigravity's MCP config.
- **Questions, images and steering.** When the agent asks a question you answer it in the chat. You can paste images, and a message you send mid-turn steers the running turn instead of waiting for it to finish.
- **Command protection.** Replicas plugs its security policies into Antigravity's tool hooks, so a blocked command such as `gh pr merge` is refused before it runs.

Each chat runs in its own workspace, so you can start five Antigravity tasks on five branches and none of them touch your machine.

## Sign in with your Google AI plan, no API key

Antigravity on Replicas uses your Google account, not a Gemini API key. Open **Gemini** under [Coding Agents](https://app.replicas.dev/dashboard/account/agents) and click **Sign in with Google**. Google's Antigravity sign-in page opens, shows a code when you finish, and you paste the code back into Replicas.

<img src="/blog/antigravity-cli-in-the-cloud-sign-in.png" alt="The Gemini section in Replicas settings with a Sign in with Google button and the replicas gemini-auth CLI steps" />

From a terminal, the [Replicas CLI](https://docs.replicas.dev/features/cli) does the same:

```bash
replicas login
replicas gemini-auth
```

The login is personal by default. An organization admin can run `replicas gemini-auth --org` to share one Google account with the whole team. Replicas stores only the refresh token, and `agy` refreshes its own access tokens inside the workspace.

## Gemini 4 Neon and the other Antigravity models

The models you get depend on your Antigravity plan, the same as in Google's own apps. Gemini 3.8 Flash is the default because every plan has it.

| Plan | Models in Replicas |
|---|---|
| Free | Gemini 3.8 Flash, Claude Opus 4.6 and Sonnet 4.6, GPT-OSS 120B |
| Google AI Pro | Adds Gemini 4 Neon, Argon and Hydrogen, both Orchestrator models, and Claude Opus 5.5 and Sonnet 5.5 |
| Google AI Ultra | Adds Gemini 4 Carbon to the Gemini 4 and Claude 5.5 models in Pro |

If you pick a model your plan doesn't include, Replicas tells you which models your account has. The effort picker, from low to max, sets Antigravity's thinking level. The full list of model IDs is in the [Gemini docs](https://docs.replicas.dev/features/coding-agents/gemini).

## Antigravity usage limits and fallbacks

Antigravity plans don't give you a fixed number of prompts. Google AI Pro and Ultra have a quota that refreshes every five hours under a weekly cap, the free plan's quota refreshes weekly, and Gemini models and partner models such as Claude are counted separately. That makes it easy to run out in the middle of a task without noticing it was close.

The **Usage** tab in Coding Agents shows each connected Google account's five-hour and weekly limits, read from Google every five minutes, so you can see how much is left before you start a long job.

<img src="/blog/antigravity-cli-in-the-cloud-usage.png" alt="The Usage tab in Replicas showing a Google account's weekly and five-hour Antigravity limits for Gemini, Claude and GPT, and Gemini 4 Argon" />

When Antigravity does hit a limit, the task doesn't have to stop. A [fallback chain](https://docs.replicas.dev/admin/credentials#fallback-chains) can fork the chat to Claude Code or Codex and keep going in the same workspace, with the conversation carried over. We wrote about why that matters in [fallbacks + forks](/blog/fallbacks-and-forks).

## Run Antigravity from Slack, Linear, GitHub and automations

Gemini is a normal Replicas harness, so it works anywhere the others do. Set it as your [default coding agent](https://docs.replicas.dev/admin/defaults) and tasks that start from a Slack mention, a Linear issue or a GitHub comment run on Antigravity. [Automations](https://docs.replicas.dev/features/automations), the API and the CLI accept it too:

```bash
replicas create fix-tests -e backend -a gemini -m "Fix the failing tests and open a PR"
```

This is the part we care about most. An agent in a terminal is useful while you watch it. An agent that picks up a Linear issue overnight, runs the tests in a real environment and leaves a pull request in the morning changes how much work a team gets through.

## FAQ

### Is Antigravity CLI free?

Yes, Antigravity has a free plan with a weekly quota and Gemini 3.8 Flash, and it works in Replicas. Gemini 4 Neon and the larger Gemini 4 models need Google AI Pro or Ultra. Replicas bills the workspace by the minute, separately from your Google plan.

### Can I run Antigravity CLI in the cloud?

Yes. Google lets you install `agy` on a cloud server you manage and reach it with Remote Control, and it comes preinstalled in Google Cloud Shell. Replicas runs it in a managed workspace with your repository, environment and secrets already set up, and lets you start it from Slack, Linear, GitHub or an automation.

### Do I need a Gemini API key?

No. Replicas signs in with the Google account that has your Antigravity plan. If you want Gemini through an API key instead, the [Pi](https://docs.replicas.dev/features/coding-agents/pi) and [OpenCode](https://docs.replicas.dev/features/coding-agents/opencode) harnesses in Replicas can reach Gemini models through OpenRouter. Our [guide to Gemini sign-in rules and API keys](/resources/gemini-cli-api-key) covers which credential works where.

### What happens when I hit Antigravity's usage limits?

The Usage tab shows how close you are. When a limit is reached, Replicas follows your fallback chain, which can continue the same chat in Claude Code or Codex. Without a fallback, the turn stops and you can continue after the quota refreshes.

### Does Antigravity CLI replace Gemini CLI?

For free, Google AI Pro and Ultra users, yes. Google moved those accounts from Gemini CLI to Antigravity CLI on June 18, 2026. Gemini CLI still works with Gemini Code Assist Standard or Enterprise and with paid API keys.

## Try it

Pick **Gemini** in the agent picker of any workspace, or connect it under [Coding Agents](https://app.replicas.dev/dashboard/account/agents). If you're comparing agents first, our [Claude Code alternatives](/resources/claude-code-alternatives) and [OpenCode alternatives](/resources/opencode-alternatives) pages cover Antigravity CLI next to the rest, and [Jules alternatives](/resources/jules-alternatives) is for teams moving off Jules before it closes.

