Learn how to precisely manage the information that Gemini in Android Studio uses by selecting specific files, rules, and commands. With the power to choose exactly what the AI agent sends to the model, developers can achieve more focused and accurate results.
Using the @ command, you can quickly reference files in your prompts, giving you direct control over the context. This feature helps ensure that Gemini works with the most relevant parts of your codebase, boosting productivity.
For a deeper dive, Android Developer Relations Engineer Jose Alcérreca explains these techniques in the full fireside chat, available on the Android Developers YouTube channel.
"You hold the power — select exactly what information the agent sends to the model, including files and rules."
Download Android Studio from the official site and start experimenting with context control to enhance your development workflow.