Inter-office memo

To
Everyone building Android apps
From
Mo, Chief Executive
Date
October 29, 2026, 10:09 AM CDT
Re
Agents in Android Studio

Android Studio now runs Claude, Codex and Antigravity. How to set up each agent

On October 28, 2026, Google made Bring Your Own Agent stable in Android Studio Rabbit 2. Pick Claude Agent, Codex, Antigravity or another of over 40 agents in the agent window or under Settings > Tools > AI > Agents, then sign in or add an API key. Each bills on its maker’s plan; Android Studio’s own agent costs nothing extra. A Google plugin brings Android’s tools to Claude Code and Codex outside it.

What changed on October 28

Google released Android Studio Rabbit 2 (2026.2.2) to the stable channel on October 28, 2026, the day it live-streamed Android Dev Summit, and with it Bring Your Own Agent. “Android Studio Rabbit 2 is now stable and ready for you to use in production,” its announcement says. Until then, outside agents ran only in the Canary builds, where Google previewed them in September.

“You can choose from over 40 coding agents,” Google writes, “including Claude Agent, Codex from OpenAI, Junie, and Google Antigravity.” They connect through the Agent Client Protocol, an open standard for plugging agents into editors, and Android Studio hands each one its tools: in Google’s roundup, “a deep understanding of your project structure and build, symbol resolution, Compose Preview rendering, the Emulator, Logcat, and more.” Agents also get Android’s official skills, and Google says they “automatically load project skills, slash commands, and memory.”

The same release adds Change Review, which reviews an agent’s changes or your pending commits and can walk you through them, also from a /review command in the agent window.

How to set up an agent

  1. Update Android Studio. Choose Help > Check for updates (Android Studio > Check for updates on a Mac), or download Rabbit 2 from Google. The release notes still tell you to use “the latest canary release,” left over from the preview; Google’s announcement says the stable version has it.
  2. Pick an agent. In the agent window, choose Claude Agent, Codex or Antigravity. For the others, open File > Settings > Tools > AI > Agents (Android Studio > Settings on a Mac) “to browse and install agents from the marketplace. You can install more than one and switch between them as you work.”
  3. Sign in or add an API key. Use the agent maker’s account, or paste its API key, and send your first prompt. To switch, pick another agent; Google’s preview put it this way: “If one agent runs out of quota or isn’t meeting your performance expectations, you can have another agent take over.”
  4. Decide what it may do alone. Google says permissions “let the agent act on its own for routine work, and pause for your approval on riskier actions.”

Google hasn’t published Android Studio’s full list. The public ACP registry also lists GitHub Copilot, Cursor, OpenCode, Grok Build and Gemini CLI, among others.

Which plan each agent uses

Android Studio’s built-in agent “remains available at no extra charge,” say the release notes. The others run on their makers’ accounts: “Both enterprise and consumer AI plans are supported - subject to the agent provider,” Google says, so each maker’s rules apply.

Agent Made by Google says you sign in with What its maker allows
Antigravity Google A Google account, Google AI Pro or Ultra, Gemini Enterprise, or a Gemini API key Gemini 3.8 Flash on every plan; Gemini 4 Argon on paid Pro, Ultra and Enterprise
Codex OpenAI Your plan or an API key The CLI and IDE extension on Plus and above; Free and Go get the desktop app only
Claude Agent Anthropic Your plan or an API key No claude.ai login in other companies’ products “unless previously approved”

Claude is the open question. Claude Agent is built on Anthropic’s Agent SDK, whose docs say: “Unless previously approved, Anthropic does not allow third party developers to offer claude.ai login or rate limits for their products, including agents built on the Claude Agent SDK.” Neither Google nor Anthropic has said whether Android Studio has that approval. Claude Code itself is included in all paid Claude plans; in Android Studio, count on an API key, billed per token, unless a Claude sign-in works for you.

Antigravity offers Claude Sonnet 5.5 and Opus 5.5 on paid Google AI Pro, Ultra and Enterprise in its own app, CLI and IDE, by its models page. Google hasn’t said whether its agent in Android Studio offers them too.

Which agent does best on Android work

Google’s Android Bench 2.0 gives each model 30 long Android tasks, such as moving screens in Signal from XML views to Compose or adding video playback to a news app, and checks whether the result works. Its results as of October 26:

