Android Studio now runs Anthropic's Claude Agent and OpenAI's Codex, in canary

Android Studio now runs Anthropic's Claude Agent and OpenAI's Codex, in canary

Android Studio can now run Anthropic's Claude Agent or OpenAI's Codex inside Google's own IDE, sitting in the same agent picker as Google's Antigravity. The feature is called Bring Your Own Agent, and Google announced it on September 24 as a preview in the canary release of Android Studio Rabbit 2.

An Android Studio agent window with the agent list open and Google Antigravity selected

The agent window in Android Studio, with Claude Agent described as an ACP wrapper for Anthropic's Claude, Codex as an adapter for OpenAI's coding assistant, and a banner reading Agents are in Preview. Image: Google

You bring your own subscription with you. Google says you "connect any ACP-compliant agent directly into Android Studio, and sign in with your plan", and that "both enterprise and consumer AI plans are supported - subject to the agent provider". If one agent runs out of quota, Google's pitch is that you hand the work to another one without leaving the IDE.

What Android Studio hands the agent

The connection runs over Agent Client Protocol, and Google says Android Studio feeds "the full project graph, build setup, and platform details" straight into whichever agent you have signed in. It also wires up build diagnostics, Jetpack Compose Previews, the Android SDK tools and emulator control, so an agent can build, run tests and drive an emulator rather than only editing files.

The rest is what you would expect from an agent with shell access: reading, writing and editing files, running shell commands, searching the web, and spawning subagents for subtasks such as code review. Google says granular permissions "let the agent act on its own for routine work, and pause for your approval on riskier actions". Sessions persist, and agents load project skills, slash commands and memory.

Google still steers Gemini users to Antigravity

The built-in Gemini agent stays in Android Studio, but Google's recommendation for Gemini work is the Antigravity agent, which it says gives access to the latest Gemini models, Gemini 3.8 Flash among them, along with "increased AI usage quota". You can sign into Antigravity with a Google account, a Google AI Pro or Ultra plan, a Gemini Enterprise licence or the Enterprise Agent platform, or pay per token with a Gemini API key.

Google is happy to host a rival's coding agent inside its own IDE, and it is still the one deciding which agent comes with the larger quota attached.

The limits are the release channel and the bill

This is canary-channel software. Bring Your Own Agent is a preview, it is not in a stable Android Studio release, and Google publishes no prices: billing is subject to the agent provider, so what Claude Agent or Codex costs inside the IDE is set by Anthropic or OpenAI rather than by Google. Neither company is quoted anywhere in Google's post.

It is the second time in a fortnight that Google has opened one of its own products to Anthropic's agent, after Google Home started letting Claude and other agents control smart home devices in early access on September 19. Developers have been collecting these plugs for a while now, including Unity's official Codex and Claude Code plugins. To try this one, you need the canary channel, an ACP-compliant agent and a plan to sign in with.

Leave a Comment

Your email address will not be published. Required fields are marked *