Research Preview · Android OS · Autonomous Agent · Closed-Loop Verification

MobiMind: An autonomous AI agent which can control phones for you

MobiMind turns everyday requests into actions on an Android phone. These recordings show it starting navigation, setting an alarm, booking an Auto, sending email and Marathi messages, playing music, and submitting a job application from a resume. Every run includes the phone screens and decisions that led to the result.

7 runs
Recorded outcomes

Navigation, alarm, ride booking, email, messaging, music and a resume-based application.

73 turns
Inspect every decision

Original screenshots, model decisions, execution feedback and recorded progress audio.

Dual-Path
Tree + Vision Fallback

Primary execution via Android Accessibility Service; Moondream visual grounding for undescribed icons.

Closed-Loop
Outcome Verification

Validates post-interaction screen state to confirm progress or trigger automatic recovery routines.

Research overview

Abstract

MobiMind investigates how a natural-language goal can become a sequence of observable, verifiable actions on an Android phone.

Everyday phone tasks often require users to navigate several screens, interpret unfamiliar controls and carry information between apps. MobiMind addresses this interaction problem with an Android client and a reasoning server. The client observes and acts on the phone; the server interprets the current screen, retains task context and chooses the next step.

The approach begins with Android accessibility data, converts it into a compact semantic representation and maps decisions back to device controls. Visual grounding supports targets that the accessibility representation cannot describe. A fresh observation after execution checks progress, while questions and approval requests keep missing facts and consequential actions within the user’s control.

This research preview presents seven recorded runs, their intermediate decisions and observed outcomes. The intended contribution is an inspectable integration of semantic observation, visual fallback, contextual memory and outcome verification. The recordings provide concrete case evidence; broader reliability, accessibility benefits and comparative performance remain questions for systematic evaluation.

Reading guide: begin with the problem, approach and scope below. Continue through the system overview and recordings, then study the architecture and technical sections. The final discussion sets out evaluation questions, limitations and future work.

Motivation & research question

Problem: a user’s goal is larger than a single tap

A request such as “apply using my resume” describes an outcome. The phone requires a sequence of small, screen-dependent interactions.

The difficulty is connecting that outcome to the right controls as the interface changes. An agent must understand what is visible, preserve facts across app switches, resolve missing information and distinguish an accepted action from an achieved result. A submitted form, for example, needs a receipt before the agent can report that the submission was received.

Understanding the screen

Accessibility trees expose labels and actions, but can contain redundant layout detail or omit the meaning of custom visual controls.

Maintaining task context

Longer tasks depend on earlier observations, document facts, user answers and permissions. Those facts must remain available as the foreground app changes.

Establishing completion

A successful command dispatch does not establish that the intended change occurred. The next observation must support the claimed outcome.

Research question: How can an Android agent combine structured screen understanding, visual grounding and repeated outcome checks to carry out natural-language tasks while keeping its decisions inspectable and the user in control?

Approach in plain language

Observe, decide, act and check again

MobiMind treats phone control as a repeated interaction with the latest screen state.

  1. Receive the goal. Accept a typed request or a reviewed speech transcription and retain the requested outcome.
  2. Observe the phone. Capture the foreground app and its accessibility information, with screenshot evidence when needed.
  3. Build a readable screen. Keep useful labels, values, states and supported actions, together with mappings to the original device controls.
  4. Choose a grounded step. Combine the current screen with task facts and recent history. Ask the user for missing information or approval when required.
  5. Execute and verify. Carry out the supported action, inspect the resulting state and continue, recover or report the observed outcome.

When a visible target has no usable semantic control, the visual fallback locates it in the current screenshot. Some supported field edits and control changes can be grouped into bounded operations with local checks. The task loop and implementation explain these mechanisms in greater detail.

Intended contribution

What this system contributes to the investigation

The contribution is the design and documented operation of an integrated Android agent. Claims of research novelty or superiority require further comparison.

  1. A compact, grounded screen representation. Semantic controls connect model-readable descriptions to executable device targets. The raw and semantic comparison exposes the recorded input rather than relying only on an architectural description.
  2. A combined accessibility and visual action path. Structured targets are used first, with screenshot-based grounding for visible controls that lack usable semantics. The recorded checkbox example traces a target description through to a verified state change.
  3. Verification and user interaction within the task loop. The system combines post-action observations, recovery, retained task facts, clarification and approval. The submission timeline and user-control examples show how these parts work together.
  4. An inspectable set of task traces. Seven recorded runs expose screenshots, decisions, execution feedback and timing. They support analysis of selected behaviors and provide a starting point for a broader evaluation.

These are intended engineering and documentation contributions. The current evidence does not establish a benchmark ranking, universal app compatibility or measured benefits for the intended user groups.

Current scope & evidence

What the present preview establishes

Separate implemented mechanisms, observed case outcomes and proposed extensions when interpreting the material that follows.

Scope of the current research preview
StatusIncluded materialInterpretation
ImplementedAndroid observation and control, server-side decisions, semantic target mappings, visual grounding, memory, voice interaction and approval checks.The implementation section describes supported operations and their bounds.
RecordedSeven selected runs covering navigation, an alarm, a ride request, email, Marathi messaging, music and a resume-based application.The results table reports the visible endpoint of each run. The ride trace ends at driver search.
IllustrativeConceptual diagrams, additional usage scenarios and model pricing comparisons.Examples explain mechanisms; hypothetical cost comparisons do not measure alternative models on the recorded tasks.
Proposed or unmeasuredRSA message signing, broad benchmark comparisons and usability evaluation with intended users.These require implementation or additional study before they can support outcome claims.