Model, in its maker’s agent Tasks passed Expected range Cost per run Time for all 30
Claude Sonnet 5.5 (max), Claude Code 40.0% 24.0–56.0% $1,574.90 70.7 h
Claude Opus 5.5 (max), Claude Code 37.3% 22.0–52.0% $1,150.30 56.6 h
GPT-6.1 Sol (max), Codex 29.3% 15.3–42.7% $99.50 26.6 h
GPT-6 Astra (high), Codex 28.0% 13.3–42.0% $375.70 7.9 h
Claude Fable 5.1 (high), Claude Code 22.7% 10.7–36.0% $492.60 22.2 h
Gemini 4 Argon (high), Antigravity 21.3% 10.0–33.3% $267.60 52.8 h
Gemini 3.8 Flash (default), Antigravity 8.0% 3.3–13.3% $34.50 12.1 h

The two Claude 5.5 models lead, but their ranges overlap with Codex’s, so the order at the top isn’t settled. GPT-6.1 Sol passed 29.3% for about a sixteenth of Sonnet’s cost. These runs used each lab’s own agent, not Android Studio.

Without Android Studio: the Android CLI plugin

If you work in a terminal, Google’s Android CLI plugin gives Claude Code and Codex the android-cli skill, so they can “create projects, manage virtual devices, inspect live UI layouts, run Journeys, and search the official Android Knowledge Base.” For Claude Code, from your terminal:

claude plugin marketplace add android/android-cli-plugin
claude plugin install android-cli@android-cli-plugin

Inside a Claude Code session, the same two commands start with /plugin. For Codex:

codex plugin marketplace add android/android-cli-plugin
codex plugin add android-cli@android-cli-plugin

The plugin “does not contain Android CLI itself,” its repository says, so download Android CLI first and run android update. Android CLI’s new android preview command renders Compose Previews without an emulator, and in Google’s internal testing agents that used it finished UI tasks “77% faster while using up to 3x fewer tokens.”

Enjoy runs Claude Code, Codex and Antigravity side by side outside the IDE, each on the plan you already have, and lets you hand a conversation from one to another, the same takeover Google describes. It doesn’t add Android Studio’s emulator or build tools. Enjoy is a monthly subscription, with the first seven days free (pricing).

6.Questions.

Can I use Claude Code in Android Studio?

Yes, as Claude Agent, stable since Android Studio Rabbit 2 on October 28, 2026. It runs on Anthropic’s Agent SDK, which Anthropic says has “the same tools, agent loop, and context management that power Claude Code.” Open the agent window, choose Claude Agent, and sign in or enter an Anthropic API key.

Can I use my Claude Pro or Max plan in Android Studio?

Neither company has said. Google says consumer plans are supported “subject to the agent provider,” and Anthropic’s Agent SDK docs say that, “unless previously approved,” other companies may not offer claude.ai login in products built on the SDK. An Anthropic API key, billed per token, is the alternative Android Studio offers.

Does Codex in Android Studio use my ChatGPT plan?

Google says you can sign in or provide an API key. OpenAI lists Codex in its CLI and IDE extension on ChatGPT Plus and above, while Free and Go get Codex only in its desktop app, at GPT-6 Luna.

Is it free to use AI agents in Android Studio?

Android Studio’s built-in agent is, and Google says it “remains available at no extra charge.” Claude Agent, Codex and Antigravity bill on their makers’ plans or API keys. Antigravity’s free tier includes Gemini 3.8 Flash, with a quota refreshed weekly.

Which coding agent is best for Android development?

On Google’s Android Bench 2.0, as of October 26, Claude Sonnet 5.5 in Claude Code passed 40% of 30 long Android tasks, Claude Opus 5.5 passed 37.3%, GPT-6.1 Sol in Codex 29.3% and Gemini 4 Argon in Antigravity 21.3%. The leaders’ ranges overlap, and GPT-6.1 Sol’s run cost $99.50 against Sonnet’s $1,574.90.

Can Claude Code or Codex use Android’s tools without Android Studio?

Yes, through Google’s Android CLI plugin. In Claude Code, run /plugin marketplace add android/android-cli-plugin, then /plugin install android-cli@android-cli-plugin; Codex uses codex plugin marketplace add and codex plugin add with the same names. Install Android CLI itself first, because the plugin doesn’t include it.

Enjoy Agentic Industries · Checked against its sources on