![](http://developer.android.com/static/images/logos/android.svg)

# Start with an idea. Build with AI. Ship on Android


To build an Android app with an AI agent, install Android CLI and use it with the coding
agent you already have --- Claude Code, OpenAI Codex, Cursor, Gemini CLI, or Google's
Antigravity. Android CLI gives the agent official tools to create a project, run it on an
emulator, inspect the UI, run tests, and ground itself in current Android guidance. Finish
and ship in Android Studio.
[Learn more](http://developer.android.com/tools/agents.md.txt)

## Build with your favorite tools and agents

![](https://developer.android.com/static/images/ai-tools/cli/codex.svg) Codex ![](https://developer.android.com/static/images/ai-tools/cli/cursor.svg) Cursor ![](https://developer.android.com/static/images/logos/android-studio.svg) Android Studio ![](https://developer.android.com/static/images/ai-tools/cli/antigravity.svg) Antigravity ![](https://developer.android.com/static/images/ai-tools/cli/claude.svg) Claude Code [![](http://developer.android.com/static/images/ai-tools/cli.png)](http://developer.android.com/cli.md.txt)

### [Build your way](http://developer.android.com/cli.md.txt)

Equip your favorite tools---including Claude Code, Cursor, and custom scripts---with the Android CLI to inspect projects, build modules, and run automated tests. [![](http://developer.android.com/static/images/ai-tools/spotlight-automate-end-to-end.png)](https://antigravity.google/docs/build-with-google/#android-cli)

### [Automate end to end](https://antigravity.google/docs/build-with-google/#android-cli)

Orchestrate autonomous, multi-turn development workflows using Google Antigravity 2.0, with integrated Android CLI and skills for expert Android app development. [![](http://developer.android.com/static/images/ai-tools/spotlight-idea-to-production.png)](http://developer.android.com/ai-in-android)

### [From idea to production](http://developer.android.com/ai-in-android)

Easily open apps you build with Android CLI in Android Studio, where visual editors, live Compose previews, integrated emulator tests, and AI assistance help you scale to production.

## Core capabilities for agentic Android development

Use the model and agents that best fit your development workflow. Set up AI assistance in the way that best matches your team's requirements, preferred LLMs, and budget: ![](http://developer.android.com/static/images/ai-tools/capability-ai-studio.png)

### Prototype in Google AI Studio

Turn ideas into working Android prototypes with Gemini in Google AI Studio. Test Compose layouts and export starter code directly into your project. [Build in AI Studio](https://aistudio.google.com/docs/aistudio-android) ![](http://developer.android.com/static/images/ai-tools/capability-android-skills.png)

### Power AI with Antigravity \& CLI

Build high quality Android apps with Antigravity and Android CLI. Connect your AI directly to official platform tools, guides, and tests. [Download Android CLI](http://developer.android.com/tools/agents/android-cli/download.md.txt) ![](http://developer.android.com/static/images/ai-tools/capability-android-studio.png)

### Ship with Android Studio

Apps you build with Android CLI can be easily opened in Android Studio, where visual editors, design tools, debuggers, and AI assistance help you scale to production. [Build in Android Studio](http://developer.android.com/studio)

## Featured agentic workflows

[![](http://developer.android.com/static/images/ai-tools/workflow-journeys.png)](http://developer.android.com/tools/agents/android-cli/journeys.md.txt)

### [Test user journeys with AI](http://developer.android.com/tools/agents/android-cli/journeys.md.txt)

Automate end-to-end testing across entire app experiences. Use Journeys in Android Studio or Android CLI to simulate user interactions, validate UI behaviour, and identify issues before release. [Learn more](http://developer.android.com/tools/agents/android-cli/journeys.md.txt) [![](http://developer.android.com/static/images/ai-tools/workflow-port-apps.png)](http://developer.android.com/tools/agents/workflows/app-migrations.md.txt)

### [Port your apps to Android](http://developer.android.com/tools/agents/workflows/app-migrations.md.txt)

Accelerate cross-platform conversions with migration guides. Use the Android Studio migration toolset to translate iOS, Web, and Flutter codebases into modern Kotlin and Jetpack Compose for Android devices. [Learn more](http://developer.android.com/tools/agents/workflows/app-migrations.md.txt) [![](http://developer.android.com/static/images/ai-tools/workflow-compose-ui.png)](http://developer.android.com/studio/gemini/generate-compose-previews.md.txt)

### [Accelerate UI development with Compose design tools](http://developer.android.com/studio/gemini/generate-compose-previews.md.txt)

Transform design mockups into idiomatic Jetpack Compose code with AI assistance. Describe UI changes in natural language, generate instant Compose Previews, and iterate on layouts directly in your project. [Learn more](http://developer.android.com/studio/gemini/generate-compose-previews.md.txt)

## Knowledge grounding and evaluation

Feature

### [Equip agents with Android skills](http://developer.android.com/tools/agents/android-skills.md.txt)

Configure your coding agents with modular capability packages containing verified domain knowledge. Provide authoritative grounding for Android features and development frameworks like Jetpack Compose, modern Android architecture, identity APIs, and platform APIs to help eliminate hallucinations and outdated code patterns. ![](https://developer.android.com/static/images/ai-tools/grounding-android-skills.png) [Learn more](http://developer.android.com/tools/agents/android-skills.md.txt) Feature

### [Give your AI trusted Android knowledge](http://developer.android.com/studio/gemini/access-helpful-resources.md.txt#android-knowledge-base)

Help AI agents generate more reliable Android code by connecting them to authoritative Android documentation, APIs, sample code, and platform guidance. Reduce guesswork and keep development grounded in up-to-date Android best practices. ![](https://developer.android.com/static/images/ai-tools/grounding-trusted-knowledge.png) [Learn more](http://developer.android.com/studio/gemini/access-helpful-resources.md.txt#android-knowledge-base) Feature

### [Measure AI performance on Android](http://developer.android.com/bench)

Explore Android Bench to see how models perform on real Android development tasks. Compare task completion rates, efficiency, and accuracy across different model capabilities. ![](https://developer.android.com/static/images/ai-tools/grounding-android-bench.png) [Learn more](http://developer.android.com/bench) Feature

### Orchestrate parallel agents with Git worktrees

Run multiple AI agents concurrently on a single Android codebase without file collisions or build conflicts. Configure isolated Git worktrees, set up shared Gradle build caches, and coordinate parallel agents across complementary tasks, such as generating Compose layouts while independently executing unit tests. ![](https://developer.android.com/static/images/ai-tools/grounding-git-worktrees.png)