Cost figures describe dated estimates from saved model usage and stated rates. They exclude services and expenses for which no billed total is recorded. Input reductions describe particular captures; their effect on end-to-end accuracy and latency requires separate measurement.

01 · System Overview

Meet MobiMind: Autonomous Phone Control

MobiMind translates natural language requests into a validated sequence of interactions with native Android applications and mobile web pages.

A request becomes an active Auto order. Six consecutive captures from swift_osprey, steps 002–007. MobiMind selects the college destination, reviews the Auto option, confirms the pickup and places the ₹201 booking request. The final screen shows “Searching in progress” and “1 Active Order”. The run took seven turns and 1m 26s; the recording stops at driver search.
Pipeline · Stage A

Task Formulation & Context Assembly

Deconstructs high-level human goals into context-grounded, sequential mobile actions.

  • Goal Ingestion: Ingests natural-language intent (e.g. “Start navigation to PES Modern College of Engineering”).
  • Context Fusion: Combines foreground window hierarchies, previous turn history, and persistent app memory.
  • Incremental Execution: Re-evaluates state after every sub-action (opening drawers, querying search, selecting ride options).
Pipeline · Stage B

Observation & Grounded Device Control

Extracts native Android view trees and dispatches physical touch events deterministically.

  • Non-Root Extraction: Dumps view bounds, text, and roles directly from the Android Accessibility Service.
  • Noise Filtering: Strips redundant layout containers while retaining labels, roles, state and supported actions.
  • Dual Grounding: Resolves semantic IDs to physical coordinates, with Moondream visual fallback for custom Canvas views.
End-to-end task loop: High-level goals become grounded interactions through structured observation, semantic parsing, LLM decision making, physical execution, and verification.
01.1 · Intended Users & Voice Interaction

Everyday phone tasks, through voice

MobiMind is intended to make Android tasks more accessible to older adults, blind users and people less familiar with technology.

Sarvam speech-to-text (STT) converts a spoken goal into text. Sarvam text-to-speech (TTS) provides spoken task updates, helping users follow the agent’s progress.

Older adults
Describe a task naturally, with less typing and menu navigation.
Blind users
Give spoken instructions and hear updates without relying only on visual feedback.
People less familiar with technology
Express what they need in everyday language, without learning each app’s interface.
Voice input and spoken feedback support access to everyday Android tasks.
  1. 01
    Speak a goalSarvam STT · Speech → text
  2. 02
    Execute the taskMobiMind · Android actions
  3. 03
    Hear progress updatesSarvam TTS · Text → speech
02 · Recorded Demos

Real goals. Recorded actions. Visible results.

Seven completed Android runs from 8–9 October 2026. Inspect the original phone screens, hear the recorded progress, and follow each decision through to its observed result.

06 · YouTube8 turns · 1m 31s

Play a Marathi song

Search for a Marathi song and check that the selected video is playing.

“Dhaga Dhaga” playing at 0:07.

Replay recorded run
07 · Files → Chrome26 turns · 4m 39s

Apply from a resume

Read a resume, fill a Data Analyst application, select matching skills, and submit after approval.

Jotform: “Your submission has been received.”

Replay recorded runWatch phone recording ↗
Recorded performance

What each run accomplished

Each row links to the complete replay. The result column states what the recorded phone screen shows.

Selected completed runs · 8–9 October 2026 · Estimated model cost in USD
User goalSteps takenRecorded turnsTime takenPricing costModel estimate · USDRecorded result
Find P.E.S. Modern College of Engineering and start navigation from the current location.Google Maps71m 18s$0.00488Active navigation: 7.9 km remaining.
Create an alarm for tomorrow at 8 PM and check that it is enabled.Clock60m 55s$0.002978:00 PM · Tomorrow · Alarm on.
Choose the destination, review the Auto option, and book the ride after confirmation.Rapido71m 26s$0.00819Booking initiated; Rapido shows an active order.
Compose the requested recipient, subject and body, then confirm the send result.Gmail101m 40s$0.01053Gmail displays “Sent”.
Send Atharva a test message followed by a Marathi shayari.WhatsApp91m 41s$0.01019Both messages appear in the chat.
Search for a Marathi song and check that the selected video is playing.YouTube81m 31s$0.00563“Dhaga Dhaga” playing at 0:07.
Read a resume, fill a Data Analyst application, select matching skills, and submit after approval.Files → Chrome264m 39s$0.02528Jotform: “Your submission has been received.”

Steps count recorded agent turns, including confirmation, waits and completion. Time is measured from session start to completion, including user confirmation. Costs are estimates from actual recorded GPT-6 Luna token usage via Command Code: $0.10/M fresh input, $0.50/M output, $0.01/M cache reads and $0.125/M cache writes. Rates checked 9 October 2026: model rates · cache-write rates. Estimates exclude voice, visual grounding, hosting, subscriptions and ride fares; the logs do not record an invoiced total. These selected recordings demonstrate these tasks; they are not a success-rate benchmark.

Pricing

What the recorded model usage costs

The per-run table uses saved GPT-6 Luna usage and these Command Code rates, checked 9 October 2026. Cache reads and writes are charged separately.

