arXiv(opens in a new tab)cs.AIOct 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2610.17670

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

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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.

Model: https://huggingface.co/collections/agentscope-ai/qwenpaw-flash

Dataset: https://huggingface.co/datasets/agentscope-ai/Cowork-Gym

Environment Overview

Figure

Model Leaderboard

Figure 1: Scale, diversity, and downstream impact of synthesized Cowork environments. Left: Our environment-synthesis pipeline produces 64.9K tasks across 14 top-level scenarios, with representative workspaces illustrating diverse personal and professional workflows. Right: The leaderboard demonstrates the effectiveness of training on these environments: Ours-27B ranks second across six agentic benchmarks and achieves the highest average scores on PawBench and ClawEval among the evaluated models.

†^{\dagger}Equal contribution.

∗^{*}Corresponding authors.

Figure

1 INTRODUCTION

Language-model agents increasingly undertake multi-step work that combines search, software development, computer use, and other capabilities (Zhou et al., 2023; Xie et al., 2024; Bai et al., 2026; GLM-5 Team, 2026), as illustrated by systems such as Claude Cowork, Codex, QwenPaw, and OpenClaw (Anthropic, 2026; OpenAI, 2026; AgentScope Team, 2026; OpenClaw, 2026). In these settings, an agent works through multiple tools in a persistent workspace, creating and revising artifacts as the task unfolds. At the same time, the user may supply new information, revise constraints, or replace task inputs, so the relevant state is shaped by both parties rather than fixed at the outset.

We use cowork as a generic term for this interaction pattern, in which a user and an agent work toward an objective through a shared workspace. Progress is reflected in the artifacts they produce and the changes they make to that workspace. To train and evaluate this behavior, we define a Cowork environment that specifies the task objective, initial workspace, available interfaces, user interaction policy, and verification criteria. It describes both the work to be completed and the conditions under which the interaction unfolds.

Constructing these environments at scale is challenging, which requires covering combinations of work domains, deliverable requirements, user profiles, and interaction patterns. Each combination should be realized in an executable workspace with compatible user actions and reliable outcome checks. These components must remain consistent as users reveal information, revise requirements, or replace inputs during execution. A final response may appear correct even when a required artifact is missing or the workspace is left in an incorrect state. Preparing and checking these conditions manually is costly; errors can make a task unsolvable or incorrectly scored. Recent advances in automatic environment synthesis (Zhang et al., 2026; Dong et al., 2026; Li et al., 2026; Shi et al., 2026b; Chae et al., 2026; Mai et al., 2025) motivate us to explore automated synthesis for cowork environments, where workspace state and user requirements evolve during interaction.

We introduce Cowork-Gym, a scalable framework for synthesizing Cowork environments (Figure 3). It generates tasks through two complementary routes: taxonomy-guided generation targets selected capabilities and scenario conditions, while resource-grounded generation derives tasks from existing resources, such as code repositories and document collections. Each task is instantiated as an executable environment and refined through a build-execute-revise loop. Sandbox execution and verifier checks identify inconsistencies and guide repairs before trajectory collection.

Within these environments, a stateful user simulator responds to the agent's progress through dialogue and direct workspace edits. For example, after reviewing an initial analysis, it may replace the source table, requiring the agent to revisit its inputs and revise its outputs. This supports collaboration in which users provide feedback and modify shared resources as work progresses. We collect trajectories across agent harnesses and filter them using artifact checks and execution records.

Using this framework, we synthesize 64.9K Cowork environments across 14 top-level scenarios, spanning office productivity, software engineering, data science, and other personal and professional workflows (Figure 1). We use the collected trajectories and verification signals to post-train Qwen3.5-9B, Qwen3.6-27B, and Qwen3.6-35B-A3B through supervised fine-tuning, reinforcement learning, and optional on-policy distillation (Lu et al., 2026b; Shenfeld et al., 2026). Across six agentic benchmarks, the resulting models improve upon their base checkpoints in 17 of 18 matched model-benchmark comparisons, demonstrating consistent gains across model scales and task settings.

Our main contributions are threefold:

• We develop Cowork-Gym for large-scale synthesis of cowork environments spanning diverse work domains and deliverables. It combines taxonomy-guided and resource-grounded task generation with a build-execute-revise loop to expand task coverage and validate environment consistency.

• We introduce a stateful user simulator that conditions conversational feedback and shared-workspace changes on the agent’s progress, creating multi-turn collaboration in which the agent must adapt its ongoing work to revised requirements and inputs.

• We demonstrate the training value of synthesized environments across three model scales and six agentic benchmarks. Ours-27B ranks second overall among the evaluated models and achieves the best scores on PawBench and ClawEval, surpassing evaluated models with over 100B total parameters on both benchmarks.

Figure

References (7)

  • Inspect actual contents rather than filenames
  • For collaborative tasks, validate patch YAML, allowed actions, runtime-visible paths, create/edit/overwrite preconditions, and cross-turn consistency
  • Parse structured data, inspect documents and required media, and interact with GUI state when applicable
  • Identify missing anti-shortcut coverage, but do not modify the checklist
  • Semantic correctness and red-line constraints must outweigh superficial file-existence checks
  • Critical executability, leakage, and verifier failures override a high average
  • separation