Google Brings AI-Based Agent Mode to Android Studio

Google Brings AI-Based Agent Mode to Android Studio

Agent Mode is a new experimental mode in Android Studio that can help developers with more complex tasks than Gemini alone.

“At Google I/O 2025, we offered a glimpse into our work on agentic AI in Android Studio, the integrated development environment (IDE) focused on Android development,” Google’s Sandhya Mohan and Jose Alcérreca write in the announcement post. “We showcased that by combining agentic AI with the built-in portfolio of tools inside of Android Studio, the IDE is able to assist you in developing Android apps in ways that were never possible before. We are now incredibly excited to announce the next frontier in Android development with the availability of Agent Mode for Gemini in Android Studio.”

Agent Mode is available now in Android Studio “Narwhal” Feature Drop 2025.2 Canary 6 (yes, seriously) and it’s coming soon to Gemini Code Assist business tier subscribers. It works with a chat-based interface but goes beyond normal code assist capabilities by working across the project to find and fix errors, extract all hard-coded strings in a project and organize them into a strings.xml file for internationalization, add support for dark mode to an app, an implement the code needed to create an app window based on a screenshot. It will suggest edits so the developer can review, accept, or reject them. And it can iterate on tasks over time. There’s even a “I’m feeling lucky” feature called auto-approve that I can’t say is a good idea.

Agent Mode also integrates with external AI services using standard Model Context Protocol (MCP) interfaces. This is a bit limited in the initial release, but Google says it will support the full suite of MCP features in upcoming Android Studio releases, including the Streamable HTTP transport, external context resources, and prompt templates.

By default, Agent Mode has a no-cost daily quota with a limited context window, but if you are paying for Gemini Code Assist, Agent Mode’s context window expands to 1 million tokens with Gemini 2.5 Pro. Others with a Gemini API key can input that to get the same capabilities.

Tagged with

Share post

Thurrott