Recorded cost basis · USD per one million tokens
Usage typeRateHow it is counted
Fresh input$0.10Input tokens excluding cache reads and writes
Model output$0.50Recorded completion tokens
Cache read$0.01Previously cached input tokens read again
Cache write$0.125Input tokens written to the cache

Estimated model cost = the sum of each recorded token category × its rate ÷ 1,000,000. The run table applies this to each session’s saved usage, rather than multiplying a fixed price by the number of steps.

Source: model rates and cache rates. These are dated estimates, not invoices or subscription prices. Moondream grounding, speech, hosting and ride fares are excluded because a billed total for them is not recorded.

Model pricing comparison

Illustrative 10-call UI-only cost · USD · uncached input
ModelInput / 1MOutput / 1MRaw UI costSemantic UI cost
GPT-6 Luna$0.10$0.50$0.04411$0.00095
Claude Haiku 5.5$0.10$0.50$0.04411$0.00095
Gemini 3.8 Flash$1.50$7.50$0.66160$0.01428
DeepSeek V4.1 Flash · peak$0.30$1.20$0.13208$0.00262
DeepSeek V4.1 Flash · off-peak$0.15$0.60$0.06604$0.00131

Illustration: 10 calls, each repeating this screen’s ~43,707 raw or ~552 semantic UI tokens, plus 80 output tokens. This isolates UI-text cost and excludes other context, caching, retries and services. These are hypothetical comparisons; the seven runs were not repeated with these models. Rates checked 10 October 2026 against Command Code’s model catalogue; Gemini uses the listed standard rate. DeepSeek varies by peak/off-peak hours.

03 · Architecture

The Closed-Loop Task Engine

The system continuously cycles through observation, semantic processing, decision making, hardware execution, and verification until the task completes or requires user input.

Phase 01 · Task Execution Loop

01 · Goal & Trigger

User enters a natural-language goal through the non-intrusive floating assistive overlay bubble.

The user asks MobiMind to read a resume and submit a Data Analyst application. The agent opens My Files, reads the document and switches to Chrome. Later, it asks for missing experience years and submission approval.

Input User Voice / Text Prompt + Foreground Package
Output Initialized Session (Task ID: keen_raven)
Reliability & Safety Interactive confirmation dialogs for high-risk irreversible actions
USER REQUEST
Read my resume and apply for a Data Analyst role.

PLAN
Read the document → fill the form → ask for missing facts → get approval → submit → verify.
Edge Client · Mobile Execution

Android Device Client

Tech Stack: Kotlin · Android 8.0+ · AccessibilityService · Accessibility screenshots / MediaProjection fallback · HttpURLConnection · Floating overlay

  • Non-Root Accessibility Capture: Uses Android’s AccessibilityService to dump live window nodes, text labels, bounds, and clickable states through Android accessibility APIs without requiring root access.
  • Visual Capture: Uses accessibility screenshots when available, with a MediaProjection permission/session fallback. Current images support visual reasoning and Moondream grounding.
  • Floating Assistive Bubble: System Alert Window renders a persistent, non-intrusive assistive bubble for user goal input, execution progress feedback, and manual override confirmation.
  • Hardware Action Dispatcher: Dispatches physical interactions via accessibility node actions (e.g. ACTION_CLICK, ACTION_SET_TEXT) or accessibility gestures (dispatchGesture), reporting immediate OS-level execution status.
  • Production Use Case: Serves as the eyes and hands on the user’s mobile device, transmitting sanitized screen state to the server and executing physical gestures safely.
Brain Engine · Cloud / Server

Reasoning Server Engine

Tech Stack: Python · FastAPI / Uvicorn · Pydantic · Configurable model-provider adapters · Moondream grounding · Speech services

  • Semantic Tree Compression: Strips redundant layout wrappers and non-interactive metadata while keeping actionable controls and their execution mappings.
  • Dynamic Context & Memory Assembly: Fuses the user’s goal, recent turn history, active window hierarchy, and 3-tier persistent memory into model prompts.
  • Dual-Path Action Grounding: Resolves model decisions back to hardware coordinates; calls Moondream visual grounding if target icons lack accessible text.
  • Closed-Loop Outcome Verification: Combines execution feedback with new screen observations to check expected results, detect unchanged controls and choose bounded recovery steps.
  • Production Use Case: Centralizes LLM decision making, API key security, prompt caching, telemetry serialization, and interactive web dashboard session replays.
Closed-loop architecture: Every selected action is connected to the subsequent screen capture. Verification creates context for continuing or self-healing.
Inside the implementation

The phone acts. The server decides.

MobiMind combines an Android client with a Python reasoning server. Each turn connects a requested outcome to the latest phone state, an executable decision and a new observation.

Android app

Observe and control the actual device

The accessibility service captures controls, labels, values, bounds and window information. Screenshots provide visual evidence when required, using accessibility capture where available and MediaProjection as a fallback. The floating assistant hides during capture and execution so it does not cover a target or appear in the evidence.

The app executes the returned action, reports its result and observes again. After navigation it briefly checks whether meaningful accessibility content has settled, ignoring changing capture IDs, clocks and battery information.

Reasoning server

Turn screen state into the next decision

The server chooses the native-app or website cleaner, creates a compact semantic screen, and combines it with the goal, task facts, relevant memory and recent execution results. The selected model proposes the next step.

Validation checks the step’s required fields, current targets and supported node actions. Server-held mappings connect semantic controls to device nodes or touch locations. Model-provider credentials stay on the server.

Fewer model turns for bounded operations

