Skip to content

Blog

Google releases a tool for full mobile automation

4 min read

Last time, I said that if you want to check the screens AI builds, you should connect Playwright. That takes care of the web, but what about apps? That was my question.

I looked into it, and Google has already released one. It is a tool called ARTEMIS. It is open source, with more than 3,900 stars.

Its one-line description reads: “Let AI assistants and testing tools use a real phone the way a person does.”

The demo was impressive. It opened Google Maps, set up several driving routes, and calculated the total travel time. Then it moved over to YouTube and played a Coldplay song. It moves between apps. Just the way a person uses a phone.

Demo video of a test run in Antigravity (a tool like Gemini CLI)

You give it instructions in plain language, too. For example: “Open Settings, find Battery, and tell me the current percentage.”

There are performance numbers as well. On AndroidWorld, a benchmark built by Google Research, it reportedly achieved 99.1% . The test covers more than 20 apps and more than 100 tasks that each take multiple steps. (Even humans score just 80% on it.)

How it sees the screen was the interesting part.

It combines three methods. First, it reads the structural information the screen provides. If that is not there, it recognizes the text on the screen. If that does not work either, it simply looks at the screen as an image. Some screens, such as games, have no structural information at all. This means it can still find where the buttons are.

This is also where it connects to what I said about Playwright last time. It finds the coordinates on its own, instead of having a person specify them. If the screen changes, it finds them again by itself.

You can connect this directly to Claude Code or Codex.

Build the latest changes into the app, install it on the connected device, open the login screen, sign in with the test account, check whether any unexpected pop-ups appear after signing in, and send back a screenshot of the final screen.

Building, installing, launching, tapping through, checking, and sending back a screenshot. All from one sentence.

I also found it interesting that it has two modes.

The fast mode takes 3 to 5 seconds per step. It looks at the screen and taps right away, so it suits simple, repetitive tasks.

The slow mode takes 15 to 40 seconds per step. In exchange, planning, execution, and verification are split into separate roles. Before it acts, it checks the goal once more. When it gets stuck, it records that and looks for another route. It was built this way to hold up through long tasks of more than 100 steps.

I have written before about why long tasks fall apart. This design seems aimed squarely at that problem.

What about installation?

You clone the repository and run a single start script. It installs the tools it needs on its own and opens a dashboard in your browser. From there, you can give instructions while watching the phone screen in real time, and you can replay past runs as video.

You do not need a real phone. It also runs on an emulator, meaning a virtual phone running on your computer. That may even be the more convenient option.

That said, there are some things I should be honest about.

With Playwright, a single “install it” to your agent is all it takes, but this one needs more preparation. You need an Android development environment, and you have to connect a phone or an emulator. Because of that, I expect it to be somewhat heavier on resources (computer memory and so on).

Also, on the first run, a small helper app is installed on the phone. It is there to read the screen structure. It is stated clearly that it runs only on the phone and sends nothing outside. You can remove it at any time. Still, if you are uneasy about something being installed on your actual phone, starting with an emulator will give you more peace of mind.

So I recommend it only to people who are actually building Android apps. If you only work on the web, Playwright is enough.

iOS support and Android Studio integration are reportedly planned. So is giving instructions by voice.

https://github.com/google/artemis

#AI #Android #TestAutomation #ClaudeCode #OpenSource