Integrations & Tools
~8 min readUpdated: December 2026

Shell or Screen? Benchmarking Computer-Use Agents on Live OS State

Shell or Screen dual-channel CLI and GUI computer-use agent benchmark in Smoke Monkey

ShellOrScreen (arXiv:2612.04217) benchmarks 15 closed and open-weight models across 207 real-OS tasks where an assistant shares a live computer with an active user and must infer unstated common ground—deciding what to do, when to ask, and whether to act via shell or GUI screen. Claude Opus 5.5 leads at 59.9% overall (38.8% on ongoing activities), 13 of 15 models score under 50%, and explicitly surfacing situational facts boosts seven-model average success from 37.5% to 82.2%.

Technical Review: Smoke Monkey Core Architecture Team
Tested on Node.js 18+ & BunTypeScript 5.x
Quick Answer & Executive Definition

Shell or Screen? Benchmarking Computer-Use Agents on Live OS State: ShellOrScreen (arXiv:2612.04217) benchmarks 15 closed and open-weight models across 207 real-OS tasks where an assistant shares a live computer with an active user and must infer unstated common ground—deciding what to do, when to ask, and whether to act via shell or GUI screen. Claude Opus 5.5 leads at 59.9% overall (38.8% on ongoing activities), 13 of 15 models score under 50%, and explicitly surfacing situational facts boosts seven-model average success from 37.5% to 82.2%. Designed as a zero-dependency, open-source TypeScript architecture under the MIT License with native Model Context Protocol (MCP) support and deterministic phase state machines.

Key Architectural Takeaways
Quick Implementation Exampleshell-or-screen-grounded-agent.ts
shell-or-screen-grounded-agent.tstypescript
import { createAgent } from '@smoke-monkey/harness';
// Ground a dual-channel shell + screen agent with live window and unsaved-buffer state
const agent = createAgent({
agentId: 'shell-or-screen-assistant',
provider: 'anthropic',
model: 'claude-opus-5-5',
workspacePath: process.cwd(),
mcpServers: {
osContext: {
command: 'npx',
args: ['-y', '@smoke-monkey/mcp-os-situational-state', '--include-open-windows'],
env: {
OS_CHECK_UNSAVED_BUFFERS: 'true',
OS_PRESERVATION_GUARD: 'strict',
OS_PREFER_SCREEN_ON_CONFLICT: 'true',
},
},
},
permissions: {
read_file: 'allow',
write_file: 'ask',
run_command: 'ask',
},
});
async function main() {
const result = await agent.run(
'Inspect active desktop windows and recent shell state before deciding whether to execute or confirm with the user.'
);
console.log('Execution Outcome:', result.summary);
}
main().catch(console.error);
Video Guides

Watch: Related Video Guides

AI Agents: GUI vs CLI — Which Actually Works Better? (Benchmark)

How to Secure & Run AI Agents with NVIDIA OpenShell

What Is ShellOrScreen and Why Do 13 of 15 Models Score Under 50%?

ShellOrScreen (arXiv:2612.04217) is a 207-task real-OS benchmark that measures whether personal assistant agents can inspect a live computer's unstated state to choose between shell commands, GUI interactions, or asking the user. Across 15 evaluated models, Claude Opus 5.5 leads at 59.9%, while 13 models fail on more than half of all tasks.

Previous benchmarks such as OSWorld, WindowsAgentArena, and AppWorld isolate tasks on clean desktops. On a real shared workstation, following a terse prompt via fast CLI scripts can overwrite unsaved open documents, miss a decision recorded in an email thread, or trigger premature submissions.