Some tasks need several closely related device operations. Supported compound commands check progress locally and return per-control evidence. They keep the session’s turn limit and stop when the user cancels, a surface changes, a target becomes ambiguous or an operation fails.

Implemented controls and the evidence they return
OperationWhat the phone can doHow the result is checked
Fill related fieldsWrite 2–4 visible, supported text fields in one bounded command.Verify each value; report success, failure or skipped edits. Submission remains a separate action.
Find a known labelSearch one captured scroll region, with a maximum of five local scrolls.Check for the requested visible label after each scroll. Reaching the bound does not prove the item is absent everywhere.
Choose a dropdown valueOpen the control and select an exact labelled option.Recheck the original control’s selected value; return to individual actions if the choice is ambiguous.
Set checkbox or switch stateRequest an explicit on/off state, or change 2–4 independent supported controls.Check each state and recheck the batch. Unknown state requires individual handling and visual evidence.
Adjust a slider or dragUse an advertised native range action, or a precise continuous drag grounded to the current screen.Inspect numeric range or visual handle movement. An accepted gesture alone does not establish the requested value.

Questions and confirmations are part of the loop

The assistant can pause for missing information, offer choices or request approval. Answers are tied to the pending interaction. Confirmation is held on the server; approval triggers a fresh observation and decision, while cancellation does not execute the proposed action. In keen_raven, the user supplies six years of experience and approves submission before the form is sent.

Voice and typed input share the same task flow

The mic can fill a goal or answer draft, which the user reviews before sending. Progress, questions and results can be spoken as well as displayed. Speech recognition and playback can be enabled independently; typed goals and replies remain available when speech is disabled. Listening stops when the overlay is hidden or the screen locks; temporary recordings are deleted. Playback stops before the mic starts listening.

Memory carries useful context forward

The phone stores global, known-app and app-specific memory sections. It sends the relevant sections for the foreground app and applies updates returned by the server. Within a task, the server also retains progress, answers and recent actions, so switching from a resume in Files to a form in Chrome can preserve the facts already read.

Recorded evidence makes failures inspectable

Server sessions retain the Android observation, cleaned model input, decision, device response, screenshots and timing metrics. The client adds observation, network, action and wait timings. These distinguish model latency from capture or app delays and make it possible to inspect what happened before a failure.

These are implemented capabilities, not a claim that every app exposes compatible controls. The recorded demos demonstrate the selected runs; the control table describes additional supported operations in the current app and server.

04 · Screen Representation

The Android Accessibility Tree

An accessibility tree is a hierarchy of interface elements exposed by an application to accessibility services. Each node describes a UI component and its spatial relationship to other elements.

A node can represent a button, text field, image, list item, or layout container. Android exposes properties such as text, content description, class name, bounds, state, and supported actions through AccessibilityNodeInfo.

Parent–child relationships describe containment. For example, a product card contains a product name, price tag, and Add button. Capturing these relationships associates an action with the item it belongs to.

Available Screen Data & Edge Cases

The tree contains only what the application exposes. An icon may have an informative description, a blank description, or no node if rendered in custom Canvas. MobiMind captures raw nodes with parent IDs and window metadata to distinguish apps from permission dialog overlays.

Common Raw Accessibility Properties Used in Automation
Property Meaning Use in MobiMind Automation
node_id / parent_id Node identity and containment hierarchy. Associates child content and resolves physical device touch targets.
text / content_description Visible text or accessible label. Identifies Menu, Search, Add, or named UI buttons.
class_name / role Android element class type. Distinguishes inputs, buttons, links, and layout containers.
bounds Screen coordinates [x1, y1, x2, y2]. Grounds physical touch coordinates when gestures are executed.
enabled / checked / selected Current control state. Prevents clicking disabled controls and checks toggle changes.
actions Operations advertised by the node. Determines whether click, text entry, or scrolling is supported.
Accessibility mapping: Search fields, suggestion rows, content cards, and navigation controls mapped to a structured Android hierarchy.
Core Concept · UI Hierarchy

What is an Accessibility Tree? Android’s Native DOM

If you are familiar with web development, you already understand how mobile accessibility trees work. Just as a web browser parses HTML into a Document Object Model (DOM) of nested <div>, <button>, and <a> elements with styles and event listeners, the Android operating system maintains a parallel Accessibility Tree of AccessibilityNodeInfo objects for native applications.

Website DOM

HTMLDocument Hierarchy
  • Nodes & Tags: Composed of semantic tags such as <button>, <input>, <h1>, and layout <div>s.
  • Attributes & Labels: Identified via id, class, aria-label, placeholder, and inner text.
  • Spatial Geometry: CSS box model computes element bounding rects (top, left, width, height).
  • Action Dispatch: JavaScript listeners handle interaction (click(), dispatchEvent()).

Android Accessibility Tree

AccessibilityNodeInfo Hierarchy
  • Nodes & Classes: Composed of view classes such as android.widget.Button, EditText, TextView, and FrameLayout.
  • Properties & Labels: Identified via text, contentDescription, viewIdResourceName, and hintText.
  • Hardware Bounds: Absolute screen display coordinates [left, top, right, bottom] reported directly by the Android window manager.
  • Action Dispatch: Native accessibility actions (ACTION_CLICK, ACTION_SET_TEXT, ACTION_SCROLL_FORWARD).

Why MobiMind Controls Phones via Accessibility Trees Instead of Raw Pixels:

