SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.24024 · 2024

AndroidLab: Training and Systematic Benchmarking of Android Autonomous Agents

arXiv · PDF · Open in the Atlas

Code that ran

8 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 8 failures of our instrument; 4 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2410.24024.json · badge: /api/ran/2410.24024.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
THUDM/Android-Lab canonical (classifier label)
classifier basis: census
8 ran · 4 no recorded run
FunctionStatusWhere it lives
encode_image Ran
ran; our contract draft was wrong, not the code
THUDM/Android-Lab/agent/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from jongwoopark7978/LVNet, is pointer only (licence: NONE) · get_code("f41cb1a19b154297")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from jongwoopark7978/LVNet, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

find_all_task_files Ran
ran; our contract draft was wrong, not the code
THUDM/Android-Lab/generate_result.py
code served (permissive licence) · get_code("bc6b9f399b535221")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
import os
from pathlib import Path

# Create temporary directory structure with test files
temp_dir = tempfile.mkdtemp()
task_dir1 = os.path.join(temp_dir, 'tasks1')
task_dir2 = os.path.join(temp_dir, 'tasks2')
os.makedirs(task_dir1, exist_ok=True)
os.makedirs(task_dir2, exist_ok=True)

# Create some yaml files
subdir = os.path.join(task_dir1, 'subdir')
os.makedirs(subdir, exist_ok=True)
Path(os.path.join(task_dir1, 'task1.yaml')).touch()
Path(os.path.join(subdir, 'task2.yaml')).touch()
Path(os.path.join(task_dir2, 'task3.yaml')).touch()

# Create a standalone file
standalone_file = os.path.join(temp_dir, 'standalone.yaml')
Path(standalone_file).touch()

