Agent and Labs
Android Studio 2: The New UI
Course 2 ยท Chapter 11 ยท The Agent Window and Studio Labs
Two things on your install are new since the Classic UI: an Agent tool window on the right-hand bar, and a Studio Labs area in Settings. This is a short chapter, because I have not used either on your machine, so everything below comes from Google's documentation and blog, not from what I saw.
The Agent Window
(docs) Current Android documentation says you open it by clicking Agent in the sidebar or choosing View > Tool Windows > Agent. Older 2025 posts call the same place "Gemini" and its Agent tab, so older guides name it differently. Google's blog describes Agent Mode as an AI assistant that can take a task you describe in plain language and work across your project, rather than only answer one question. The 2026 Otter 3 post adds that you can choose between language models.
What it can do depends on your version, your sign-in and (for businesses) an administrator's settings (docs: there is a separate "Gemini in Android Studio for businesses" page; I did not read it).
Studio Labs
(docs) Studio Labs is a part of Settings where experimental features are switched on. A 2025 Google I/O post says to open the Studio Labs tab in Settings and enable the features you want; in canary releases those AI features are on automatically. Journeys (AI-run tests described in plain language) is one example, and the docs say running journeys with the agent needs Android Studio Rabbit 3 or later, so it may not be on your Rabbit 2. I could not find a page that says exactly where Studio Labs sits in the current Settings tree, so use the Settings search box (Chapter 2) and type "Labs".
What to Trust and What to Check
This part is advice, not documentation (general knowledge):
- Read every change before you keep it. The agent's output is a suggestion. You are still the one whose name is on the commit.
- Commit first. With a clean Git state (Chapter 10) you can see exactly what the agent changed in the Commit window, and throw it away if it is wrong.
- Build, run and test. A change that looks right can still fail to compile or break behaviour. Chapters 6 and 7 are how you find out.
- Be careful what you share. Anything in your project may be sent to a remote service; do not let secrets (API keys, passwords) sit in files the agent reads.
- Check version-specific advice. AI tools sometimes describe old menus (a stale "Analyze" menu, say). Compare with what Chapters 1 and 9 show on your screen.
Try It Yourself
Open the Agent window from the right-hand bar, then close it and reopen it with View > Tool Windows > Agent. Describe what it shows before you sign in or type anything.
๐ View solutionOpen Settings, search for "Labs" and report what you find and which features can be switched on or off. Do not enable anything you do not understand.
๐ View solutionIn a scratch project with a clean Git state, ask the agent (if you have access) for one small change. Review it in the Commit window, build and run the app, then keep or discard it, and write down your reasons.
๐ View solutionChecked in the docs (one extended search, summaries only): the two ways to open the Agent window; its older name (Gemini); Agent Mode as a task-taking assistant; model choice (Otter 3 post); the Studio Labs tab in Settings for enabling experimental features; Journeys needing Rabbit 3 for agent runs.
Not verified: the window's appearance and sign-in steps; what Studio Labs offers on your install and where it sits; availability on your account; the exercises (not run by me). Screenshots of the Agent window and the Studio Labs settings page would verify this chapter.
Sources: AI in Android Studio features (developer.android.com), Google I/O 2025: What's new in Android development tools (Android Developers Blog), Otter 3 Feature Drop (Android Developers Blog), Journeys for Android Studio (developer.android.com).