Screenshot-only vision agents are slow, expensive, and fragile—they frequently miss small buttons, hallucinate touch coordinates, or misread text through OCR. By reading Android's native Accessibility Tree, MobiMind receives exact mathematical bounds, verified text labels, and live component states (clickable, enabled, focused) directly from the OS, bridging web browser automation reliability to mobile apps.

Structural Equivalence: Comparing web HTML DOM elements (left) with Android's native AccessibilityNodeInfo hierarchy (right). Both expose hierarchical UI trees with labels, bounds, and action handlers, allowing MobiMind to automate mobile apps deterministically.
05 · Deep Dive

Raw Accessibility Tree vs. Semantic Tree

Compare the raw Chrome accessibility capture with the compact screen representation from keen_raven, step 023. The model receives semantic controls while the server retains their device mappings.

Raw Accessibility Tree (Before)

Verbose Layout Bloat

Raw Android captures repeat package names (com.android.chrome), class names (android.widget.FrameLayout), nested layout wrappers, empty metadata fields, and coordinate arrays for every node.

  • Hundreds of non-interactive layout containers
  • Repeated metadata and offscreen browser controls
  • More input text than the task requires
  • Slow prompt serialization latency
MobiMind Semantic Tree (After)

Dense Semantic Components

The cleaner strips structural wrappers and assigns compact semantic IDs (e.g., button_1, input_1). The server retains the hardware mapping while feeding the model concise tokens.

  • Preserves visible text, roles, states, and action flags
  • Filters browser chrome and represents the form with concise semantic controls
  • Preserves role, value, visibility and supported actions
  • Deterministic server-side hardware grounding
Semantic compression: Raw accessibility trees converted into compact semantic components while retaining 1:1 execution coordinates on the reasoning server.
Interactive On-Page Comparison Playground

Compare Real Screen Data: Raw vs. Semantic

Recorded Chrome session: Job Application · keen_raven · Step 023

Raw tokens (est.): ~43,707
Semantic tokens (est.): ~552
Text reduction: 98.7%
Raw Accessibility Tree (recorded JSON) ~43,707 tokens
Loading raw session capture…
Semantic Screen (recorded text) ~552 tokens
Loading semantic representation…

Measured run times and usage-based model estimates are in the recorded performance table.

Token counts are estimates for this UI text only: characters ÷ 4, rounded up, matching the server UI-text estimation heuristic. They are not tokenizer measurements or the full prompt bill. The complete prompt also contains instructions, the goal, history and other context.

05.1 · Screen Awareness

Visible, offscreen and hidden controls

A control can appear in captured accessibility data without being ready to use on the current screen. MobiMind preserves this distinction in its semantic representation.

The native-app and website cleaners produce a shared view of controls and their availability. Visible controls remain in the current screen description. Captured offscreen content can provide a preview of what scrolling may reveal. Hidden content needs a separate reveal step, such as opening a menu.

Visible

The control is in the current view. Its exposed state and supported actions help determine whether it can be used; a visible disabled button still needs its prerequisite resolved.

Scroll-reachable

The capture contains a control outside the viewport and associates it with a scroll region. Reveal it through that region, then observe again before choosing the device action.

Hidden

The control is not available in the current view and cannot simply be reached by scrolling. Open the relevant drawer, menu or other reveal control when the observation provides that relationship.

Reveal, then observe: This conceptual illustration explains availability. The faded controls outside the viewport represent captured offscreen content, rather than extra controls visible on the phone.

Worked example: the application button is below the form

In keen_raven, step 013, the semantic screen contains the experience and education fields. Its scroll preview places Submit Application below the current view and associates it with the Page region. The preview tells the agent where to look next; it does not establish that submission is ready or approved.

SCROLL · excerpt from recorded step 013
Region: Page · target [scroll_region_1]
ABOVE: captured email content
BELOW: [button_1] Submit Application · #scroll
Reveal: scroll_down on [scroll_region_1]

Reveal the control, then observe again before acting.

The same representation supports content above, below, left and right of a region. These positions describe where content lies, rather than the direction a finger should move. Scrolling resolves to a specific visible region with an advertised directional action; an ambiguous region does not receive a global scroll fallback.

Bounded previews preserve useful context

Preview text is limited to three logical items per side and eight per region, with each preview text field capped at 120 characters. The configurable offscreen-component budget limits retained lookahead while keeping all visible components. Omitted captured items are reported so the agent can scroll and observe again.

Previews cover captured nodes only. A missing preview does not prove that the region has no more content. The implementation does not infer an unseen page or invent a hidden control’s reveal relationship. The recorded model input contains the full example.

06 · Visual Grounding

Finding Missing Targets: Moondream Fallback

The agent must determine whether a target is offscreen, hidden in a drawer, omitted during compression, or only identifiable from the screenshot.

Missing-Target Cases and Automated Recovery Steps
Case Real-World Example Automated Next Step
Target is offscreen Product appears below visible viewport. Scrolls supported region, re-captures tree, and uses new target ID.
Target is hidden Link is inside a collapsed hamburger drawer. Taps Menu button and inspects newly exposed navigation links.
Control has no node Map recenter icon drawn directly on custom Canvas. Sends target description + screenshot to Moondream visual grounding.
Node lacks label Photo gallery with empty ImageView descriptions. Uses visual grounding to identify the requested image subject.
Ambiguous targets Multiple products with identical names. Pauses execution to query the user for clarifying details.
Scenario 01 · Recorded example

The control is visible, but no usable node exposes it

