ASIL: Replacing Screenshot-and-Click with Structured State and Semantic Actions
Organizations: X-LANCE Lab, School of Computer Science, Shanghai Jiao Tong University · State Key Laboratory for General Artificial Intelligence, BIGAI
Abstract
Powerful code agents can execute scripts, call tools, and manage files, yet many important applications remain accessible primarily through graphical user interfaces. We argue that screenshot-and-click is an inefficient interface for software-operating agents: screenshots are state-incomplete, and GUI actions are brittle, semantically weak, and poorly matched to long-horizon planning. We introduce ASIL (Agent-Software Interaction Layer), an agent-native interface that exposes software through structured JSON observations and code-executable semantic actions, realized through the deepest feasible access path for each application. We instantiate ASIL across 15 applications and a benchmark of 300 single-application and 80 multi-application tasks. ASIL reaches above 80 with closed models while executing fewer than five actions per task. Under a repaired runtime and a 50-step screenshot budget, the same tasks yield 6.6 and 26.6 strict success under screenshot-and-click control, rising to 15.0 and 53.3 on an easier OSWorld-comparable band. Against application-native interfaces on matched tasks, ASIL exceeds LibreOffice's UNO API by 28-38 strict points but only matches draw.io's MCP content contract. The structured modality also suits training: small-scale SFT raises Qwen3.5-2B from 58.0 to 72.1 and Qwen3.5-9B from 66.6 to 80.4, and resource-limited on-policy RL further raises them to 74.4 and 82.2.
Figures & tables
| Model setting | Mode | Creative (120) | Office (80) | Developer (60) | Files (40) | Multi-App (80) | Overall (380) |
|---|---|---|---|---|---|---|---|
| GPT-5.4 | ASIL / 15max | 75.8 | 85.0 | 91.7 | 92.5 | 73.8 | 81.6 |
| GUI / 50max † | 11.7 | 1.2 | 6.7 | 12.5 | 1.2 | 6.6 | |
| Qwen3.6-plus | ASIL / 15max | 82.5 | 78.8 | 91.7 | 87.5 | 70.0 | 81.1 |
| Kimi K2.5 | ASIL / 15max | 84.4 | 79.5 | 95.6 | 86.2 | 81.7 | 84.8 |
| sonnet4.6 | ASIL / 15max | 81.2 | 74.3 | 89.8 | 94.4 | 75.1 | 81.2 |
| GUI / 50max † | 29.2 | 7.5 | 51.7 | 72.5 | 0.0 | 26.6 |
| Setting | Interface | Strict | Mean |
|---|---|---|---|
| GPT-5.4 full 380 | GUI / 50max | 6.6 | 11.6 |
| sonnet4.6 full 380 | GUI / 50max | 26.6 | 30.3 |
| GPT-5.4 easy60 | GUI / 50max | 15.0 | 18.3 |
| sonnet4.6 easy60 | GUI / 50max | 53.3 | 54.2 |
| GPT-5.4 LibreOffice | ASIL / UNO | 95.0 / 66.7 | 97.5 / 72.8 |
| sonnet4.6 LibreOffice | ASIL / UNO | 98.3 / 60.0 | 99.5 / 69.2 |
| Model setting | Mode | Creative (24) | Office (12) | Developer (8) | Files (6) | Multi-App (30) | Overall (80) |
| GPT-5.4 | ASIL / 15max | 14.7 | 85.9 | 91.7 | 100.0 | 73.9 | 61.7 |
| Qwen3.5-2B Base | ASIL / 15max | 13.3 | 40.8 | 41.1 | 20.8 | 72.8 | 43.1 |
| Qwen3.5-2B SFT | ASIL / 15max | 8.0 (-5.3) | 50.3 (+9.5) | 66.5 (+25.4) | 100.0 (+79.2) | 66.7 (-6.1) | 49.1 (+6.0) |
| Qwen3.5-2B RL | ASIL / 15max | 10.1 (-3.2) | 54.2 (+13.4) | 64.0 (+22.9) | 83.3 (+62.5) | 61.1 (-11.7) | 46.7 (+3.6) |
| Qwen3.5-9B Base | ASIL / 15max | 12.4 | 28.3 | 84.4 | 100.0 | 33.9 | 36.6 |
| Qwen3.5-9B SFT | ASIL / 15max | 14.5 (+2.1) | 57.5 (+29.2) | 80.3 (-4.1) | 66.7 (-33.3) | 73.9 (+40.0) | 53.7 (+17.1) |
| (a) Cross-application pattern audit | (b) LibreOffice path-restriction study | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Participant | Mode | A (file) | B (script) | C (api) | Participant / realization | Calc | Writer | Impress | Overall | |
| GPT-5.4 | ASIL / 15max | 91.2 | 89.5 | 95.1 | GPT-5.4 / file | 100.0 | 98.4 | 97.4 | 98.6 | |
| GPT-5.4 | GUI / 50max | 1.7 | 5.0 | 18.0 | GPT-5.4 / script-dispatch | 100.0 | 98.4 | 97.4 | 98.6 | |
| sonnet4.6 | GUI / 50max | 10.8 | 21.2 | 71.0 | Qwen3.5-9B RL / file | 35.6 | 100.0 | 100.0 | 78.5 | |
| Qwen3.5-9B Base | ASIL / 15max | 53.0 | 78.8 | 84.4 | Qwen3.5-9B RL / script-dispatch | 40.6 | 100.0 | 99.0 | 79.9 | |
| Qwen3.5-9B RL | ASIL / 15max | 71.8 | 77.9 | 92.1 | ||||||
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
| Dimension | ASIL | CLI-Anything | OpenCLI | draw.io MCP | LibreOffice UNO/CLI |
|---|---|---|---|---|---|
| Access path | file+script+API | generated CLIs | browser/DOM | draw.io only | headless/UNO |
| Structured observation | typed JSON | command output | DOM snapshot | app-specific diagram | file/UNO objects |
| Semantic actions | typed vocabulary | CLI subcommands | browser commands | diagram tools | native API calls |
| Stable IDs | yes | no | partial | partial | partial |
| Final-state validator | yes | no | no | no | no |
| Cross-app evaluation | 15 apps | no | no | no | no |
| Onboarding stage | Automated |
|---|---|
| Access-path discovery, profile authoring/review | no |
| Interface plan (typed observation/action) | yes |
| Observation schema and action schema | yes |
| Adapter wrapper and extension bundle | yes |
| Direct vs. bridge-assisted classification | yes |
| Static, host, and Docker validation gates | yes |
| Split | Rows | Tasks | Apps | Hints |
|---|---|---|---|---|
| v0 train | 556 | 512 | 15 | 0 |
| v0 valid | 138 | 128 | 15 | 0 |
| guided-v2 train | 2,330 | 500 | 15 | 148 |
| guided-v2 valid | 594 | 128 | 15 | 60 |
| merged train (9B) | 2,886 | 512 | 15 | 148 |
| merged valid (9B) | 732 | 128 | 15 | 60 |
| Setting | 2B SFT | 9B SFT |
|---|---|---|
| Init model | v0-pretrained cont. | Qwen3.5-9B |
| Data split | guided-v2 | merged v0+v2 |
| Train / valid rows | 2,330 / 594 | 2,886 / 732 |
| Global batch | 64 | 16 |
| Micro batch / GPU | 1 | 1 |
| Max seq length | 8,192 | 12,288 |
| Setting | 2B RL | 9B RL |
|---|---|---|
| Init model | 2B SFT step 27 | 9B SFT step 543 |
| Curriculum train / valid | 320 / 80 | 320 / 80 |
| Hardware | 4 A800 | 8 A800 |
| Max ASIL steps / traj. | 20 | 20 |
| NUM_ENVS | 12 | 8 |
| ROLLOUT_N / OVER_SAMPLING | 4 / 4 | 2 / 2 |
Computer-Use Agents
Computer-use agents perceive and operate graphical interfaces and software tools to complete tasks across websites, apps, and desktops.
See all 161 papers