Skip to content

Dataset

Mobile app agent datasets with screen state for AI training

A mobile app agent dataset is a set of recorded touch sessions on Android and iOS apps in which each tap, swipe, long-press and text entry is logged against the screenshot and the view hierarchy or accessibility tree at that moment, with the task and its verified end state. SourceX coordinates new recordings with app publishers' QA and test teams and with established businesses whose staff work in field, delivery and retail-floor apps. This is new collection, not an existing archive. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

New collection program
What it is
Touch sessions on Android and iOS apps, each gesture logged with its path, screenshot and element tree
Typical systems
Android through adb, UI Automator or an accessibility service; iOS through XCUITest or WebDriverAgent
Typical history
New recordings; collected for your order
Modality
Gesture and window logs, screenshots, XML or JSON element trees, optional video, text briefs
Delivery formats
Agreed per program; JSONL steps, PNG frames, XML or JSON trees, optional MP4
Preparation
Tester consent and app owner approval recorded; personal data replaced in pixels, tree text and input
Licensing
Permitted use agreed before recording; app owner approval and third-party screens reviewed per app
Availability
New collection program; depends on which publishers, apps and devices can be recorded; not guaranteed
Structured recordsIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
episode_idstringPseudonymous ID for one attempt at a task on one device.
task_briefobjectThe instruction given to the tester, the starting screen and the test account assumed.
app_buildobjectPackage name or bundle ID, version, build number, UI toolkit and the remote feature-flag values in force.
device_profileobjectModel, OS version, screen pixels, density, font scale, locale, theme and navigation mode.
touch_stepsarrayOrdered actions, each with its gesture and the screen and tree captured before it.
gestureobjectPer step: gesture type, duration, pointer count and the sampled path of each finger.
text_entryobjectPer step: the text a field received and whether by keys, glide typing, suggestion, paste or dictation.
screen_beforeobjectScreenshot taken before the gesture, with capture time and system bar insets.
view_treeobjectElement tree captured with the screenshot, as UI Automator XML, an accessibility dump or an XCUITest snapshot.
hit_nodeobjectThe node under the touch-down point, with resource ID or accessibility identifier, class, label and bounds.
window_stackarrayEvery window on screen, including keyboard and system dialogs, with type, owner package and bounds.
interruptionsarrayPermission prompts, notifications, calls and app switches, with the step each cut into and how it was handled.
end_stateobjectHow the result was checked: a screen assertion, a backend record or a tester's verdict.
capture_gapsarraySteps missing a layer, such as a blacked-out secure window or a camera or game surface with no tree.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "episode_id": "ep_4c91e7",
  "task_brief": { "instruction": "Mark stop 4 as delivered: take the proof photo and enter who signed.",
                  "start_screen": "route_list" },
  "app_build": { "package": "com.example.fielddrive", "version_name": "5.12.0",
                 "toolkit": "jetpack_compose", "flags": { "new_pod_flow": true } },
  "device_profile": { "model": "mid_range_phone_b", "os": "Android 14", "screen_px": [1080, 2400], "density_dpi": 420,
                      "font_scale": 1.15, "locale": "es-US", "theme": "dark", "navigation": "gesture" },
  "touch_steps": [
    { "n": 6, "t_ms": 41820,
      "gesture": { "type": "tap", "pointers": 1, "duration_ms": 84, "path": [[540, 2105, 0], [541, 2106, 84]] },
      "screen_before": { "frame": "frames/0006.png", "t_ms": 41650, "insets": { "top": 96, "bottom": 63 } },
      "view_tree": { "file": "trees/0006.xml", "source": "uiautomator_dump" },
      "hit_node": { "resource_id": "pod_take_photo", "class": "android.view.View", "content_desc": "Tomar foto",
                    "bounds": [84, 2040, 996, 2172] },
      "window_stack": [ { "type": "application", "package": "com.example.fielddrive" } ] },
    { "n": 7, "t_ms": 43990,
      "gesture": { "type": "tap", "duration_ms": 71 },
      "hit_node": { "class": "android.widget.Button", "text": "Mientras la app está en uso" },
      "window_stack": [ { "type": "application", "package": "com.example.fielddrive" },
                        { "type": "system", "package": "com.android.permissioncontroller" } ] },
    { "n": 11, "t_ms": 58440,
      "gesture": { "type": "text_entry" },
      "text_entry": { "field": "pod_signed_by", "committed": "[PERSON_1]", "method": "glide_typing_then_suggestion" },
      "window_stack": [ { "type": "application", "package": "com.example.fielddrive" },
                        { "type": "input_method", "bounds": [0, 1512, 1080, 2337] } ] }
  ],
  "interruptions": [ { "kind": "runtime_permission", "permission": "camera", "at_step": 7, "handled": "granted_while_in_use" } ],
  "end_state": { "success": true, "checked_by": "backend_record",
                 "evidence": { "stop_status": "delivered", "photo_attached": true } },
  "capture_gaps": [ { "at_steps": [8, 9], "layer": "view_tree", "reason": "camera_preview_no_nodes" } ]
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Train mobile agents on gestures, not clicks

