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.
Use the Antigravity agent in Android Studio
If you use the Gemini model provider in Android Studio, you'll be upgraded to the Antigravity agent, which includes access to the latest Gemini models and more quota.
Migrate from Gemini Code Assist
Because Gemini Code Assist is being deprecated, update your license to Gemini Enterprise before using the Antigravity agent in Android Studio. For more information, see the Gemini Code Assist deprecation schedule.
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.