To get started with AI in Android Studio, follow these steps:
- Download Android Studio. Note that some features are under active development and only available through Studio Labs or a preview version of Android Studio.
- To launch an agent, open or start an Android Studio project and click
Agent
. Alternatively, click View > Tool Windows > Agent. - Use the Agents drop-down to add, configure, and select agents.
- To use a Gemini model, click the model menu. Sign in to your Google Account
if needed, and then click Set up Gemini.
- Select Individuals when given the choice of product tier. You can now select a Gemini model to use.
- To configure settings for AI in Android Studio, click File (Android Studio on macOS) > Settings > Tools > AI.
Next steps
- See the best practices for tips on how to use the agent.
- Explore the guides to learn more about the agent's features.
- Browse the Prompt Gallery for inspiration for what to ask the agent.