Press Esc to close

Google opens Android Studio to any AI agent and adds performance tools

Google opens Android Studio to any AI agent and adds performance tools
Android Dev Summit 2026 banner showing Claude Agent, Codex and Google Antigravity in Android Studio

Image: Google

Google used Android Dev Summit 2026 to show how the tools for building Android apps are changing as AI coding assistants become part of everyday work. In a post on the Android Developers Blog, Adarsh Fernando, Group Product Manager for Android Developer Tools, rounded up every tools and performance announcement from the event.

The short version is simple. Google wants developers to use whichever AI assistant they like, inside or outside Android Studio, and it wants those assistants to know Android well. It also wants apps that run faster, crash less, and take up less space on phones.

A quick note on terms helps. Android Studio is the main program developers use to write Android apps. An AI agent is an assistant that can do coding jobs on its own, such as editing files, running tests, and fixing bugs. A model is the AI brain behind that assistant.

The biggest change is called Bring Your Own Agent. Android Studio now works with more than 40 outside coding agents through an open standard called the Agent Client Protocol, so a developer is no longer limited to Google's built in assistant. Google says the feature is now stable in Android Studio Rabbit 2. Developers find agents under Settings, then Tools, AI, and Agents, and can install several and switch between them.

Claude Agent running inside Android Studio through Bring Your Own Agent

Image: Google

Google says the outside agents also get access to what Android Studio already knows about a project. That includes how the app is built, a live preview of its screens, the emulator, and the app's logs. Bring Your Own Agent also brings in Google Antigravity, giving signed in users access to the latest Gemini models as they launch.

Next is Change Review. Agents can make large changes that are hard for a person to check. Android Studio can now produce a report of possible problems in those changes. Developers can also type the review command in the agent window, ask for a guided walkthrough of a long change, and let the agent fix what it finds.

Change Review report in Android Studio

Image: Google

To help people pick a model, Google points to Android Bench 2.0. It is a public ranking of AI models on long, real Android jobs, such as moving an app to a new design system or building an app from mockups. Google says these are tasks that take an engineer days, and that answers are graded on whether they actually work, along with cost and time.

For smart glasses, emulators for XR glasses, audio glasses, and display glasses are now stable. An emulator is a pretend device that runs on a computer. Developers can now load their own 360 degree photos or a live camera feed to test how an app looks in a real place. Google also added indicator lights for the microphone and camera and a better way to pair a pretend phone with pretend glasses.

Android XR Emulator with a customizable environment

Image: Google

Many older apps still build their screens with a system called XML Views, while Google's newer system is Jetpack Compose. The new Migration Assistant does most of the move for developers. A developer can right click a layout and choose to migrate it, and the agent plans the work and converts the code. A progress timeline shows where it is and where to resume if it stops. This is available in the Android Studio Canary test build.

XML Views to Compose migration in Android Studio

Image: Google

Not every developer works inside Android Studio. Android CLI is a command line tool that lets AI agents and automated build systems work with Android directly from a terminal. It now supports real phones in Google's device lab. The android device remote command connects to one, and android device hub shows all local and remote devices in one simple window.

Android Device Hub showing local and remote devices

Image: Google

A new android preview command draws an app's Compose screens without an emulator or Android Studio, so an agent can check its own work. Google says that in internal testing, agents using it finished screen tasks 77 percent faster while using up to three times fewer tokens. Tokens are the units AI services use to measure and bill usage.

Google also updated its official Android plugin for Google Antigravity with live screen previews and device views inside the chat. And Android CLI is now available as an official plugin for Claude Code and OpenAI's Codex, letting those agents create projects, run emulators, inspect screens, and search Android's official documentation.

The second half of the announcements is about performance, which is what app users actually feel. A memory leak happens when an app keeps holding memory it no longer needs. Over time that slows the phone and can crash the app. LeakCanary, a popular open source leak finder, is now built into Android CLI and the Android Studio Profiler. It checks memory snapshots on the computer rather than on the phone, so the app is not slowed down during testing.

Google chart comparing an AI agent fixing memory leaks with and without Android CLI

Image: Google

In a test chart shared by Google, the same Claude Opus 5.5 agent fixed leaks across 45 user journeys in 46 minutes with Android CLI compared with 88 minutes without it, using 3.5 million tokens instead of 4.6 million. In Android Studio, a Fix with AI button can explain a leak and suggest a fix. Google says that button is in the Canary build and that the CLI leak command is coming soon.

Fix with AI for a memory leak in the Android Studio Profiler

Image: Google

Android Performance Analyzer, the tool behind Android Studio's speed analysis, now also powers a profiler command in Android CLI. Paired with a new android-profiler skill, an agent can record a trace, which is a detailed timeline of what an app did, find slow parts, suggest fixes, and measure the result. With androidx.tracing 2.0, traces can also point to the exact file and line of code behind slow work.

Some problems only show up on real users' phones. A new android signals command brings crash reports, freezes known as ANRs, and memory issues from live apps into the terminal. Google says Firebase Crashlytics can now collect memory snapshots from real out of memory crashes, with sign up for early access. Android vitals is also adding a metric for how much memory an app's images use.

R8 is a tool that shrinks and speeds up apps before release. Its results are often held back by keep rules, which are instructions that stop R8 from touching certain code. Google announced an android analyze command to show how well R8 is working, an R8 Configuration Analyzer built into Android Gradle Plugin 9.3 that ranks costly rules, and Jetpack Keep in alpha for more precise rules. For app users, the payoff is smaller downloads and quicker apps.

Jetpack Compose 1.13 adds recomposition tracing. Recomposition is when an app redraws part of a screen. The tool shows not just what was redrawn but why, which helps developers stop wasteful redraws that make apps feel sluggish.

Google also previewed Lightbuild, an early way to describe how an app is built using a simple settings file instead of code. Google says it is still early and recommends trying it only on new or experimental projects while keeping Gradle for production apps.

Finally, Google now offers more than 30 official Android skills across over 20 areas. Skills are packs of up to date knowledge that teach AI agents current Android practices. A play-policy-insights skill checks an app against Google Play rules before submission, and two new security skills review how an app handles permissions and messages between apps.

For developers, the message from Google is that AI help should fit their existing tools rather than replace them. For everyone else, the promised result is apps that start faster, leak less memory, crash less often, and take up less space. At the time of this writing, some features are stable while others remain in Canary, alpha, early access, or coming soon, so availability varies.

Comments

Reader support

No ads. Just independent reporting.

Techcity Authority runs without advertising. Hosting, tools, and the hours behind each piece are supported by readers instead. Even a small contribution goes a long way — and every supporter is credited by name below for the month they give.

Support the site

Monthly via PayPal · cancel anytime

Secure checkout on PayPal. Your name appears here for the month you support.

This month’s supporters

    No supporters yet this month — yours could be the first name here.