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

DevFeed: [BunshinRL: Splitting Live Agent Workspaces for Memory-Efficient Agentic RL](<https://devfeed.tech/articles/bunshinrl-splitting-live-agent-workspaces-for-memory-efficient-agentic-rl-125948.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.10453>)

Author: Yutong Huang, Vikranth Srivatsa, Alex Asch, Yiying Zhang

Published: 2026-11-10T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Reinforcement learning](<https://devfeed.tech/topics/reinforcement-learning.md>), [Agentic AI](<https://devfeed.tech/topics/what-is-agentic-ai.md>), [virtualization](<https://devfeed.tech/topics/virtualization.md>), [memory handling](<https://devfeed.tech/topics/memory-handling.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [caching](<https://devfeed.tech/tags/caching.md>), [containers](<https://devfeed.tech/tags/containers.md>), [copy-on-write](<https://devfeed.tech/tags/copy-on-write.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-os](<https://devfeed.tech/tags/cs-os.md>), [environments](<https://devfeed.tech/tags/environments.md>), [latency](<https://devfeed.tech/tags/latency.md>), [learning](<https://devfeed.tech/tags/learning.md>), [linux](<https://devfeed.tech/tags/linux.md>), [linux-kernel-module](<https://devfeed.tech/tags/linux-kernel-module.md>), [memory](<https://devfeed.tech/tags/memory.md>), [prefix-caching](<https://devfeed.tech/tags/prefix-caching.md>), [process](<https://devfeed.tech/tags/process.md>), [reinforcement-learning](<https://devfeed.tech/tags/reinforcement-learning.md>), [rl](<https://devfeed.tech/tags/rl.md>), [rl-rollouts](<https://devfeed.tech/tags/rl-rollouts.md>), [rollback](<https://devfeed.tech/tags/rollback.md>), [sharing](<https://devfeed.tech/tags/sharing.md>), [state](<https://devfeed.tech/tags/state.md>), [tool](<https://devfeed.tech/tags/tool.md>), [workspaces](<https://devfeed.tech/tags/workspaces.md>)

## AI overview

BunshinRL addresses memory use and delays in concurrent agentic RL rollouts by sharing environment memory, caching recurring tool-call prefixes, and speculatively executing tools. Its BunshinFork mechanism makes live copies of whole container workspaces: it reconstructs process trees, shares memory copy-on-write, preserves file, communication, and GUI state, and supports reuse of cached state and rollback after incorrect speculation. The system uses Linux kernel module and CRIU modifications. The abstract reports reductions of up to 43% in peak memory and 51% in total memory, and 23% in end-to-end rollout latency.

## Source excerpt

arXiv:2611.10453v1 Announce Type: new 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%.