Model (ShellOrScreen, 207 Tasks)Overall Success (%)Step-Weighted Success (SWS %)Current Content (83)Accounts & Settings (28)Uses & Agreements (47)Ongoing Activities (49)
Claude Opus 5.559.9%12.0%59.0%60.7%83.0%38.8%
GPT-6 Astra52.2%19.8%60.2%60.7%68.1%18.4%
GPT-6.1 Sol48.8%17.2%54.2%64.3%66.0%14.3%
Qwen3.8 Flash-Next (Open)41.5%6.9%41.0%46.4%48.9%32.7%
Gemini 4 Argon35.3%9.8%45.8%28.6%53.2%4.1%
GLM-5.3 Flash (Open)34.3%11.2%33.7%35.7%53.2%16.3%
GUI-Owl-1.5-32B (GUI Specialist)2.9%2.1%3.6%10.7%0.0%0.0%

Why Published Channel Rules Fail While Situational Probes Double Accuracy

Follow-up experiments across seven models in ShellOrScreen reveal why prompt engineering alone rarely fixes computer-use reliability:

  1. Channel-Selection Rules Alone Do Not Work: Injecting two published decision rules for picking shell vs GUI leaves seven-model average success nearly flat against the unguided baseline—because models do not fail from picking the wrong tool syntax; they fail by ignoring context sitting in open windows or mailboxes.
  2. Situational Grounding Jumps Success 37.5% -> 67.9% -> 82.2%: Giving models a pre-task reminder plus extracted facts about the computer's current state elevates average success across seven models from 37.5% to 67.9%; adding explicit user intent pushes the mean to 82.2% (every tested model exceeds 75%).
  3. Dangerous Auto-Submission Under Ambiguity: In the move-out confirmation task (Table 3), GPT-6.1 Sol correctly asked the user when no prior decision was recorded, whereas Qwen3.8 Flash-Next and DeepSeek-V4.1 Flash blindly clicked submit in all four test variants.

Run a Read-Only Situational Snapshot Before Any Shell Mutation

In Smoke Monkey Harness, add a preflight probe that lists open window titles, dirty editor buffers, and recent local clipboard/mail state before granting an assistant shell write access—capturing most of the +30.4-point situational grounding gain automatically.

Reproducible macOS/Linux Situational Preflight Script

Capture active GUI window titles and uncommitted workspace state before executing automated shell actions so your agent does not clobber live user work:

bash
# Collect lightweight situational state before running an autonomous OS task
python3 - << 'EOF'
import subprocess, os

def run(cmd):
    return subprocess.run(cmd, shell=True, capture_output=True, text=True).stdout.strip()

print("=== Git Dirty Files ===")
print(run("git status --short") or "(clean)")
print("=== Active User Processes (Top 10 CPU) ===")
print(run("ps -eo comm,%cpu -r | head -n 11"))
EOF
Google Search Questions & Answers

Frequently Asked Questions

Q:Why did GUI-specialized GUI-Owl-1.5-32B score only 2.9% on ShellOrScreen?

GUI-specialized models trained exclusively on isolated single-step screen grounding struggle when tasks require inspecting multi-app state, deciding whether to invoke shell tools, and preserving ongoing user edits.

Q:Which open-weight model performed best on ShellOrScreen?

Qwen3.8 Flash-Next achieved 41.5% overall success (and 32.7% on ongoing activities), beating GLM-5.3 Flash (34.3%), MiMo-V2.6 Flash (33.8%), DeepSeek-V4.1 Flash (29.0%), and several closed models.

Q:How much does providing situational computer facts improve agent reliability?

Across seven tested models, adding a reminder and factual state summary raised average task success from 37.5% to 67.9% and narrowed the variance between frontier and smaller models.

Q:What is Step-Weighted Success (SWS) in ShellOrScreen?

SWS penalizes inefficient trajectories by weighting task success by step efficiency. Notably, GPT-6 Astra scored higher SWS (19.8%) than Claude Opus 5.5 (12.0%) despite lower raw success (52.2% vs 59.9%).

Related Alternatives & Comparisons

Related Architecture Guides

View all guides

Build with Smoke Monkey Harness

Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.

npm install smoke-monkey-harness