1. The Minimal ReAct Loop

ReAct interleaves reasoning and action. The model decides what to do from the user goal, its current observation, and its interaction history. The harness executes the action, captures the environment’s response, and passes the new observation back to the model. ReAct paper

1
2
3
4
5
6
7
8
9
10
User goal + Initial observation
|
v
[Reason and decide] <----------------------+
| |
v |
[Execute action] |
| |
v |
[Environment] ---> [New observation] ---+

A single model can choose the next action, supply its parameters, and decide when to stop. The harness needs an environment interface and a record of what the agent has seen and done.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
observation = env.observe()
history = []

while budget.remaining():
decision = model.decide(goal, observation, history)

if decision.is_terminal:
return decision.status

next_observation = env.step(decision.action)
history.append((observation, decision.action))
observation = next_observation

return "budget_exhausted"

1.1 mini-swe-agent as a Shell-Based Example

In my local checkout (04d809ce), mini-swe-agent’s DefaultAgent follows a ReAct-style loop around a shell environment.

  1. Reason. run() initializes the message list with the system prompt and user task. Each step() calls query(), which sends that list to the model and appends the reply. The default text prompt asks for a rationale followed by a Bash command.
  2. Act. execute_actions() passes each action supplied by the model adapter to env.execute().
  3. Observe. The adapter formats the command result, including its output and exit code, as observation messages. The harness appends them to the same list for the next turn.

The harness handles submission signals and runtime limits. The loop lives in src/minisweagent/agents/default.py, and the default prompt is in src/minisweagent/config/default.yaml. mini-swe-agent notes

1.2 The Same Loop on a Desktop

Stage Shell interface Minimal screenshot-based CUA
Observe Read command output and exit codes Inspect the current desktop screenshot
Decide Choose the next command Choose the next GUI action and supply its parameters, such as click coordinates
Act Run the command in the environment Execute a click, keystroke, scroll, or another GUI action
Feed back Append the command result to the message history Capture the updated desktop and pass it to the next turn

To export a Writer document as a PDF, the agent can open the File menu, inspect the resulting screenshot, and choose the export command. The dialog supplies the next observation. Clicking Export, seeing the dialog close, and verifying that a PDF with the requested name exists are three distinct events. OSWorld also supports observations such as accessibility trees and uses task evaluators to inspect the outcome after execution. OSWorld notes · OSWorld paper

1.3 qwen3vl_agent from OSWorld 1.0.3

In my local OSWorld 1.0.3 checkout (9d6f711), Qwen3VLAgent is a single-model, screenshot-based GUI agent with a ReAct-style interaction loop. Its predict() method handles one decision. The outer loop in lib_run_single.py executes the returned actions through DesktopEnv.step(), which captures a screenshot after each action. If the decision produces actions, the next decision uses the last of those screenshots.

1
2
3
4
5
6
7
8
9
10
11
12
Task + Current screenshot + Recent history
|
v
Qwen3-VL
|
Action description + <tool_call> JSON
|
v
Parse action and map coordinates to pixels
|
v
DesktopEnv.step() -> New screenshot

The same VLM chooses the next action and grounds it in the screenshot. The prompt defines computer_use in text and asks for a short Action: description followed by one JSON action in <tool_call> tags. The adapter parses the reply text into PyAutoGUI commands or environment control actions. A single type action containing two lines can become two typing commands with an Enter keypress between them. Prompt and action parser

The adapter maps both successful and failed terminate statuses to DONE. This ends the interaction loop, and the OSWorld evaluator then scores the resulting environment state. The adapter maps wait(time=...) to WAIT without carrying the requested duration forward. DesktopEnv.step() uses the configured pause in the WAIT branch and again before taking the next observation. Environment step · Single-task loop

If the OpenAI-compatible backend exhausts its retries, it returns an empty reply. The parser then returns an empty action list. That still consumes a decision round, and the next round starts from the same observation. Inference and retry handling · Decision loop

1.3.1 Important Agent Parameters

These defaults describe the local source and its Qwen runner, scripts/python/run_multienv_qwen3vl.py. The table distinguishes command-line defaults from settings that actually reach the model or the environment.

