Cowork-Gym: Synthesizing Interactive Work Environments at Scale

Anni Zou†, Cheng Chen†, Jiaji Deng†, Weikang Zhou†, Xinji Mai†, Yue Wu†, Jianing Lin, Lipeng Xie, Lixiong Qin, Qingyue Zhao, Que Shen, Shuchang Tao, Xuchen Pan, Yaliang Li, Yunpeng Zhai, Yushuo Chen, Zhihai Wang, Zhuo Zhang, Zhaoyang Liu*, Bolin Ding*, Jingren Zhou
Alibaba Token Foundry

† Equal contribution* Corresponding authors

Cowork-Gym environments span personal and professional workflows. The six-benchmark leaderboard places Ours-27B second with a mean score of 61.19, behind GLM-5.2 at 61.57.
Figure 1 Scale, diversity, and downstream impact of synthesized Cowork environments. Ours-27B ranks second by average score among the models evaluated in the paper.

Abstract

Cowork agents navigate dependencies across tools and files while adapting to changing user requirements and edits to shared workspaces. Scaling such environments requires maintaining consistency among task objectives, executable resources, user behavior, and success criteria. We introduce Cowork-Gym, a framework that synthesizes Cowork environments through a build–execute–revise loop that uses execution evidence and review feedback to validate and repair generated environments. To capture realistic Cowork dynamics, a stateful user simulator responds to the agent’s actions through dialogue and direct edits to the shared workspace.

We synthesize 64.9K environments across 14 application scenarios and use them to post-train 9B, 27B, and 35B-A3B Qwen models with supervised fine-tuning, reinforcement learning, and on-policy distillation. Averaged across six agentic benchmarks, these models outperform their corresponding base checkpoints by 8.7, 6.4, and 4.1 points, respectively. Ours-27B ranks second overall among the evaluated models and achieves the highest average scores on PawBench and ClawEval, outperforming models with over 100B total parameters on both benchmarks.

Scalable Cowork Data Synthesis

Cowork-Gym constructs environments from taxonomy-guided or resource-grounded task specifications and validates them through a build–execute–revise loop.

Cowork-Gym combines task specification, a build–execute–revise loop, trajectory generation with a stateful user simulator, and trajectory filtering. Validity checks and optional NLL or RSR selection produce training samples. The resulting environments and trajectories support SFT, RL, and OPD.
Figure 3 Overview of Cowork environment synthesis and agent training. Task specification and the build–execute–revise loop produce environments for trajectory generation and filtering. The resulting environments and trajectories support SFT, RL, and OPD.
  • 01

    Task Specification

    Sample capabilities and scenarios from a taxonomy, or derive tasks from existing documents, code, and other resources.

  • 02

    Build–Execute–Revise Loop

    Construct the workspace, interfaces, user policy, and verifier. Execute the package and repair detected inconsistencies.

  • 03

    Stateful User Simulator

    A stateful user observes progress, sends feedback, and edits shared files, requiring the agent to adapt its work.

Cowork Environments

Environment 1 Sandbox
Environment 2 Sandbox
Environment n Sandbox

TaskWorkspaceInterfacesUser policyVerifier

Agentic Post-Training

Filter trajectories using verification and execution evidence, then post-train with SFT, RL, and optional on-policy distillation.

Problem Formulation

An environment couples the task objective, initial state, interaction interfaces, user policy, and verification suite. Code-based checks and rubric evaluation assess the resulting work.

A Harbor-compatible task package includes the instruction, runtime, reference solution, verifier, and private user policy. During a sales-report task, the user replaces a source CSV and asks the agent to exclude refunds. The agent recomputes the report, which is checked by code and rubric verifiers.
Figure 2 A Harbor-compatible task package, extended with a user simulator. Both dialogue and direct workspace edits shape the rollout.

Stateful User Simulator

The user simulator conditions its interventions on private user state and the agent’s progress, providing feedback through dialogue and direct edits to the shared workspace.

