Android Studio previews Bring Your Own Agent for Claude, Codex and Antigravity
BYOA hands a third-party agent the full project graph over the Agent Client Protocol.
Bring Your Own Agent (BYOA) is rolling out in preview in Android Studio Rabbit 2, on the Canary channel. It lets you drive the IDE with a third-party coding agent — Anthropic's Claude Agent, OpenAI's Codex, or Google's Antigravity — rather than the built-in assistant.
BYOA runs over the Agent Client Protocol (ACP), which is how Android Studio supplies the chosen agent with the full project graph, the build setup and platform details. The stated aims are codebase awareness and token efficiency, and continuity of workflow — moving between agent prompts and the IDE's own tools without losing context.
Sources
- Build your way: Use any AI agent of your choice in Android Studio Primary Android Developers Blog
Researched and drafted with AI assistance from the primary sources listed above, then checked against those sources before publication. Every factual claim here is traceable to a cited source; where the sources are silent, so are we. How this works.