SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2604.24348 · 2026

OS-SPEAR: A Toolkit for the Safety, Performance, Efficiency, and Robustness Analysis of OS Agents

Chenhao Xue, Zhuosheng Zhang, Yi Hua, Gongshen Liu, Lingzhong Dong, Pengzhou Cheng, Zheng Wu, Zongru Wu, Xinghao Jiang, Yijie Lu, Zhaoyuan Huang

arXiv · PDF · Open in the Atlas

Code that ran

10 of 10 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; 5 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 0 no recorded run), measured 2026-11-22; 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/2604.24348.json · badge: /api/ran/2604.24348.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
Wuzheng02/OS-SPEAR canonical (classifier label)
classifier basis: census
10 ran · 0 no recorded run
FunctionStatusWhere it lives
calculate_f1_score Ran
ran, honoured the contract we drafted
Wuzheng02/OS-SPEAR/eval/eval_single.py
pointer only (licence: NONE) · get_code("6ab14682c87e7bce")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wuzheng02/OS-SPEAR 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.

extract_point Ran
ran, honoured the contract we drafted
Wuzheng02/OS-SPEAR/eval/eval_single.py
pointer only (licence: NONE) · get_code("6a1b8329e5eb58f2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wuzheng02/OS-SPEAR 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.

parse_action_type Ran
ran; our contract draft was wrong, not the code
Wuzheng02/OS-SPEAR/eval/eval_single.py
pointer only (licence: NONE) · get_code("182ea30fe35445e7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wuzheng02/OS-SPEAR 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.

parse_txt_log Ran
ran, honoured the contract we drafted
Wuzheng02/OS-SPEAR/construct/P_subset.py
pointer only (licence: NONE) · get_code("2558a78be5cf41fc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wuzheng02/OS-SPEAR 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.

read_text Ran
ran; our contract draft was wrong, not the code
Wuzheng02/OS-SPEAR/report/evaluate.py
pointer only (licence: NONE) · get_code("4c644a9a6cf99165")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wuzheng02/OS-SPEAR 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.

safe_drop Ran
ran, honoured the contract we drafted
Wuzheng02/OS-SPEAR/report/evaluate.py
pointer only (licence: NONE) · get_code("d2545774aed5c26f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wuzheng02/OS-SPEAR 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.

safe_float Ran
ran, honoured the contract we drafted
Wuzheng02/OS-SPEAR/report/evaluate.py
pointer only (licence: NONE) · get_code("32350ee94c299bb0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wuzheng02/OS-SPEAR 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.

transfer_qwen3vl2atlas Ran
ran; our contract draft was wrong, not the code
Wuzheng02/OS-SPEAR/eval/transfer.py
pointer only (licence: NONE) · get_code("1f7ef3ea8b87966c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wuzheng02/OS-SPEAR 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.

transfer_tars15toatlas Ran
ran; our contract draft was wrong, not the code
Wuzheng02/OS-SPEAR/eval/transfer.py
pointer only (licence: NONE) · get_code("ed306c09be100acc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wuzheng02/OS-SPEAR 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.

transfer_tars2atlas Ran
ran; our contract draft was wrong, not the code
Wuzheng02/OS-SPEAR/eval/transfer.py
pointer only (licence: NONE) · get_code("162e08ed7676f726")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wuzheng02/OS-SPEAR 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.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 9 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
calculate_f1_score 1 other paper
1 dated earlier
2504.10458 (2025-04)
GUI-R1 : A Generalist R1-Style Vision-Language Action Model For GUI Agents

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-22.

Repositories linked to this paper

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

Abstract

The rapid evolution of Multimodal Large Language Models (MLLMs) has catalyzed a paradigm shift from passive text generation to active behavioral execution, particularly in the form of OS agents capable of navigating complex Graphical User Interfaces (GUIs). While existing research focuses predominantly on task completion rates, the transition of these agents into trustworthy daily partners is hindered by a lack of rigorous evaluation regarding their safety, efficiency, and multi-modal robustness. Current benchmarks suffer from significant limitations, including narrow safety scenarios, noisy trajectory labeling, and a reliance on single-modality robustness metrics. To bridge this gap, we propose OS-SPEAR, a comprehensive toolkit designed for the systematic analysis of OS agents across four critical dimensions: Safety, Performance, Efficiency, and Robustness. OS-SPEAR introduces four specialized subsets: (1) a S(afety)subset encompassing diverse environment-and human-induced hazards; (2) a P(erformance)-subset curated via trajectory value estimation and stratified sampling; (3) an E(fficiency)-subset quantifying performance through the dual lenses of temporal latency and token consumption; and (4) a R(obustness)-subset that applies cross-modal disturbances to both visual and textual inputs. Additionally, we provide an automated analysis tool to generate human-readable diagnostic reports. We conduct an extensive evaluation of 22 popular OS agents using OS-SPEAR. Our empirical results reveal critical insights into the current landscape: notably, a prevalent trade-off between efficiency and safety or robustness, the performance superiority of specialized agents over general-purpose models, and varying robustness vulnerabilities across different modalities. By providing a multidimensional ranking and a standardized evaluation framework, OS-SPEAR offers a foundational resource for developing the next generation of reliable and efficient OS agents. The dataset and codes are available at https://github.com/Wuzheng02/OS-SPEAR.

For agents

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

get_harvested_code_for_paper("2604.24348")
get_code_for_paper("2604.24348")
have("2604.24348")

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

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

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

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

Connect an agent — have() is free.