# Construct arguments
ARGS = {
    'all_task_config_path': [task_dir1, task_dir2, standalone_file]
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
find_all_traces_files Ran
ran; our contract draft was wrong, not the code
THUDM/Android-Lab/generate_result.py
code served (permissive licence) · get_code("2905638a681b46b6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import tempfile
import shutil

# Create a temporary directory structure that mimics the expected traces folder format
temp_dir = tempfile.mkdtemp()

# Create sample trace directories with the naming pattern: app_name_app_id
trace_dir_1 = os.path.join(temp_dir, 'myapp_001')
trace_dir_2 = os.path.join(temp_dir, 'otherapp_002')

# Create subdirectories for each trace
os.makedirs(os.path.join(trace_dir_1, 'traces'), exist_ok=True)
os.makedirs(os.path.join(trace_dir_1, 'xml'), exist_ok=True)
os.makedirs(os.path.join(trace_dir_2, 'traces'), exist_ok=True)
os.makedirs(os.path.join(trace_dir_2, 'xml'), exist_ok=True)

# Create dummy trace.jsonl files
with open(os.path.join(trace_dir_1, 'traces', 'trace.jsonl'), 'w') as f:
    f.write('{"event": "test1"}\n')

with open(os.path.join(trace_dir_2, 'traces', 'trace.jsonl'), 'w') as f:
    f.write('{"event": "test2"}\n')

ARGS = {
    'traces_path_fold': temp_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_code_snippet Ran
ran; our contract draft was wrong, not the code
THUDM/Android-Lab/evaluation/definition.py
code served (permissive licence) · get_code("3d01cf77b553e3c6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def get_code_snippet(content):
    code = re.search('```.*?([\\s\\S]+?)```', content)
    if code is None:
        return content
    code = code.group(1).strip()
    code = code.split('\n')[-1]
    return code

# Test with content that contains a code block
ARGS = {
    'content': '```python\nprint("hello")\nprint("world")\n```'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_template_prompt Ran
ran; our contract draft was wrong, not the code
THUDM/Android-Lab/templates/android_screenshot_template.py
code served (permissive licence) · get_code("07e5f01fe2a4903a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import tempfile
import shutil

# Create a temporary directory structure for templates
temp_dir = tempfile.mkdtemp()
templates_dir = os.path.join(temp_dir, 'templates', 'one_shot_prompt')
os.makedirs(templates_dir, exist_ok=True)

# Create some sample template files
template_files = {
    'android_app.txt': 'Android app template: {example}',
    'ios_app.txt': 'iOS app template: {example}',
    'web_app.txt': 'Web app template: {example}',
}

for filename, content in template_files.items():
    with open(os.path.join(templates_dir, filename), 'w', encoding='utf-8') as f:
        f.write(content)

# Change to temp directory so relative path works
original_cwd = os.getcwd()
os.chdir(temp_dir)

try:
    # Define arguments for the function
    ARGS = {
        'prompt': 'Please help me with this task: {example}',
        'app': 'android_app'
    }
finally:
    # Note: In actual execution, we'd restore this, but for setup purposes
    # we leave it set so the function can access the templates
    pass
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
image_to_base64 Ran
ran; our contract draft was wrong, not the code
THUDM/Android-Lab/agent/utils.py
code served (permissive licence) · get_code("3b16f0566108d951")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import base64
import tempfile
import os

# Create a temporary image file for testing
temp_dir = tempfile.mkdtemp()
temp_image_path = os.path.join(temp_dir, "test_image.png")

# Write a minimal valid PNG file (1x1 pixel)
png_data = base64.b64decode(
    "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg=="
)
with open(temp_image_path, 'wb') as f:
    f.write(png_data)

ARGS = {
    "image_path": temp_image_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
replace_image_url Ran
ran; our contract draft was wrong, not the code
THUDM/Android-Lab/agent/utils.py
code served (permissive licence) · get_code("8217a32d11d647c0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import base64
import copy
import tempfile
import os

# Create a temporary image file for testing
temp_dir = tempfile.mkdtemp()
test_image_path = os.path.join(temp_dir, "test_image.jpg")

# Create a minimal valid JPEG file (1x1 pixel)
jpeg_data = bytes.fromhex(
    'ffd8ffe000104a46494600010100000100010000'
    'ffdb004300080606070605080707070909080a0c140d0c0b0b0c1912130f141d1a1f1e1d1a1c1c20242e2720222c231c1c2837292c30313434341f27393d38323c2e333432'
    'ffc000110800010001030122000211010311010000ffc4001f0000010501010101010100000000000000000102030405060708090a0bffc400b5100002010303020403050504040000017d010203000401051102061131410613516107227114328191a1082342b1c11552d1f02433627282090a161718191a25262728292a3435363738393a434445464748494a535455565758595a636465666768696a737475767778797a838485868788898a92939495969798999aa2a3a4a5a6a7a8a9aab2b3b4b5b6b7b8b9bac2c3c4c5c6c7c8c9cad2d3d4d5d6d7d8d9dae1e2e3e4e5e6e7e8e9eaf1f2f3f4f5f6f7f8f9fa'
    'ffda000c03010002110311003f00f7fad9'
)

with open(test_image_path, 'wb') as f:
    f.write(jpeg_data)

# Encode the image to base64
encoded_image = base64.b64encode(jpeg_data).decode('utf-8')

# Create test messages with image_url content
messages = [
    {
        'role': 'user',
        'content': [
            {
                'type': 'text',
                'text': 'What is in this image?'
            },
            {
                'type': 'image_url',
                'image_url': {
                    'url': f'data:image/jpeg;base64,{test_image_path}',
                    'detail': 'high'
                }
            }
        ]
    },
    {
        'role': 'assistant',
        'content': [
            {
                'type': 'text',
                'text': 'This is a response'
            }
        ]
    }
]

ARGS = {
    'messages': messages,
    'throw_details': False,
    'keep_path': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
run_docker_command Ran
ran; our contract draft was wrong, not the code
THUDM/Android-Lab/evaluation/docker_utils.py
code served (permissive licence) · get_code("de1bbc1a2c32dcd1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import subprocess

def run_docker_command(command):
    full_command = f'{command}'
    result = subprocess.run(full_command, shell=True, capture_output=True, text=True)
    return (result.returncode, result.stdout, result.stderr)

# The function takes a single parameter: command (a string to run as a shell command)
# We'll use a simple, safe command that works on most systems
ARGS = {
    "command": "echo 'Hello from Docker'"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
create_docker_container Not yet run
unverified (harvested, no recorded run)
THUDM/Android-Lab/evaluation/docker_utils.py
code served (permissive licence) · get_code("b0aeb0e2a8205bcb")
How it ran

no invocation recorded.

encode_image Not yet run
unverified (harvested, no recorded run)
THUDM/Android-Lab/evaluation/definition.py
code served (permissive licence) · get_code("392fd89baad47e29")
How it ran

no invocation recorded.

execute_command_in_container Not yet run
unverified (harvested, no recorded run)
THUDM/Android-Lab/evaluation/docker_utils.py
code served (permissive licence) · get_code("4fa001a63ec58733")
How it ran

no invocation recorded.

get_adb_device_name Not yet run
unverified (harvested, no recorded run)
THUDM/Android-Lab/adb_client.py
code served (permissive licence) · get_code("e0388c6c9a7d54c8")
How it ran

no invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 1 the same month, 1 later) and 8 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
encode_image 76 other papers
31 dated earlier, 12 the same month, 32 later, 1 same year, order not determinable
2309.05950 (2023-09)
Language Models as Black-Box Optimizers for Vision-Language Models
2311.15732 (2023-11)
GPT4Vis: What Can GPT-4 Do for Zero-shot Visual Recognition?
2312.14867 (2023-12)
VIEScore: Towards Explainable Metrics for Conditional Image Synthesis Evaluation
and 73 more not named here
find_all_task_files 1 other paper
1 dated earlier
2310.12823 (2023-10)
AgentTuning: Enabling Generalized Agent Abilities for LLMs
image_to_base64 1 other paper
1 dated earlier
2402.14672 (2024-02)
Middleware for LLMs: Tools Are Instrumental for Language Agents in Complex Environments

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Autonomous agents have become increasingly important for interacting with the real world. Android agents, in particular, have been recently a frequently-mentioned interaction method. However, existing studies for training and evaluating Android agents lack systematic research on both open-source and closed-source models. In this work, we propose AndroidLab as a systematic Android agent framework. It includes an operation environment with different modalities, action space, and a reproducible benchmark. It supports both large language models (LLMs) and multimodal models (LMMs) in the same action space. AndroidLab benchmark includes predefined Android virtual devices and 138 tasks across nine apps built on these devices. By using the AndroidLab environment, we develop an Android Instruction dataset and train six open-source LLMs and LMMs, lifting the average success rates from 4.59% to 21.50% for LLMs and from 1.93% to 13.28% for LMMs. AndroidLab is open-sourced and publicly available at https://github.com/THUDM/Android-Lab.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2410.24024")
get_code_for_paper("2410.24024")
have("2410.24024")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2410.24024.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2410.24024.svg)](https://syntology.ai/paper/2410.24024)

Connect an agent — have() is free.