Parameter Default in this checkout Effect in this runner
--model qwen3-vl Model ID sent to the inference backend. The VLM handles screen interpretation, next-action choice, and grounding.
--observation_type screenshot The Agent reads obs["screenshot"]. Other CLI choices can make the environment collect an accessibility tree, but the model input in this Agent still uses screenshots.
--action_space pyautogui The Agent requires PyAutoGUI as its action backend. The model emits structured actions, and the adapter generates the corresponding commands.
--coord relative Relative coordinates use a 0–999 grid and scale to the original screenshot dimensions. In absolute mode, coordinates are in the processed image’s pixel space and are scaled back to the original dimensions.
--screen_width, --screen_height 1920 × 1080 Requested VM resolution. Coordinate conversion uses the dimensions of the screenshot actually received.
history_n / --max_trajectory_length history_n=4, CLI default 3 The runner leaves history_n at its constructor default. Once history fills up, the request contains four prior screenshots and replies plus the current screenshot. Earlier actions are carried as text descriptions.
--max_steps 15 Per-task decision limit. Each round consumes one unit of budget and can produce zero, one, or several environment actions.
--max_tokens 32768 Generation limit sent on each inference request, including retries. The agent manages history and the runner counts decision rounds.
--sleep_after_execution 0.0 seconds Pause passed to DesktopEnv.step() before it captures the next observation. This affects what the Agent sees after UI changes that take time.
api_backend dashscope The constructor supports DashScope and an OpenAI-compatible backend. The stock runner uses the constructor default.
--temperature, --top_p 0, 0.9 The runner passes these to the Agent, but both backend requests leave the fields unset. The service supplies the effective sampling settings.
enable_thinking, thinking_budget False, 32768 Constructor settings for optional DashScope reasoning. The runner leaves them at their defaults, and the budget is sent only when thinking is enabled.

The relative coordinate mapping divides each axis by 999 and scales by the original screenshot dimensions. The parser leaves the result unclamped, so (999, 999) maps to (1920, 1080) for a 1920 × 1080 screenshot, one pixel past the last index on each axis. Coordinate conversion

The runner also accepts --stop_token and --add_thought_prefix. The former is parsed only, and the latter is stored on the Agent. In this code path, termination comes from the parsed terminate action or the decision budget. --num_envs controls how many independent environments process separate tasks in parallel. Each environment has its own Agent.

In the recorded OSWorld 1.0.3 smoke run, I used Qwen3-VL-30B-A3B-Instruct, a 20-round limit, max_tokens=4096, and a 0.5-second post-action pause. That run used a patched copy whose reset() accepts the runner’s vm_ip argument and whose backend can be selected with OSW_API_BACKEND=openai. In the unpatched checkout, the reset() argument mismatch stops the task before the first prediction. Experiment setup notes

1.3.2 Image Process

Qwen3VLAgent.predict() turns the VM screenshot into a PNG image attachment for the VLM. The harness computes the target dimensions, resamples the pixels, and then encodes the result. Screenshot processing in predict()

1
2
3
Screenshot bytes -> Original dimensions -> Target dimensions (multiple of 16 or 32)
-> Resampled pixels -> PNG bytes -> Base64 string
-> Screenshot history and model request
  1. Read the original dimensions. predict() opens obs["screenshot"] with Pillow and reads image.size as (width, height). For a 1080p screenshot, that is (1920, 1080). These dimensions also serve as the reference when the agent converts model coordinates back to screen pixels. Coordinate conversion

  2. Compute the target dimensions. process_image() calls smart_resize() with factor=32 and max_pixels=16 * 16 * 4 * 12800 (13,107,200 pixels). The helper first scales down an oversized longest side, then rounds each dimension to a multiple of 32. If the rounded area exceeds the pixel budget, it scales both dimensions down and rounds toward smaller multiples. If the area falls below the minimum, it scales both up and rounds toward larger multiples. These adjustments use a shared scale on both axes to keep the aspect ratio close to the original. smart_resize() returns (height, width) and works entirely with numbers. For this screenshot it returns (1088, 1920). OSWorld resize call · smart_resize() implementation

    The 32-pixel alignment matches Qwen3-VL’s image input grid. With 16 × 16-pixel patches and a 2 × 2 spatial merge, each group spans 32 × 32 pixels. Qwen3-VL model configuration · Qwen image preprocessing

  3. Resample the pixels. Pillow takes the dimensions in (width, height) order, so the call is image.resize((1920, 1088)). For an RGB screenshot, Pillow defaults to bicubic interpolation. Here only the height changes. For example, output pixel (100, 340) maps back to about (100, 337.50) in the original image, using zero-based pixel-center coordinates. Pillow uses the nearby pixels in column 100 to estimate its color. The resize spreads the extra eight rows across the full height of the screenshot. Pillow resize() documentation · Pillow resampling implementation

    Width Change  Height Change Shrink Unchanged Enlarge
    Shrink Both axes Horizontal only Both axes
    Unchanged Vertical only No interpolation Vertical only (1080p example)
    Enlarge Both axes Horizontal only Both axes
  4. Encode and attach the image. process_image() saves the resized pixels as PNG in memory and returns the PNG bytes as a Base64 string. predict() decodes and reopens that PNG to read and log its dimensions. It appends the Base64 string to self.screenshots and uses it in a data:image/png;base64,... attachment for the model request. The processed dimensions also tell the model which pixel grid to use in absolute coordinate mode. PNG encoding · Screenshot history and prompt · Image attachment

