XML Jetpack Compose Android Studio Android DevelopmentAugmented RealityVirtual Reality 2 min read

Android Studio Rabbit 2 Launches With Support for Custom Coding Agents

Android Studio Rabbit 2 is now stable, introducing Bring Your Own Agent support, a new skill manager, and integrated AI tools for memory leak analysis.

Android Studio Rabbit 2 is stable and available for production. The update introduces Bring Your Own Agent, supporting over 40 coding agents compliant with the Agent Client Protocol, including Claude Agent, OpenAI's Codex, Junie, and Google Antigravity. These agents access Android Studio tools like the Android Emulator, build systems, and Logcat. You configure agents in Settings under Tools, AI, and Agents, or through the agent window. Google notes the feature addresses specific agent preference, cost efficiency, and enterprise agreement needs.

A new skill manager handles Android skills for procedural guidance. Shipped skills cover migrating legacy XML Views to Jetpack Compose, upgrading to AGP 9, building adaptive layouts for foldables and tablets, and integrating CameraX and Firebase. You access the manager from the Agent panel's menu, by typing @ in chat, or via Settings.

LeakCanary now integrates with the built-in agent inside the Profiler task, providing narrative explanations and code change suggestions for memory leaks. AI Change Review adds Recommended Fixes, where the agent reviews changes, and Create Walkthrough, which groups related diff chunks into logical themes.

Android XR emulators for XR glasses, audio glasses, and display glasses are stable, launching from Device Manager. The display glasses emulator accepts custom 360-degree photos or camera video feeds, accompanied by hardware LED indicators and an updated Pairing Wizard. Gemini Enterprise support continues from Rabbit 1, offering source code and workspace context non-retention guarantees, audit logging, and admin policies for approved skills, agents, and model endpoints.