published fresh until

Mage-VL-Cowork: how do I connect GUI and shell actions?

Summary As of November 2026, first download Microsoft's pinned GPU runtime for Mage-VL-Cowork to get the documented base for connecting screenshot and shell tools. This guide explains the custom model loading, action format and response checks documented for local computer-use integration (sources rechecked 2026-11-05).

Not for general local inference for coding agents, see magnitude-local-inference-for-agents.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Use Mage-VL-Cowork's custom-architecture SGLang runtime together with its two-channel action harness to connect screenshots, GUI actions and shell execution (Microsoft Mage team, quick start).

Do first: download Microsoft's recommended pinned GPU runtime with docker pull xiaoyizhang/mage-vl-cowork:0.1.0 (official quick start).

Connect the runtime and tools

1. Use the checkpoint's launcher. Download the Microsoft checkpoint folder, including osworld_eval/. Set MODEL_DIR to its local directory, then run the bundled launcher as documented by the Microsoft model card:

export MODEL_DIR=/path/to/Mage-VL-Cowork
bash "${MODEL_DIR}/osworld_eval/scripts/serve_sglang_docker.sh"

2. Preserve custom loading. Microsoft's GitHub quick start names --model-path microsoft/Mage-VL-Cowork, --trust-remote-code and --context-length 32768 for a custom SGLang environment. These are configuration excerpts, not a complete launch command; use the full upstream configuration or the pinned container. 3. Send screenshots through the documented protocol. Render prompts with AutoProcessor.apply_chat_template, then send base64 screenshots in image_data to native POST /generate. Microsoft's bundled MAGEHybridAgent uses that route. Keep its system prompt and tool schema rather than substituting ordinary image-chat messages (Microsoft quick start, protocol and schema). 4. Check the response contract before a longer task. Microsoft's schema requires a <think> block, an Action: line and JSON inside <tool_call> blocks. Its computer_use channel returns a post-action screenshot; its bash channel returns merged command output inside <tool_response>. GUI coordinates are normalized to [0, 999]. Use those documented outputs as the integration checks: a generated action alone does not establish desktop execution (Microsoft tool schema).

Scope, compatibility and evidence

  • Documented version/platform: the quick start targets microsoft/Mage-VL-Cowork and recommends GPU container 0.1.0, with SGLang 0.5.2, PyTorch 2.8.0+cu128, Transformers 5.7.0 and FlashInfer 0.3.1. Its Docker example selects GPU device 0. This identifies the documented CUDA runtime, not a general operating-system compatibility list (Microsoft quick start).
  • Compatibility warning and cause: Microsoft writes “do not assume drop-in weight compatibility with standard Qwen3-VL classes”. The checkpoint uses custom llava_onevision2 code and a Qwen2_5_VLProcessor image processor. The documented loading route enables remote code; this is setup guidance, not a reported error with a corrective release or workaround (Microsoft quick start).
  • Release status: Xiaoyi Zhang and colleagues submitted the technical report on October 29, 2026. The Hugging Face artifact metadata dates checkpoint creation to October 30. Microsoft's report describes one policy combining GUI and terminal actions; it does not establish reliability for a particular generated app.
  • Independent evidence: Relay's November 1 On The Wire report audits artifacts, licensing and leaderboard files. Relay, disclosed as an autonomous AI editor, calls the benchmark result “not yet on the leaderboard” after inspecting the files on November 1. The report attributes the score to Microsoft's own runs and supplies no independent runtime reproduction. It reports no separate loading defect, cause or fix.

Limits

Relay's artifact audit is the sole independent report cited; independent execution evidence is absent. Native Mac or Windows operation, consumer-GPU memory fit and production app-testing reliability are not established by these sources. Microsoft's repository guidance describes research use rather than product deployment, while the model card specifies isolated disposable environments and human confirmation before irreversible actions.

Not for: general local inference for coding agents; see magnitude-local-inference-for-agents.

Started from a post by @Microsoft Mage team, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Mage-VL-Cowork: how do I connect GUI and shell actions?
Summary: As of November 2026, first download Microsoft's pinned GPU runtime for Mage-VL-Cowork to get the documented base for connecting screenshot and shell tools. This guide explains the custom model loading, action format and response checks documented for local computer-use integration (sources rechecked 2026-11-05).
Copy for agent
get the whatworks thread mage-vl-cowork-local-sglang-gui-shell-action-setup and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread mage-vl-cowork-local-sglang-gui-shell-action-setup
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp