GitHub - google/artemis: ARTEMIS turns natural-language instructions into reliable Android automation. It automates end-to-end workflows, captures logs, and integrates seamlessly with AI coding assistants such as Antigravity, Codex, and Claude Code. It also achieves 99%+ success rate on AndroidWorld Benchmark.
Key Points
- 1ARTEMIS is a cross-app automation framework that enables AI agents to execute complex, multi-step tasks on Android devices using natural language instructions and multimodal element targeting.
- 2The system integrates with AI IDEs via the Model Context Protocol to provide autonomous testing workflows, offering both a high-speed "Flash" profile for routine tasks and a multi-agent "Pro" profile for complex, long-horizon diagnostics.
- 3Demonstrating a 99%+ completion rate on the AndroidWorld benchmark, the platform leverages specialized accessibility helpers and visual reasoning to ensure reliable, high-fidelity interaction with diverse mobile application interfaces.
ARTEMIS (Autonomous Remote Testing and Execution for Mobile Interface Systems) is a framework designed to enable AI agents to perform autonomous cross-app automation on Android devices. It leverages natural language processing to execute complex, multi-step tasks by interacting with real physical phones or emulators.
Core Architecture and Methodology
ARTEMIS operates via a reactive observe-and-act loop, utilizing a Model Context Protocol (MCP) server to integrate directly with AI IDEs such as Antigravity, Claude Code, and Windsurf. The framework employs a multimodal targeting system that combines accessibility hierarchies, OCR, and visual models to identify UI elements—an approach effective for diverse interfaces including Canvas, Compose, and Flutter.#### Execution Profiles
The system utilizes two distinct execution profiles to balance latency and planning:
- Flash Profile (--profile flash): A high-speed, reactive loop with an average latency of 3–5 seconds per step. It uses compressed history and visual summaries to maintain context, making it ideal for deterministic, routine tasks.
- Pro Profile (--profile pro): A sophisticated multi-agent graph architecture that performs deep reasoning. It incorporates:
- Planner: Maintains a living Markdown plan with milestone verification.
- Safety Net: Performs pre-execution checks (XML-first, pixel-fallback) to validate targets before action.
- Operator: Manages multi-action bursts to reduce latency for transient UI elements and handles error recovery through execution incidents.
#### Technical Implementation
- Tooling: The framework interacts with devices via a custom Artemis Accessibility Helper (or UIAutomator2 as a fallback), which reads the screen layout without full UiAutomation overhead.
- Diagnostics: The system integrates directly with IDEs, allowing for the collection of Logcat outputs and screenshots. It provides structured audit findings and metric tables upon task completion.
- History Management: To maintain efficiency, ARTEMIS implements "Shared History Compression," which folds screenshots into visual summaries and chunks older steps into "eras," allowing the agent to recall long-running sessions without context overflow.
Performance and Capabilities
ARTEMIS achieved a 99%+ task completion rate on Google Research’s AndroidWorld benchmark, which evaluates performance across 100+ multi-step tasks in over 20 distinct applications. Its methodology emphasizes a "Dynamic-First, Coordinate-Fallback" locator pattern, ensuring robustness against UI variations. The framework supports a variety of integrations, including a Python SDK for automated testing frameworks (e.g.,pytest), a CLI for terminal-based execution, and a web-based visual console for real-time monitoring and playback.