Manuscript Offprint

arXiv:2610.03286

VenusRL: A Fully Disaggregated Agentic RL System with Priority Scheduling and Scalable Interaction

Mingjun Zhang, Yucheng Li, Menghao Zhang, Shuyong Zhu, Ping Zhang, Xiaohe Hu, Jun Chen, Zhixin Wang, Xutong Wang, He Liu, Yanmin Jia, Shengrong Zhu, Peng Sun, Mingjie Zhang, Liming Liu, Jinlong Hou, Yuan Cheng, Yujun Zhang

Mingjun Zhang 1^{1}, Yucheng Li 2^{2}, Menghao Zhang 2^{2}, Shuyong Zhu 1^{1}, Ping Zhang 3^{3}, Xiaohe Hu 3,4^{3,4}, Jun Chen 3^{3}, Zhixin Wang 4^{4}, Xutong Wang 3^{3}, He Liu 3^{3}, Yanmin Jia 3^{3}, Shengrong Zhu 3^{3}, Peng Sun 5^{5}, Mingjie Zhang 3^{3}, Liming Liu 4^{4}, Jinlong Hou 4^{4}, Yuan Cheng 4^{4}, Yujun Zhang 1^{1}

1^{1}Institute of Computing Technology, Chinese Academy of Sciences 2^{2}Beihang University 3^{3}Infrawaves

4^{4}Shanghai Innovation Institute 5^{5}Shanghai Qiji Zhifeng Co., Ltd.

Abstract

Agentic Reinforcement Learning (RL) trains LLM agents through multi-turn interactions with external tool environments. Its multi-turn nature exposes two systems-level bottlenecks unaddressed by existing agentic RL frameworks. First, end-to-end training throughput is constrained by the slowest trajectories to complete, yet optimizing per-GPU utilization alone scatters rollout progress across many groups, delaying the completion of enough groups to unblock the next training step. Second, tool sandboxes are statically overprovisioned by their declared memory ceilings, leaving most physical memory stranded while replicating near-identical state across sandboxes launched from the same prompt. We present VenusRL, a fully disaggregated agentic RL system that addresses both bottlenecks. VenusRL's priority-aware action scheduler uses length-prediction heuristics to identify sample groups whose completion is most likely to unblock the next training step, and pushes them ahead of others across batch admission, KV Cache residency, and cross-worker request orchestration. VenusRL's environment resource manager combines a memory-aware admission threshold with a template-keyed page-sharing pool, packing more sandboxes per node while preserving strict memory isolation via write-protected page table entry aliasing and copy-on-write. Across representative agentic RL workloads, VenusRL achieves up to 4.24×4.24\times end-to-end training speedup over state-of-the-art baselines and reduces environment cost by up to 89%.

1 Introduction

Agentic Reinforcement Learning (RL) trains Large Language Models (LLMs) to solve complex tasks through iterative interaction with external environments. Driven by this paradigm, the applications of LLMs have evolved from simple language assistants into sophisticated agents capable of solving complex, real-world problems [14, 19, 27, 32, 34, 37]. This paradigm also motivates the emergence of industry products such as Claude Code [2], OpenClaw [8] and Deep Research [37].

Similar to conventional single-turn RL, agentic RL training is dominated by the rollout stage, which accounts for over 70% of total wall-clock time [18, 23, 41]. Existing RL systems mainly optimize this phase by mitigating straggler-induced skewness bubbles [16, 18, 41]. Beyond this shared characterization, the multi-turn nature of agentic trajectories introduces unique system challenges: an efficient rollout scheduling policy for maximizing end-to-end training throughput, and scalable environment interaction to support such flexible scheduling policy.

First, for rollout scheduling, mainstream RL frameworks [10, 68] typically adopt trajectory-level scheduling, where each trajectory is treated as an indivisible execution unit. This coarse granularity ignores generation-interaction state transitions, thereby leaving GPUs underutilized, which we call turn-level agentic bubbles. Recent works address this problem by decoupling generation controllers from environment controllers, allowing one trajectory's generation to overlap with another's tool interaction [5, 33]. Though this action-level scheduling policy maximizes rollout GPU throughput, it may not accelerate training process since the trainer only waits for enough completed trajectory groups to form the next training batch, while this policy scatters rollout progress across samples. Moreover, KV Cache pressure and eviction are amplified by multi-turn execution. A trajectory may first generate, suspend during tool execution, and later resume after its KV Cache has already been evicted by other active trajectories [6, 28, 31]. This causes repeated recomputation overhead. What's worse, the action-level scheduling, while effective for eliminating GPU idle time, increases the number of interleaved active trajectories and thereby aggravates this problem. Both problems pose challenges for an optimized rollout scheduling policy.

Second, for environment interaction, the challenge is not merely the safe execution and isolation of each tool sandboxes, but to sustain the high environment concurrency required by fine-grained rollout scheduling. Action-level scheduling increases the number of active trajectories so that rollout GPUs can consume ready trajectories while others wait for tool execution. However, if the environment side cannot support this concurrency, generation workers are

Menghao Zhang and Shuyong Zhu are the corresponding authors.

blocked by interaction-side stalls, preventing action-level scheduling from fully realizing its benefit. Thus, scalable environment interaction in fact places a strong demand on high-density sandbox deployment. However, in production, sandboxes are conservatively packed by their configured memory ceilings, even though their actual resident set is far smaller, which leads to "memory stranding" [17, 25, 30]. Worse yet, existing systems treat sandboxes as independent instances and overlook the structural property of agentic RL: a sample group consists of multiple rollouts sharing the same prompt. Therefore, trajectories within the same sample group are launched from identical templates and execute nearly identical setup code, so a fraction of their pages are byte-identical. This leads to "state duplication" [24, 43] across sandboxes that could otherwise share memory.

From the analysis above, we conclude an efficient agentic RL system requires two complementary capabilities: an effective rollout scheduling policy that maximizes training throughput, and a scalable environment manager that supports such scheduling policy. To the end, we propose VenusRL, a fully disaggregated system for agentic RL training. VenusRL decouples training, rollout generation, and environment interaction into independent components, and introduces two key mechanisms: a priority-aware action scheduler for end-to-end training throughput, and an environment resource manager for cost-efficient environment interaction.

The priority-aware action scheduler retains the benefits of action-level scheduling by separating generation workers from environment workers. Additionally, it incorporates priority into its scheduling decisions. VenusRL defines critical groups as unfinished groups whose completion is most likely to unblock the next trainer batch. At runtime, VenusRL uses length-prediction-based heuristics to identify such groups and prioritizes their execution. To enforce this priority, VenusRL co-designs the RL framework and rollout engine to provide priority-aware GPU-slot execution, ensuring high-priority samples are scheduled ahead of others. Beyond GPU scheduling, VenusRL introduces priority-aware KV Cache residency. It employs trajectory-aware radix cache and uses a three-tier KV Cache model for admission control and eviction decisions. This preserves KV Cache entries of high-priority trajectories on a best-effort basis. Furthermore, VenusRL performs priority-aware request orchestration to mitigate the imbalanced distribution of high-priority samples across rollout workers. It monitors KV Cache pressure across rollout workers and migrates requests with their reusable prefix cache to reduce KV contention of high-priority samples.

The environment resource manager provides scalable interaction by page-grained and high-density sandbox deployment. At cluster scope, VenusRL provides scalable interaction by a global controller to allocate sandboxes from a shared environment pool and hide deployment details to the framework. At node scope, VenusRL introduces page-level sandbox placement and dynamic admission control to maximize deployment density while preventing memory overcommitment. To exploit similarity among agentic trajectories, VenusRL further builds a group-level page sharing pool. Trajectories from the same sample group share snapshot pages whenever possible: read-only pages are mapped to the same write-protected physical pages, and private copies are created lazily through copy-on-write upon modification.

We implemented VenusRL in 24k lines of Python, Rust and Golang. We conduct extensive evaluations to validate the effectiveness of VenusRL. Experimental data shows that VenusRL outperforms state-of-the-art RL systems, achieving 1.07–3.26× end-to-end training speedup over Slime [68], 1.06–4.24× speedup over RollFlash [33], and up to 2.67× speedup compared to ThunderAgent [28]. Meanwhile, VenusRL reduces environmental costs by up to 89% compared with E2B [13], a representative and widely-use sandbox platform.

In summary, this paper makes the following contributions:

• We identify two systems challenges introduced by agentic RL training: multi-turn rollout scheduling on the generation side, and external environment management on the interaction side ( §2§2).

• We propose VenusRL, a fully disaggregated system for Agentic RL training ( §3§3). VenusRL introduces a priority-aware action scheduler ( §4§4) for maximizing end-to-end training throughput, and an environment resource manager ( §5§5) to provide scalable and cost-efficient environment interaction.

• We implement VenusRL and evaluate it on representative Agentic RL workloads ( §6§6). Experimental results show that VenusRL achieves up to 4.24×4.24\times training throughput improvement and reduces environment resource cost by up to 89% compared with existing systems.

References (37)