1.3.3 Message Assemble

  1. Confirm current step number

    1
    current_step = len(self.actions)
  2. Calculate the closest 4-step history:

    1
    history_start_idx = max(0, current_step - self.history_n)
    1
    2
    3
    Action index:   0   1   2  |  3   4   5   6
    Step number: 1 2 3 | 4 5 6 7
    Older | Recent history
  3. Rebuild action stack and concatenate previous actions:

    1
    2
    3
    4
    previous_actions = []
    for i in range(history_start_idx):
    if i < len(self.actions):
    previous_actions.append(f"Step {i+1}: {self.actions[i]}")
  4. Tool Description Prompt:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    "Use a mouse and keyboard to interact with a computer, and take screenshots.",
    "* This is an interface to a desktop GUI. You do not have access to a terminal or applications menu. You must click on desktop icons to start applications.",
    "* Some applications may take time to start or process actions, so you may need to wait and take successive screenshots to see the results of your actions. E.g. if you click on Firefox and a window doesn't open, try wait and taking another screenshot.",
    (
    f"* The screen's resolution is {processed_width}x{processed_height}."
    if self.coordinate_type == "absolute"
    else "* The screen's resolution is 1000x1000."
    ),
    "* Whenever you intend to move the cursor to click on an element like an icon, you should consult a screenshot to determine the coordinates of the element before moving the cursor.",
    "* If you tried clicking on a program or link but it failed to load even after waiting, try adjusting your cursor position so that the tip of the cursor visually falls on the element that you want to click.",
    "* Make sure to click any buttons, links, icons, etc with the cursor tip in the center of the element. Don't click boxes on their edges unless asked.",

    Desktop interaction is limited to mouse and keyboard. OSWorld supplies screenshots as observations. The computer_use description also tells the model to launch applications from desktop icons and to avoid the terminal and application menu. The action schema gives the model mouse and keyboard inputs plus wait and terminate to control the interaction loop. Tool description and action schema

  5. Action Description Prompt:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    """
    * `key`: Performs key down presses on the arguments passed in order, then performs key releases in reverse order.
    * `type`: Type a string of text on the keyboard.
    * `mouse_move`: Move the cursor to a specified (x, y) pixel coordinate on the screen.
    * `left_click`: Click the left mouse button at a specified (x, y) pixel coordinate on the screen.
    * `left_click_drag`: Click and drag the cursor to a specified (x, y) pixel coordinate on the screen.
    * `right_click`: Click the right mouse button at a specified (x, y) pixel coordinate on the screen.
    * `middle_click`: Click the middle mouse button at a specified (x, y) pixel coordinate on the screen.
    * `double_click`: Double-click the left mouse button at a specified (x, y) pixel coordinate on the screen.
    * `triple_click`: Triple-click the left mouse button at a specified (x, y) pixel coordinate on the screen (simulated as double-click since it's the closest action).
    * `scroll`: Performs a scroll of the mouse scroll wheel.
    * `hscroll`: Performs a horizontal scroll (mapped to regular scroll).
    * `wait`: Wait specified seconds for the change to happen.
    * `terminate`: Terminate the current task and report its completion status.
    * `answer`: Answer a question.
    """
  6. Tool Definition

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    tools_def = {
    "type": "function",
    "function": {
    "name_for_human": "computer_use",
    "name": "computer_use",
    "description": description_prompt,
    "parameters": {
    "properties": {
    "action": {
    "description": action_description_prompt,
    "enum": ["key", "type", "mouse_move", "left_click", "left_click_drag",
    "right_click", "middle_click", "double_click", "scroll", "wait", "terminate"],
    "type": "string"
    },
    "keys": {"description": "Required only by `action=key`.", "type": "array"},
    "text": {"description": "Required only by `action=type`.", "type": "string"},
    "coordinate": {"description": "The x,y coordinates for mouse actions.", "type": "array"},
    "pixels": {"description": "The amount of scrolling.", "type": "number"},
    "time": {"description": "The seconds to wait.", "type": "number"},
    "status": {
    "description": "The status of the task.",
    "type": "string",
    "enum": ["success", "failure"]
    }
    },
    "required": ["action"],
    "type": "object"
    },
    "args_format": "Format the arguments as a JSON object."
    }
    }
  7. System Prompt:

    Tools:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    # Tools

    You may call one or more functions to assist with the user query.

    You are provided with function signatures within <tools></tools> XML tags:
    <tools>
    """ + json.dumps(tools_def) + """
    </tools>

    For each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:
    <tool_call>
    {"name": <function-name>, "arguments": <args-json-object>}
    </tool_call>

    Response format:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    # Response format

    Response format for every step:
    1) Action: a short imperative describing what to do in the UI.
    2) A single <tool_call>...</tool_call> block containing only the JSON: {"name": <function-name>, "arguments": <args-json-object>}.

    Rules:
    - Output exactly in the order: Action, <tool_call>.
    - Be brief: one sentence for Action.
    - Do not output anything else outside those parts.
    - If finishing, use action=terminate in the tool call."""
  8. Instruction Prompt:

    1
    2
    3
    4
    5
    6
    7
    instruction_prompt = f"""
    Please generate the next move according to the UI screenshot, instruction and previous actions.

    Instruction: {instruction}

    Previous actions:
    {previous_actions_str}"""
  9. Message Assemble

    System Prompt:

    1
    2
    3
    4
    5
    6
    7
    8
    messages = [
    {
    "role": "system",
    "content": [
    {"type": "text", "text": system_prompt},
    ],
    }
    ]

    History Message Append:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    if history_len > 0:
    history_responses = self.responses[-history_len:]
    history_screenshots = self.screenshots[-history_len - 1:-1]

    for idx in range(history_len):
    if idx < len(history_screenshots):
    screenshot_b64 = history_screenshots[idx]
    if idx == 0:
    img_url = f"data:image/png;base64,{screenshot_b64}"
    messages.append(
    {
    "role": "user",
    "content": [
    {
    "type": "image_url",
    "image_url": {"url": img_url},
    },
    {"type": "text", "text": instruction_prompt},
    ],
    }
    )
    else:
    img_url = f"data:image/png;base64,{screenshot_b64}"
    messages.append(
    {
    "role": "user",
    "content": [
    {
    "type": "image_url",
    "image_url": {"url": img_url},
    }
    ],
    }
    )

    messages.append(
    {
    "role": "assistant",
    "content": [
    {"type": "text", "text": f"{history_responses[idx]}"},
    ],
    }
    )

    Suppose we are now at step 6, the max history_len is 4 . So the history_responses uses 4 latest response. And the history_screenshots also use the screenshots of step 2-5.

1.3.4 Parse Response

1
2
3
4
5
6
7
Action: Scroll down the page to reveal more campsite search results.
<tool_call>
{"name": "computer_use", "arguments": {"action": "mouse_move", "coordinate": [250, 800]}}
</tool_call>
<tool_call>
{"name": "computer_use", "arguments": {"action": "scroll", "pixels": -6}}
</tool_call>

1.3.4 Token Calculation

A processed 1920 × 1088 screenshot contributes 2,040 visual tokens if the inference backend keeps those dimensions. The agent sends one PNG attachment. Qwen3-VL uses 16 × 16 patches and merges their features in 2 × 2 spatial groups, so each visual token corresponds to a 32 × 32 region. The image has 1920 / 32 = 60 groups across and 1088 / 32 = 34 down, giving 60 × 34 = 2,040 tokens before any message-format overhead. Qwen3-VL model configuration · Visual token count in the processor

The runner allows 15 decision rounds per task by default (--max_steps=15). For each decision, history_n=4 keeps up to four previous screenshots and their original assistant replies, then adds the current screenshot. The request includes one system prompt and one task-instruction message. From the sixth round onward, the instruction also carries earlier action descriptions under Previous actions. The corresponding screenshots and full replies have left the rolling history window. Runner settings · Agent history and request construction

At round five, all four history slots are filled. If all five screenshots have the dimensions above, the request has the following estimated input budget.

Input Component Estimated Tokens
Four previous screenshots 4 × 2,040 = 8,160
Current screenshot 2,040
Four prior assistant replies, assuming 2,000 tokens each 8,000
System prompt and task instruction, assuming 2,000 tokens combined 2,000
Total before message-format overhead 20,200

The text figures are assumptions. A routine click reply contains a short action description and one JSON call, while a type action can carry a longer string. The estimate uses about 8% of Qwen3-VL-30B-A3B-Instruct’s 256K native context window. The inference service determines the effective context limit, and --max_tokens sets the generation limit per request. Reply format · Generation request · Qwen model card

ReVision measured how a longer image history affects OSWorld performance. With Qwen3-VL-30B-A3B and a 15-step budget, it kept the full text history and varied the number of screenshots. Success rose from 27.9% with one screenshot to 35.2% with three and 35.8% with five. Going from three to five increased the reported average token count from 11,318 to 15,198 per step. Its five-image setting includes the current screenshot, so it matches the number of images in OSWorld 1.0.3’s four-history default. The results describe the paper’s harness, which keeps more textual history. ReVision §5.1 and Table 5

The four-round window can lose a detail that becomes relevant much later. For example, a file name visible in round two may be needed in round ten even though the retained action description only says that the file manager was opened. PAL-UI addresses this by letting the agent retrieve a past screenshot when it needs the original visual evidence. PAL-UI

Token Budgets for Other CUA Harnesses

The estimates below describe one planner or Worker input using 1920 × 1080 screenshots. The local harness determines how many screenshots and messages enter the request. The model provider determines how the images are counted. The OpenAI tile rule uses six tiles for a high-detail 1080p screenshot, giving 975 image tokens for o3, 910 for gpt-5, and 1,105 for gpt-4o. Anthropic’s standard vision tier gives about 1,560 for the same screenshot. OpenAI image token rules · Anthropic standard vision tier

Agent and Planning Model Screenshots per Request Estimated Image Tokens Illustrative Total Input
GTA1 with o3, default runner 6 5,850 14.9–21.9K at round 15
GTA1 with GPT-5, alternate branch 9 8,190 17.2–24.2K at round 15
Agent S1 with GPT-4o, a paper backbone 15 in one uninterrupted subtask 16,575 33.6–63.6K at round 15
Agent S2 with Claude 3.7 Sonnet, local CLI default 9 in one subtask 14,040 20.0–24.0K at a full window
AWorld with o3, default runner 15 if all screenshots reach the request 14,625 23.6–30.6K at round 15

The total assumes 2K tokens for the prompt, task, and any tool schema, plus 0.5–1K of retained text per previous decision. For S1, the estimate uses 1–3K text tokens per observation round instead, including its accessibility tree and any reply from that round. These ranges show how the budget changes with the text length. API message overhead, the next model output, and separate reflection, judging, and grounding requests sit outside the totals.

GTA1’s o3 planner includes five previous screenshots and the current screenshot while retaining the whole textual trajectory. Its GPT-5 branch keeps the initial image and the eight most recent images, including the current one. Both use a default task budget of 15 steps, so text can keep growing after the image window fills. GTA1 planner request · GPT-5 image pruning · Runner defaults

Agent S1 accumulates the Worker history until the subtask resets. Its local CLI defaults to gpt-4o-mini, so the GPT-4o row uses the paper backbone as a comparison. The provider’s high-detail billing formula for GPT-4o mini gives 36,835 billable image tokens per screenshot. Actual context occupancy and acceptance of a multi-image request require provider usage data. Agent S2 retains eight completed rounds after pruning and adds the current screenshot before the next request, for nine screenshots while a subtask remains active. Agent S1 Worker · Agent S1 CLI · Agent S2 Worker · Agent S2 CLI · OpenAI image token rules

AWorld prunes each Worker memory to 16 image-bearing messages after inference. The default 15-step run can finish before that rule activates. With a longer run and one new screenshot per call, a request could contain 16 retained screenshots plus the current one, about 16.6K image tokens on o3. This estimate assumes the backend forwards those images at high or auto detail. AWorld policy and pruning · AWorld runner defaults

Context Settings Reported in the Papers
  • Agent S (v1) describes the reflector as observing the whole current subtask episode and discusses retrieving narrative and episodic experience. Its experiments specify screenshot and accessibility-tree inputs. I found no fixed screenshot count or per-request token budget in the paper. Agent S §§3.1.2 and 4.1
  • Agent S2 (v1) specifies screenshots and action history as inputs and discusses how the Manager uses information from earlier subgoals. Its 15- and 50-step OSWorld settings are task budgets. I found no paper specification for the Worker’s eight retained rounds or for total input tokens at a full window. Agent S2 §§3.2 and 4
  • GTA1 (v5) discusses sliding windows and textual trajectory summaries in related work. Its own agent experiments report the task horizon and how many action candidates are sampled per step. I found no stated planner screenshot cap or full-window token total for those experiments. The local runner counts above describe the inspected implementation. GTA1 §2, Table 4, and Appendix B

2. CUA Architectures in the Paper Summary Series

2.1 Agent S

Agent S places a Manager above the worker’s ReAct loop. The Manager retrieves web knowledge and task-level narrative experience to propose subgoals. For each subgoal, a Worker retrieves more concrete episodic experience and acts through the Agent–Computer Interface. The self-evaluator summarizes execution experience and writes it back to the relevant memory for later tasks. Agent S notes · Paper

Agent S workflow showing the Manager, the Worker’s action loop, and memory updates from the self-evaluator

2.2 Agent S2

Agent S2 splits action intent from grounding. The Worker proposes an action and routes it to a visual, textual, or structural specialist as appropriate. For example, text grounding can find a passage, while the structural interface can resolve spreadsheet cells. At the end of each subgoal, the Manager uses the latest observation and action history to revise the remaining plan. Agent S2 notes · Paper

Agent S2 routes action intents to visual, textual, or structural grounding specialists
Agent S2 feeds action history and the final observation back to the Manager after each subgoal

2.3 GTA1

GTA1 expands one decision inside the ReAct loop. The Planner samples several candidate action intents, and a Judge selects one using the task and current GUI state. A dedicated grounding model then supplies coordinates for the selected action when needed. Actions such as typing or pressing a key can go straight to execution. GTA1 notes · Paper

GTA1 samples action proposals, judges them, and grounds the selected proposal when it requires coordinates

In the Writer example, GTA1 could compare opening the File menu with using the toolbar. Agent S2 could revise how it plans to export once the editing subgoal is complete.

3. Harness Mechanisms Relevant to CUA

Mechanism What it changes
VISTA Archives original frames outside the model context. In its visual games and puzzles, the agent can retrieve an old frame or inspect a region when it needs past visual evidence. A desktop agent could use the same pattern while tracking whether an old screenshot still reflects the current UI. VISTA notes · Paper
OpenVLHarness Renders tool results as evidence the model can inspect and stores original artifacts, such as images or masks, under reusable IDs. A later tool can access the underlying artifact. In CUA, the pattern could support revisiting screenshots, comparing file versions, or reusing verified fields. OpenVLHarness notes · Paper
No Long Context Changes the history sent to the model. End-of-Conversation Compaction summarizes near a context threshold, while Single-Action Compaction summarizes after each action. No Long Context notes
HuggingGPT Uses an LLM as a controller to plan dependencies, select expert models, and hand off work. It offers an early comparison point for splitting planning and grounding in CUA. HuggingGPT notes
PolySkill and NSI Turn experience into callable skills. PolySkill pairs an abstract skill with site-specific implementations. NSI induces programs with branches and loops from trajectories so execution can respond to feedback. PolySkill notes · NSI notes
Trace2Skill and SkillHone Update skills across runs. Trace2Skill proposes and merges edits from trajectories. SkillHone preserves the diagnosis, evidence, and decision for each revision. Trace2Skill notes · SkillHone notes

OSWorld provides the desktop environment and outcome evaluators. OSWorld 2.0 adds long workflows, information that can change during execution, and finer-grained checks of the final state. OSWorld-Human adds human reference trajectories and efficiency measures. OSWorld-G and its companion JEDI dataset address grounding. When comparing architectures, record the observation interface, action permissions, model, number of decisions, candidate actions or full runs, and scoring procedure. Comparing eight action proposals within one decision has a different execution cost from running the entire task eight times. OSWorld 2.0 notes · OSWorld-Human notes · OSWorld-G notes