Fernando Guzman

December 2025 · Python, LLMs, ADB · Code on GitHub

Mobile QA Agent

An LLM agent that tests real Android apps by itself: it reads the screen, decides what to do, and drives the phone over ADB.

VS Code terminal showing the agent's planner output next to a phone running Obsidian
The agent working in Obsidian. Planner output in the terminal, actions on the phone.

Overview

I built this for my QualGent internship application. Instead of using an existing agent framework, I wrote the loop from scratch, so every step of the control flow is visible. In Obsidian it handled routine tasks (opening the app, setting up an account, creating notes, changing settings) with 95% accuracy.

How it works

There are three parts, each with one job:

A shared memory keeps track of finished tasks and what the agent has learned about the app's layout, so later steps go faster instead of rediscovering the interface every time.

Why not use a framework

I looked at existing options like Simular's Agent S and Google's Agent Development Kit. I went custom for three reasons: I'd learn more about how these agents work, there's less overhead so it runs faster, and I could control the hardest decision myself, which is when to trust the screenshot and when to trust the UI hierarchy. It also means the whole decision path is easy to inspect, which matters for a testing tool.

What it can do

Back to projects