Sampled finger paths with durations teach a model to produce a swipe with a start, a speed and an end.

Ground taps in elements across screens

Touch points tied to a node's identifier, label and bounds train a model to find a control after density or language moved it.

Handle interruptions mid-task

Recorded permission prompts, notifications and app switches show how a person handled each and resumed the task.

Test generalization across devices

One task repeated on several devices, OS versions and app builds allows held-out splits by device or build.

Build private evaluation tasks

Briefs with a checked end state, recorded in staff-only apps that app stores do not list, make held-out test items.

Use-case guides: Enterprise and computer-use agents, Private evaluation sets, Coding agents

What makes this data valuable

Gesture paths kept

Sampled points and timing per gesture, so a long-press and a slow tap are told apart by data.

Tree with every frame

An element tree captured with the screenshot before each gesture makes the touched control known.

All windows listed

Keyboard, system dialog and notification windows are recorded with bounds, so covered areas are known.

Interruptions as events

Prompts, notifications and app switches are logged with their handling, not trimmed out.

A stated device matrix

Task families repeated across screen sizes, OS versions, locales and themes, with counts per cell.

End state checked

Success confirmed against a backend record or a screen assertion, not assumed from the last screen.

Agent run

Mobile app agent dataset

This page covers mobile app-use trajectories with screen state.Illustrative

Touch sessions are not desktop sessions on a smaller screen

A mouse click is a point and a button. A touch gesture is a short time series: a finger goes down, moves and lifts, and the app decides from path and timing whether that was a tap, a long-press, a scroll or a fling. On Android the raw record is a stream of motion events with pointer IDs, coordinates and pressure. The long-press threshold is a setting a user can change, and where a list stops after a fling depends on the speed at lift, so ask for the sampled path and duration of every gesture.

The screen is not one window either. The software keyboard is a separate window, and when it opens the app is resized or covered. Text does not arrive key by key: autocorrect, glide typing and dictation commit words the fingers never spelled, so the log needs the committed text and the method. Permission prompts belong to the system, not the app under test: on Android the dialog is a window owned by a system package, and on iOS it is a system alert outside the app's own element tree. A tree dump limited to the app's own window shows those taps landing on nothing.

Then the task gets interrupted. A notification slides over the top of the screen, a call arrives, or the tester leaves for a one-time code and returns to an app that has reloaded. On a phone these are part of the task, and an agent that has never seen a permission prompt taps where the button used to be. Each interruption should be a recorded event with its source and what the tester did.

Device spread decides how far a mobile agent generalizes

One screen of one app build looks different on each device. Layouts are written in density-independent units, so pixel coordinates shift with screen size and density, and iOS reports element frames in points while screenshots are in pixels. A larger font scale wraps labels and pushes buttons below the fold, a right-to-left locale mirrors the layout, and dark theme changes every color the model sees. Gesture navigation replaces the back button with an edge swipe. A dataset recorded on one phone in one locale teaches coordinates, not the app.

