Build your way: Use any AI age... Note

Build your way: Use any AI agent of your choice in Android Studio

AI-powered developer tools are enhancing engineering productivity, and Android development is becoming more flexible with agentic approaches. Android Studio now supports various AI models and introduces "Bring Your Own Agent" (BYOA) for preferred coding agents. This feature integrates agents like Anthropic’s Claude, OpenAI’s Codex, and Google’s Antigravity into Android Studio’s AI-optimized infrastructure. BYOA, available in the latest Android Studio Canary, offers codebase awareness, token efficiency, and seamless workflow continuity. It also provides agent flexibility, allowing users to switch agents and inject native tools for testing and execution. These powerful agents can plan and execute technical workflows, including reading/writing files, running commands, and delegating tasks to subagents. They also benefit from Android skills and the Android Knowledge Base for best practices. For Gemini users, selecting the Google Antigravity agent is recommended for access to the latest Gemini models and increased quota. BYOA supports both enterprise and consumer AI plans and is rolling out in preview with Android Studio Rabbit 2. Users can connect agents by updating Android Studio, signing in with their chosen agent, and exploring the documentation. Feedback is crucial for refining the AI experience in Android Studio.