An app can draw a button or checkbox without publishing a usable accessibility target. The screen contains the control, while the semantic view cannot name an action for it. In keen_raven, the application’s skill checkboxes require this fallback.

MobiMind describes the empty checkbox beside Python. Moondream locates it in the current screenshot; the server maps that point to the phone and the next observation confirms the checked state.

Scenario 02 · Illustrative example

The node exists, but does not describe the image

Suppose the user asks: “Open the photo containing a cat.” Gallery may expose several clickable image nodes with empty descriptions. Their bounds tell the agent where thumbnails are, but the node text cannot identify which one contains the cat.

MobiMind sends the screenshot and a specific visual target description to Moondream. It uses the returned location to tap the cat thumbnail, then inspects the opened photo. If several cat photos match, it should ask which one the user wants. This Gallery example explains the capability; it is not one of the seven recorded demos.

Two reasons to use visual grounding: a visible control without a usable node, or a node without enough meaning to identify the requested image. The checkbox example comes from keen_raven; the cat-photo example is illustrative. Both require a fresh observation after the tap.
A recorded Moondream grounding request

MOONDREAM FALLBACK · step 018
Target: the empty checkbox beside Python.
Input: current screenshot + a specific target description.
Returned point: (0.078125, 0.443359375).
Mapped tap: (84, 1064) on the original 1080 × 2400 screen.

Step 019 shows Python selected.

How Moondream grounding works

Accessibility is the first source of actionable controls. When a control is visible but has no usable semantic target, the agent describes that specific target and the server sends the current screenshot to Moondream. Moondream locates it visually; the server maps the returned normalized point back to the original phone screen, executes the tap and captures a fresh observation.

  1. Describe one target. In step 018: “the empty checkbox immediately to the left of Python in the Primary Skills list”.
  2. Ground on the current screenshot. The recorded image was sent at 576 × 1280; Moondream returned (0.078125, 0.443359375).
  3. Map and validate the point. On the original 1080 × 2400 screen this becomes pixel (84, 1064). The implementation rejects missing or ambiguous points and checks supplied target bounds.
  4. Tap, then verify. The next screen shows Python checked. Steps 019–021 repeat visual selection for SQL, Machine Learning and Cloud.

Choose the appropriate fallback

A missing target may simply be offscreen or inside a closed menu: scroll or open the menu first. If a known accessibility action fails to change the screen, the configured recovery ladder can try the control’s bounds, an edge touch, then Moondream grounding. A visible target with no usable semantic control can use visual grounding directly. Neither a returned point nor a successful tap proves the goal is complete; the agent checks the resulting screen.

If the screenshot is unavailable, the tool fails, or the target is ambiguous, the server records the failure and returns to recovery. It does not invent coordinates. The left panel illustrates the recorded checkbox flow; the Gallery panel illustrates missing image descriptions.

07 · Decision & Execution

From Decisions to Physical Android Touches

The model selects an action and a current semantic target. The server validates that choice and resolves it to executable device coordinates.

What is sent to MobiMind each turn?

The reasoning model receives the user’s goal and task progress, relevant retained facts, recent actions and their results, the foreground app, and a compact semantic description of the current screen. Visual evidence is available when needed. This gives the next decision both the requested outcome and the phone’s latest state.

For the resume application, the task facts include the resume details and the six years supplied by the user. The history includes submission approval. The current screen supplies the Submit Application control. The next decision names one action and an expected result; the phone executes it and the next observation checks whether it worked.

Decision interface: User goal, active memory, previous turns, semantic components, and optional visual evidence inform exactly one next structured decision.
SEMANTIC ACTION
Find the current Submit Application control.
Resolve its saved device target.
Tap it after user approval.

Then inspect the next screen; a successful tap alone does not confirm submission.
Hardware execution: Grounding connects semantic decisions to physical interactions via accessibility click, touch coordinates, and escalation.
07.1 · Validation Before Execution

Validate before execution

The model proposes a next step. The server checks its structure, current targets and action requirements before translating an accepted decision into a phone command.

This creates a boundary between reasoning and execution. A plausible explanation does not make a missing target, unsupported action or invalid range executable. Schema checks and semantic validation return specific feedback when the proposal cannot be used.

Examples of checks before a device command is issued
CheckWhat must holdWhy it matters
Structure and required fieldsThe decision must follow its step-specific schema, including required text, direction, target or gesture fields.Incomplete or malformed proposals cannot become executable commands.
Current target and labelThe semantic target must resolve in the current observation. A supplied label must match the control’s current label.A remembered ID or a label inside another component is insufficient to identify the intended control.
Supported action and stateA node action must be advertised; known-disabled targets are rejected. Native progress values must satisfy the observed range.The requested operation must fit the control’s exposed capabilities.
Bounded compound operationsText batches require supported visible fields; toggle batches require suitable controls with reliable checked-state evidence. Duplicate device targets are rejected.Grouping several operations requires stronger per-control checks.
Scroll region and visual gestureScrolling must resolve to one suitable region. Visual actions need a target description and valid gesture parameters; grounding must provide usable current-image evidence.The server can report ambiguity or missing evidence instead of inventing a device location.
Two different checks: Pre-execution validation checks whether the command satisfies the contract. Post-execution observation checks whether the expected change occurred.

Repair feedback is specific and bounded