Left: a user and agent interact with an environment, guided by the user's private goals, preferences, and constraints. Right: the user simulator stores persistent context in .user/ and turn-specific instructions and workspace updates in .patch/. It interacts with the assistant through public messages and changes to the shared workspace.
Figure 4 Cowork environment synthesis and stateful user simulation. The simulator runs outside the acting-agent sandbox; the agent observes only public messages and the resulting workspace changes.

Data Scale and Diversity

The synthesis pipeline produces 64,888 environments spanning 14 application scenarios and 17 capabilities, with variation in deliverables and user personas.

Distributions across application scenarios, capability labels, output formats, and personas in 64,888 environments. Office productivity accounts for 44.4 percent of scenarios and software engineering for 18.7 percent. File management and data analysis are the most frequent capabilities.
Figure 5 Coverage is broad and non-uniform. Capability, format, and persona labels can overlap; percentages are computed over all 64,888 environments.
77,729
Raw trajectories
24,732
After validity-based filtering
32.99%
Multi-turn share of raw trajectories
10
Median tool-using steps after filtering

Main Results

Training with Cowork-Gym improves the six-benchmark average at every evaluated model scale, with gains in 17 of 18 matched model–benchmark comparisons.

9B

+8.7 points

36.27 to 44.94

Qwen3.5-9B → Ours-9B

27B

+6.4 points

54.78 to 61.19

Qwen3.6-27B → Ours-27B

35B-A3B

+4.1 points

52.51 to 56.65

Qwen3.6-35B-A3B → Ours-35B-A3B

Ours-27B ranks second overall and has the highest average scores on PawBench and ClawEval among the evaluated models, including models with over 100B total parameters.

Results on Six Agentic Benchmarks

Table 2 · OpenClaw evaluation. Scores are on a 0–1 scale; secondary values show pass rates where reported. Avg. is the mean score across six benchmarks. MoE parameters are total / activated.

Main results from Table 2 of the paper, ordered by average score
Model Params. Avg. Workspace
Bench
ALE WildClaw
Bench
PawBench ClawEval ClawMark
GLM-5.2 744B / 40B 0.6157 0.5178 0.304012.80% pass 0.5866 0.787820.70% pass 0.760180.70% pass 0.7377
Ours-27B 27B 0.6119 0.5409 0.290310.6% pass 0.4241 0.840041.82% pass 0.850880.6% pass 0.7250
DeepSeek-V4-Pro 1.6T / 49B 0.5744 0.5525 0.276012.40% pass 0.4614 0.772915.32% pass 0.772775.5% pass 0.6109
Ours-35B-A3B 35B / 3B 0.5665 0.5227 0.25848.50% pass 0.4248 0.818737.27% pass 0.773482.00% pass 0.6009
Qwen3.6-27B 27B 0.5478 0.5230 0.23118.50% pass 0.3725 0.805739.09% pass 0.731168.90% pass 0.6233
Qwen3.6-35B-A3B 35B / 3B 0.5251 0.5077 0.17945.00% pass 0.4300 0.773930.91% pass 0.725467.70% pass 0.5344
Nex-N2-mini 35B / 3B 0.5014 0.4426 0.21127.10% pass 0.3201 0.687821.77% pass 0.738978.90% pass 0.6078
Kimi-K2.5 1T / 32B 0.4930 0.3949 0.288011.30% pass 0.3486 0.733113.44% pass 0.696769.6% pass 0.4968
Agents-A1 35B / 3B 0.4515 0.3599 0.22639.20% pass 0.2794 0.704525.3% pass 0.733178.30% pass 0.4057
Ours-9B 9B 0.4494 0.3836 0.15444.30% pass 0.2438 0.769931.82% pass 0.725975.80% pass 0.4185
Macaron-V1 35B / 3B 0.4269 0.2562 0.16177.10% pass 0.2721 0.712018.55% pass 0.679670.20% pass 0.4796
MiniMax-M2.5 230B / 10B 0.4084 0.2517 0.26229.90% pass 0.3936 0.543110.75% pass 0.652659.60% pass 0.3472
Qwen3.5-9B 9B 0.3627 0.2372 0.02050.70% pass 0.2302 0.707124.55% pass 0.653562.10% pass 0.3276

