HyperAIHyperAI

Command Palette

Search for a command to run...

Agent
LLM

CoworkOS: Scaling Agent Coworkers for Real-world Automation

Abstract

Rapid advances in cowork agents are shifting human-AI collaboration toward real-world automation, delivering software, designs, and other artifacts. However, such productivity work demands both high-quality delivery on complex productivity tasks and continued monitoring and decision-making over long horizons, a combination that remains an open challenge. We introduce COWORKOS, a general-purpose harness for long-horizon work that separates task strategy from execution management: the model decides actions, delegation, and acceptance, while the runtime maintains state and feedback. Its three-layer architecture enables direct execution or delegation to Subagents, synchronously or asynchronously, under stable responsibilities. Through a shared application layer, humans and agents inspect and revise the same evolving documents, presentations, CAD models, and Blender scenes, so human-in-the-loop participation can enter both through conversation and through direct modification of the work itself. To sustain continuity across agents and sessions, COWORKOS further introduces hierarchical workspaces and persistent semantic memory, so working files, key decisions, and long-running Job logs remain shareable, reusable, and resumable after interruption. Across 12 benchmarks and 6 categories of real-world applications, COWORKOS proves highly competitive with frontier agent applications such as Codex and DeepSeek Harness. As a sustained-work case study, COWORKOS uses GLM-5.3 as its backbone to conduct RSI-driven automated post-training on Qwen3.6-35B-A3B. Over five rounds, the model’s average score across eight benchmarks rose from 33.19 to 42.95 (+9.76). Looking ahead, we believe COWORKOS opens a meaningful path toward general cowork-agent intelligence.

One-sentence Summary

Renmin University of China, Fudan University, Peking University, et al. introduce COWORKOS, a general-purpose long-horizon agent harness that separates task strategy from execution management through a three-layer architecture, hierarchical workspaces, and persistent semantic memory, enabling humans and agents to inspect and revise the same evolving documents, presentations, CAD models, and Blender scenes; it proves highly competitive with Codex and DeepSeek Harness across 12 benchmarks and, with GLM-5.3 as its backbone, conducts RSI-driven automated post-training on Qwen3.6-35B-A3B, raising the model’s average score across eight benchmarks from 33.19 to 42.95 (+9.76) over five rounds.

Key Contributions

  • COWORKOS is a general-purpose harness for long-horizon human-agent work that separates task strategy from execution management: the model decides actions, delegation, and acceptance while the runtime maintains state and feedback.
  • Its shared application layer lets humans and agents inspect and revise the same evolving documents, presentations, CAD models, and Blender scenes, while hierarchical workspaces and persistent semantic memory keep working files, decisions, and job logs shareable, reusable, and resumable after interruption.
  • Across 12 benchmarks and six categories of real-world applications, COWORKOS achieves competitive performance relative to OpenHands, Codex, and DeepSeek Harness; in an RSI-driven post-training case study, it raises Qwen3.6-35B-A3B's average score from 33.19 to 42.95 over five rounds across eight benchmarks.

Introduction

Agent systems are moving toward lifelong autonomy, where runtime harnesses are as important as model capability because they determine how models invoke tools, manage state, interpret feedback, and act on available resources. Recent agent frameworks have progressed from workflow-level reasoning and tool use, through assistant-style persistent interaction, to cowork agents that collaborate with humans on evolving artifacts. However, existing systems tend to address either complex productivity tasks or long-running monitoring and decision-making, rather than providing a unified design that keeps humans in the loop across both demands. The authors introduce COWORKOS, a cowork harness that separates model-driven task strategy from runtime execution management through a three-layer framework comprising a Main Agent, a Coordinator Runtime, and Subagents. It adds a human-in-the-loop application ecosystem with shared artifacts, persistent hierarchical workspaces, semantic memory, and long-running Jobs, and it is evaluated across general benchmarks and real-world cowork scenarios.

Method

The authors introduce COWORKOS, a cowork harness designed for long-horizon and human-in-the-loop task execution. The framework is composed of three primary components: a hierarchical agent runtime architecture, scalable application ecosystems for human-agent collaboration, and state management for persistent agent workspaces.