For an illustrative missing-target proposal, the validator returns TARGET_NOT_FOUND and explains that the selected target is absent from the current semantic observation. The reasoner receives that feedback and can choose a valid current control, request more information or report that it cannot continue. The rejected proposal is retained in diagnostics rather than silently executed.

The example configuration permits two validation repairs per step. The deployed limit is configurable. If repair opportunities are exhausted, the turn ends with a recorded failure and no command from the rejected proposal. Some provider errors are also eligible for repair; configuration errors and other non-repairable failures are reported directly.

Validation establishes command eligibility, not task success or the correctness of the user’s goal. Required approvals remain part of the user-control flow; the verification loop still needs evidence from the phone after execution. The missing-target example above is illustrative, rather than a claim about a failed recorded demo.

08 · Reliability & Recovery

Closed-Loop Verification and Recovery

Execution feedback reports the command dispatch result. Verification evaluates whether the new observation satisfies the expected state transition.

Failure Mode 01

Unchanged Screen

An accepted touch leaves the screen unchanged due to misaligned coordinates. MobiMind re-grounds the target with direct coordinates or retries with a slight offset.

Failure Mode 02

Unexpected Destination

The opened page does not match expected post-conditions. The agent inspects navigation results and triggers corrective navigation instead of falsely marking completion.

Failure Mode 03

Unsaved / Uncommitted State

A field displays edited text, but persistence is required. The agent saves and verifies the stored value before reporting success.

Verification in this recording: keen_raven observes the processing state at steps 024–025, waits for a receipt, and reports success only when the Jotform confirmation appears in step 026.
08.1 · Limits & Retry Cost

Make progress within a bounded budget

Recovery helps an agent finish a task, but repeated attempts consume time and model usage. MobiMind limits those attempts while allowing multi-step tasks to continue when progress is supported by evidence.

Why an uncontrolled retry loop can become costly

If an agent repeatedly tries to fix its own failed attempts, it can return to the same screen without making useful progress. Each additional reasoning call processes context and produces output; renewed visual grounding and enabled speech services can add usage too. A recursive “retry, repair, retry again” pattern can therefore increase cost and waiting time even when the user’s goal remains unfinished.

The implemented recovery flow uses bounded attempts rather than an unlimited recursive loop. It checks new observations, records failed execution methods and exposes the remaining turn budget to the reasoner. An unresolved step can end with a limitation or a request for missing information instead of continuing indefinitely.

Progress within limits: The retry loop illustrates a failure risk. The middle panel summarizes the checked configuration; the final panel summarizes the recorded keen_raven application. A turn limit bounds interaction length, rather than guaranteeing a particular spending total.

Limits at different levels

Current limits · configuration checked 10 October 2026
BoundaryLimitWhat happens at the boundary
Session turns40 turns in the checked runtime configuration; configurable.A continuation beyond the limit ends the session with a maximum-step message and no new model decision or device command.
Validation repairsUp to 2 repairs within a turn in the checked configuration; configurable.The reasoner receives specific rejection feedback. Exhausting the repair budget ends the turn without executing the rejected proposal.
Repeated control recovery2 attempts for identical unverified adjustments; 3 activations for an unchanged control in the recovery policy.The agent must inspect prerequisites or choose a different route instead of repeating the same unsuccessful adjustment or activation.
Local compound operationsText and toggle batches contain 2–4 controls; bounded label search uses at most 5 local scrolls.Local execution checks results and stops on cancellation, ambiguity, changed surfaces, failure or the search bound.

These limits apply to different units. A turn may contain repair calls or a supported compound operation, so 40 turns does not mean exactly 40 model calls or 40 device actions. Questions, waits and completion also appear in recorded turn counts. Limits bound attempts; the current implementation does not enforce a monetary spending cap. The cost section explains what the recorded estimates include.

Long tasks can still complete

A bounded budget leaves room for a sequence of useful steps. MobiMind retains task facts, user answers and recent actions across observations and app switches. Supported compound commands can complete related field edits or control changes within one model turn, with local checks and per-control results, without increasing the session limit.

In the recorded resume-based application, the agent reads a document, fills a form, asks for missing experience information, selects skills, obtains submission approval and waits for a receipt. The run finishes in 26 recorded turns, within the checked 40-turn limit. This is evidence that a longer task can complete within the budget; it does not guarantee completion for every task.

The user can stop or decline

The Android Stop control invalidates the active run so late responses are not used to continue it. Confirmations are tied to the pending action and expire after 60 seconds; a changed proposed action requires new approval. Stopping prevents further task execution, but does not undo completed actions or refund usage already incurred.

See decision validation for pre-execution repairs, verification and recovery for outcome checks, and user control for recorded clarification and approval examples.

09 · Knowledge Persistence

Contextual memory

MobiMind retains user preferences, app identifiers and app-specific knowledge for reuse across tasks.

Original architecture illustration: global, package and application memory. Its sample screens are conceptual examples; the new recorded application demonstrates task facts and recent history.
Three scopes of reusable memory
ScopeStored information and examples
01 · GlobalUser preferences

Preferences shared across apps.

Example: preferred language is Marathi.
02 · PackagesApp names → Android identifiers

Connects a familiar app name to its package ID.

Rapido
com.rapido.passenger
Chrome
com.android.chrome
03 · AppApplication knowledge

Reusable navigation details for a particular app.

Example: a saved note that the menu contains Settings.
User goal“Open Rapido” Package memorycom.rapido.passenger Application selectionRapido

Package mappings combine saved app names with observed identifiers. The current task’s checklist remains separate from persistent memory.

10 · Security & User Control

User control and authentication

Ask before acting

MobiMind pauses for approval when required and asks for clarification when an instruction is unclear.

Confirmation · Permission to act

“Should I submit the Data Analyst application on Jotform now?”

Submit application / Cancel
The application is submitted only after approval; the later Jotform receipt confirms the result.

Ask user · Missing information

“What total number of years of experience should I enter on the application?”

In keen_raven, step 013, the agent asks for a fact missing from the resume. The user supplies six years before the agent enters it.

The submission prompt above is recorded in keen_raven, step 022. Approval applies only to the stated action.

RSA authentication

Each party signs messages with its private key. The receiver checks the signature using the sender’s trusted public key, verifying the sender and detecting changes.

App signs → server verifies → server signs → app verifies.

RSA signing is proposed; approval checks are implemented. Signatures verify messages; encryption protects their contents.

11 · Research & Evaluation

Research Context & Mobile Agent Benchmarks

How MobiMind compares against prominent mobile agent frameworks in the research literature: AutoDroid, AndroidWorld, and M3A.

Architectural positioning: Comparing screenshot-only agents, raw accessibility parsers, and MobiMind’s hybrid semantic representation.
Academic Reference

AutoDroid (Wen et al., 2023)

Research on Android task automation using language models, UI representations, and app-specific memory. MobiMind extends this by adding continuous closed-loop post-action verification and multimodal visual fallback.

Read AutoDroid on arXiv ↗
Academic Reference

AndroidWorld (Rawles et al., 2024)

A mobile-agent benchmark featuring parameterized tasks, reproducible initialization, and reward verification. Guides MobiMind’s outcome validation philosophy.

Read AndroidWorld on arXiv ↗
Evaluation plan

From recorded cases to systematic evidence

The current recordings explain what happened in selected runs. A broader study should test how consistently the approach works and which mechanisms account for its behavior.

The research references provide context for this investigation. The following protocol is proposed future work; no results from this protocol are reported here.

Proposed evaluation questions and measurements
QuestionStudy designReport
Does the task reach its intended endpoint?Define each task’s initial state and completion condition before testing. Repeat tasks and retain failed, cancelled and incomplete attempts.Verified completions out of all attempts, with failure categories and uncertainty.
What does semantic processing change?Compare raw and semantic screen inputs under matched tasks, model settings and initial states.Input size, task accuracy, decision time and lost or ambiguous controls.
When does visual fallback help?Compare runs with and without fallback on tasks containing poorly described visible controls.Grounding attempts, correct target selection, recovery and final outcomes.
What does verification prevent?Inspect cases involving unchanged screens, delayed updates and uncommitted values; test controlled variants on reversible tasks.False completion reports, detected failures, recovery attempts and extra turns.
What is the full interaction cost?Track model usage separately from observation, network, device action, waiting and user-response time.End-to-end duration, component latency and measured service costs where available.
Does the interaction help intended users?Conduct a consent-based usability study with representative users and clearly defined tasks.Completion, assistance needed, comprehension of spoken updates and user-reported experience.

For reproducibility, record device and Android version, app versions, model configuration, task instructions, initial conditions and user interventions. Keep evaluation tasks separate from examples used to tune the agent. Comparisons should use matched conditions and distinguish app-state checks from the agent’s own success report.

Discussion & future work

Limitations and open questions

The recordings support a close reading of individual executions. General conclusions require a wider set of tasks, devices and users.

Coverage and generalization

Seven selected runs do not establish a population success rate. App versions, permissions, device layouts and network conditions may change the available controls and task outcomes.

Future work should include repeated attempts, unseen tasks and devices, and a documented set of failures.

Observation and grounding

Accessibility information can be incomplete, and screenshots can contain ambiguous or moving targets. A target location is useful only in the screen state from which it was derived.

Future work should measure representation errors, target ambiguity and recovery when the interface changes between observation and execution.

Outcome boundaries

An app confirmation establishes the observed application state. An active ride request does not establish driver arrival, and a submission receipt does not establish an employer’s later decision.

Future work should define completion conditions explicitly and measure incorrect or premature success reports.

User access and trust

Voice input and spoken updates are implemented interaction options. Their usefulness for older adults, blind users and people less familiar with technology has not been established by a user study in this preview. RSA signing remains proposed.

Future work should examine spoken feedback, clarification, cancellation and permission boundaries with representative users, alongside implementation and evaluation of the proposed authentication mechanism.

These questions connect the prototype to its intended contribution: phone automation whose decisions, interventions and observed outcomes can be examined through evidence.

Reading support

Key terms, from simple to technical

Use these definitions to connect the introductory explanation with the implementation details.

Agent
A system that chooses and executes steps toward a user’s goal.
Observation
Information captured from the current phone state, such as the foreground app, controls and screenshot.
Accessibility tree
Android’s structured description of interface elements, including exposed text, states and supported actions. See screen observation.
Semantic representation
A compact description of useful screen controls that retains their connection to the original device targets. See raw versus semantic input.
Grounding
Connecting a described action to a specific control or screen location. See action grounding and visual fallback.
Closed-loop verification
Observing the phone again after acting and checking whether the expected change occurred. See verification and recovery.
Task context and persistent memory
Task context retains facts and progress within a run. Persistent memory stores reusable information across tasks. See memory scopes.
Ablation
A controlled comparison that removes or changes one system component to investigate its effect. The proposed evaluation plan includes such comparisons.