← All papers  /  Nov 7, 2026
Agents · Memory

BunshinRL: Splitting Live Agent Workspaces for Memory-Efficient Agentic RL

First page
BunshinRL: Splitting Live Agent Workspaces for Memory-Efficient Agentic RL
The curator’s take

Yutong Huang, Vikranth Srivatsa, Alex Asch and Yiying Zhang (UC San Diego, GenseeAI) cut the memory and latency cost of agentic RL rollouts by forking live container workspaces.

Ask this paper

Key points
01

Problem. Agentic RL rollouts run many persistent workspaces at once. Memory grows with the number of environments, and slow tool calls hold up whole rollout batches.

02

BunshinFork. A live fork of an entire container workspace. It rebuilds process trees, shares memory copy-on-write, and preserves file, communication and GUI state.

03

Three techniques. Memory sharing across environments, caching of shared tool-call prefixes, and speculative tool execution with rollback when the speculation is wrong.

04

Implementation. A Linux kernel module plus modifications to CRIU.

05

Results. Up to 43% lower peak memory, up to 51% lower total memory, and 23% lower end-to-end rollout latency.

Abstract

Agentic reinforcement learning (RL) rollouts interleave model reasoning with tool calls in persistent workspaces. Scaling these rollouts incurs substantial memory costs for concurrent environments, while slow tool calls delay entire rollout batches. We present BunshinRL, an agentic RL rollout system that exploits shared environment state and recurring tool calls through three techniques: memory sharing across environments, tool-prefix caching, and speculative tool execution. These techniques build on BunshinFork, a novel live whole-workspace forking mechanism for containers. BunshinFork reconstructs process trees, shares memory copy-on-write, and preserves file, communication, and GUI state, enabling cached-state reuse and rollback after incorrect speculation. We implement BunshinRL and BunshinFork through Linux kernel module and CRIU modifications. BunshinRL reduces peak memory by up to 43%, total memory consumption by up to 51%, and end-to-end rollout latency by 23%.

Every Monday
Get next week’s papers.
Subscribe on Substack