Purple rows: models post-trained with Cowork-Gym. All results refer to the paper’s evaluation, not a live leaderboard.

Gains vary by benchmark: Ours-35B-A3B decreases by 0.52 points on WildClawBench, and all three post-trained models trail GLM-5.2 on that benchmark.

Ablation Studies

More environment exposure, interactive supervision, and training across harnesses contribute complementary benefits.

Supervised Environment Exposure

All three model variants improve from the initial to the final supervised-training checkpoint on the three reported ClawEval metrics. The point of saturation depends on both the model and the metric.

ClawEval score, pass at 3, and pass cubed over supervised training for 9B, 27B, and 35B-A3B models. All three models improve from the initial to the final checkpoint, with different saturation patterns.
Figure 6 ClawEval performance over supervised training, with progress normalized to the final checkpoint.

Interactive Supervision

Table 3. Effect of interactive supervision on 27B models. Metrics are reported on a 0–100 scale; green values indicate absolute gains over Qwen3.6-27B.

Effect of interactive supervision on 27B models
Model Single
turn
Multi
turn
ClawEval ClawEval-MT ClawMark
Score Pass@3 (%) Score Pass (%) Score
Qwen3.6-27B – – 73.11 68.9 80.57 71.1 62.33
Ours-27B ✓ – 84.13 gain +11.02 79.7 gain +10.8 84.01 gain +3.44 83.3 gain +12.2 69.27 gain +6.94
Ours-27B ✓ ✓ 85.08 gain +11.97 80.6 gain +11.7 84.44 gain +3.87 81.6 gain +10.5 72.50 gain +10.17

Adding multi-turn trajectories to single-turn supervision improves the 27B model’s ClawMark score from 69.27 to 72.50 (+3.23 points). Average scores also improve on ClawEval and ClawEval-MT.

Cross-Harness Transfer

Table 4. Cross-harness generalization of Qwen3.5-9B on PawBench. Results are pass rates (%); green values show absolute gains over the base model in percentage points. QwenPaw and OpenClaw are seen during data collection; Hermes is unseen.

Cross-harness generalization of Qwen3.5-9B on PawBench
Training source QwenPaw Seen OpenClaw Seen Hermes Unseen
Base model 20.0 24.5 15.5
QwenPaw only 29.1 gain +9.1 27.3 gain +2.8 22.7 gain +7.2
OpenClaw only 30.0 gain +10.0 29.1 gain +4.6 24.5 gain +9.0
QwenPaw + OpenClaw 31.8 gain +11.8 31.8 gain +7.3 24.5 gain +9.0

Training on OpenClaw trajectories improves the 9B model’s PawBench pass rate on the unseen Hermes harness from 15.5% to 24.5% (+9.0 percentage points). Joint QwenPaw + OpenClaw training retains that gain.

On-Policy Distillation

On-policy distillation recovers approximately 80% of the SFT teacher’s ClawEval pass3 gain. On GPQA-Diamond, the student remains close to the base model and outperforms the SFT teacher by 4.54 points.

On-policy distillation results: the student improves ClawEval pass cubed by 4.5 points over the base model, finishing 1.1 points behind the SFT teacher, while exceeding the teacher on GPQA-Diamond by 4.54 points.
Figure 7 Agentic transfer and general-capability retention under on-policy distillation. Dashed lines mark the SFT teacher.

BibTeX

@misc{zou2026coworkgym,
  title  = {Cowork-Gym: Synthesizing Interactive Work Environments at Scale},
  author = {Anni Zou and Cheng Chen and Jiaji Deng and Weikang Zhou and
            Xinji Mai and Yue Wu and Jianing Lin and Lipeng Xie and
            Lixiong Qin and Qingyue Zhao and Que Shen and Shuchang Tao and
            Xuchen Pan and Yaliang Li and Yunpeng Zhai and Yushuo Chen and
            Zhihai Wang and Zhuo Zhang and Zhaoyang Liu and Bolin Ding and
            Jingren Zhou},
  year   = {2026},
  url    = {https://huggingface.co/spaces/agentscope-ai/Cowork-Gym}
}

Paper figure

Scroll to inspect the figure. Press Escape to close.