OS version and app build move things as well. System dialogs change between OS versions, and device makers restyle them. Remote feature flags mean two devices on one build can show different screens, so flag values belong in the record. The UI toolkit decides what the tree contains. Classic Android views carry resource IDs. Jetpack Compose screens reach UI Automator by text and content description, and a test tag appears as a resource ID only where developers switched that on. Flutter draws its own surface and publishes semantics nodes, and a game engine surface exposes none.

A publisher's QA team already holds the realistic source of this spread. It typically keeps a device matrix matched to the models, OS versions and locales its users run, and has seeded test accounts and debug builds that can expose identifiers. Emulators add sizes and OS versions cheaply but not maker skins, real keyboards or slow hardware, so ask for the split between physical and virtual devices. On iOS an ordinary app cannot read another app's element tree, so trees come from XCUITest or WebDriverAgent run through developer tooling, or from instrumentation only the publisher can add.

What to check before licensing

  • Read the consent the testers or staff signed and confirm the sessions are theirs. End-customer session replays captured by an analytics SDK should not be in the delivery.
  • Ask for the app owner's written approval to capture the app's screens. A device user's consent does not cover a publisher's interface, and a staff app licensed from a vendor needs its terms checked.
  • List every third-party screen that appears, such as sign-in pages, maps and payment sheets, and ask how each was handled.
  • Search the sample for personal data in screenshot pixels, tree text and typed input. Check notification text too, which comes from other apps.
  • Test alignment on the sample: confirm each touch-down point falls inside the logged node's bounds on the frame before it, allowing for the scale factor.
  • Ask for the device matrix as a table of model, OS version, locale, theme and app build, with episode counts per cell and the share on physical devices.
  • Ask which screens produced a black frame or no usable tree, such as secure payment windows and camera previews, and how those steps are flagged.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

How is a mobile trajectory different from a computer-use or browser recording?

A mobile trajectory differs in its input and in its screen model. A mobile step is a gesture with a path and a duration, not a click, and the keyboard, system dialogs and notifications are separate windows that cover the app. Element state comes from the Android view hierarchy or an XCUITest snapshot, not a DOM.

Is this an existing archive of app sessions?

No. This is new collection, recorded for your order with testers and staff who agreed to it. Test teams keep scripts, bug videos and crash logs, but rarely gesture logs joined to element trees. A program runs only if a publisher or employer approves capture of its app, so supply is not guaranteed.

Can iOS sessions carry the same element state as Android?

Often, but by a different route. On Android a test tool, or an accessibility service the device user has switched on, can read the tree of the window in front. iOS gives an ordinary app no such access, so snapshots come from XCUITest or WebDriverAgent, set up on the device through developer tooling, or from instrumentation built into the app. Ask how iOS trees were captured, since that setup suits lab devices more than staff phones.

What happens on screens the recorder cannot see?

Those steps should be flagged as capture gaps, not dropped without a trace. Android windows marked secure are kept out of screenshots and screen recordings, where they usually appear black, and camera previews and game surfaces have no element nodes. Each such step should carry a capture-gap entry naming the missing layer. Say in your request whether those steps stay as partial records or are left out.

How are passwords, codes and personal data kept out?

By a capture plan that covers each layer, which you should read before recording starts. Typical handling uses seeded test accounts, excludes password and one-time-code entry at capture, and replaces names, phone numbers and addresses in pixels, tree text and typed input. No method is perfect, so search every layer of the sample yourself.

What should we specify in a request?

Name the platforms, the kinds of app and task, and the device spread you need: screen classes, OS versions, locales, themes and font scales. Say whether physical devices are required, which interruptions should be present and how the end state must be verified. Give quantities as episodes per task family and device cell.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 25 November 2026.

See if your company qualifies