The hierarchical agent runtime architecture resolves the tension between global coherence and local execution by separating authority from execution. The Main agent serves as the user-facing interface and overall planner. At decision step ttt, it selects an action according to atM∼πM(⋅∣g,htM,Ft)a _ {t} ^ {\mathrm{M}} \sim \pi_ {\mathrm{M}} \left(\cdot \mid g, h _ {t} ^ {\mathrm{M}}, \mathcal {F} _ {t}\right)atM​∼πM​(⋅∣g,htM​,Ft​), where ggg is the user's objective, htMh _ {t} ^ {\mathrm{M}}htM​ is the interaction history, and Ft\mathcal {F} _ {t}Ft​ contains newly available feedback. Main can delegate scoped work to Subagents. For assignment did _ {i}di​, a Subagent's initial context is constructed as ci,0=ΦS(di,b(htiM),Γi,Si)c _ {i, 0} = \Phi_ {\mathsf {S}} \left(d _ {i}, b (h _ {t _ {i}} ^ {\mathsf {M}}), \Gamma_ {i}, \mathcal {S} _ {i}\right)ci,0​=ΦS​(di​,b(hti​M​),Γi​,Si​), where the extraction function retrieves bounded recent background, Γi\Gamma _ {i}Γi​ specifies granted tools, and SiS _ {i}Si​ is a catalog of available skills. The Coordinator Runtime acts as the control-plane boundary, maintaining assignments and execution state in persistent program state ξk+1=FC(ξk,ek+1)\xi _ {k + 1} = F _ {\mathrm{C}} \left(\xi_ {k}, e _ {k + 1}\right)ξk+1​=FC​(ξk​,ek+1​), where ek+1e _ {k + 1}ek+1​ represents a delegation request, execution update, message, or terminal result.

Information flows through three directional paths in the hierarchy: Main-to-Subagent, Subagent-to-Subagent, and Subagent-to-Main, represented as a communication graph Gt=(Vt,Ethier∪Etpeer)\mathcal {G} _ {t} = \left(\mathcal {V} _ {t}, \mathcal {E} _ {t} ^ {\mathrm{hier}} \cup \mathcal {E} _ {t} ^ {\mathrm{peer}}\right)Gt​=(Vt​,Ethier​∪Etpeer​). The workspace exposes selected references and accepted artifacts without granting workers unrestricted write access.

To support long-horizon coworking across multiple applications, the authors build an application ecosystem around a common resource protocol. A platform-managed resource is represented as r=(ι,κ,x,ν)r = (\iota, \kappa, x, \nu)r=(ι,κ,x,ν), where ι\iotaι is its identity, κ\kappaκ its kind, xxx its application-owned content, and ν\nuν its committed revision. For a new operation α\alphaα that passes domain validation, the commit rule is defined as:

Commit⁡(r,u,v^,α)={(ι,κ,Tκ(x,u,α),v+1),v^=v,conflict,v^≠v,\operatorname{Commit} (r, u, \hat {v}, \alpha) = \left\{ \begin{array}{l l} (\iota, \kappa, T _ {\kappa} (x, u, \alpha), v + 1), & \hat {v} = v, \\ \text {conflict}, & \hat {v} \neq v, \end{array} \right.Commit(r,u,v^,α)={(ι,κ,Tκ​(x,u,α),v+1),conflict,​v^=v,v^=v,​

where v^\hat {v}v^ is the operation's base revision and uuu identifies the human or agent actor. Native applications keep the resource under platform control, allowing direct human editing to participate in the same coordination loop as agent actions. The agent's application context includes the current resource and unacknowledged changes: ct,appa=Φκ(rt,st,Δνa:νt¬a)c _ {t, \mathrm{app}} ^ {a} = \Phi_ {\kappa} \left(r _ {t}, s _ {t}, \Delta_ {\nu_ {a}: \nu_ {t}} ^ {\neg a}\right)ct,appa​=Φκ​(rt​,st​,Δνa​:νt​¬a​), where νt\nu _ {t}νt​ is the current revision, νa\nu _ {a}νa​ is the agent's last acknowledged revision, and sts_tst​ is the saved selection.

State management ensures that a long-horizon Task retains progress across executions. The retained Task state is represented as zk=(Wk,Pk,Rk)z _ {k} = (W _ {k}, P _ {k}, R _ {k})zk​=(Wk​,Pk​,Rk​), where WkW _ {k}Wk​ contains working objects, PkP _ {k}Pk​ records progress and evidence, and RkR _ {k}Rk​ records ongoing executions and pending feedback. The agent uses persistent Task state and available history hkh _ {k}hk​ within a bounded decision context: ck=Φ(g,hk,zk)c _ {k} = \Phi (g, h _ {k}, z _ {k})ck​=Φ(g,hk​,zk​), with tokens(ck)≤L\text{tokens}(c _ {k}) \leq Ltokens(ck​)≤L. To reconstruct Main's context as history grows, the runtime combines objective and consequential decisions in durable memory with current runtime state. At phase boundaries, the task context is constructed as ct,taskM=Φctx(mT,ρT(t),dT(t))⊕ht,recentMc _ {t, \mathrm{task}} ^ {\mathrm{M}} = \Phi_ {\mathrm{ctx}} \left(m _ {T}, \rho_ {T} (t), d _ {T} (t)\right) \oplus h _ {t, \mathrm{recent}} ^ {\mathrm{M}}ct,taskM​=Φctx​(mT​,ρT​(t),dT​(t))⊕ht,recentM​, where mTm _ {T}mT​ is semantic memory, ρT(t)\rho _ {T} (t)ρT​(t) projects runtime state, and dT(t)d _ {T} (t)dT​(t) summarizes recorded experiments. The workspace retains working objects alongside progress records, with agent working materials, Run records, and published artifacts occupying separate scopes under the Task.

Experiment

COWORKOS is evaluated across twelve benchmarks spanning tool use, productivity, search, and ML coding, where it is compared with OpenHands, Codex, and DeepSeek Harness and shows the strongest overall performance with top results in several domains. Qualitative experiments on real-world tasks including frontend websites, games, office artifacts, interactive visualizations, CAD, and Blender rendering indicate that COWORKOS produces clearer grouping, richer detail, and more legible interactive deliverables. In AI automated post-training experiments, COWORKOS uses GLM-5.3 to direct five feedback-driven training rounds for a Qwen model, improving the average benchmark score from 33.19 to 42.95 and demonstrating sustained long-horizon model improvement.

COWORKOS places among the top two harnesses in every domain average, leading the Productivity and ML Coding averages and closely matching the leaders in Tool Use and Search. It records the best scores on SkillsBench, JobBench, WideSearch, and both ML Coding benchmarks, indicating broad strength across tool execution, knowledge work, information retrieval, and machine-learning experiments. Overall, COWORKOS shows the strongest performance among the evaluated harnesses on this benchmark set. COWORKOS places among the top two harnesses in every domain average and achieves the highest averages in Productivity and ML Coding. It posts the best scores on SkillsBench, JobBench, WideSearch, and both ML Coding benchmarks, while closely matching DeepSeek Harness in Tool Use and OpenHands in Search. In Productivity, COWORKOS leads JobBench and ranks among the top two on Harvey Legal Agent Bench, WorkspaceBench-Lite, and GDPVal, supporting strong practical knowledge-work performance.

COWORKOS places among the top two harnesses in every domain average, with the highest averages in Productivity and ML Coding and the best scores on SkillsBench, JobBench, WideSearch, and both ML Coding benchmarks. It closely matches DeepSeek Harness in Tool Use and OpenHands in Search, while leading JobBench and ranking among the top two on Harvey Legal Agent Bench, WorkspaceBench-Lite, and GDPVal. These results indicate broad strength across tool execution, knowledge work, information retrieval, and machine-learning experiments, making COWORKOS the strongest overall performer in the benchmark set.


Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing

HyperAI Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp