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

Yutong Huang, Vikranth Srivatsa, Alex Asch, Yiying Zhang
11/7/2026
cs.AIcs.OS
rl

No confident code implementation found for this paper.

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.

Show full abstract

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%.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{huang2026bunshinrl,
  title  = {BunshinRL: Splitting Live Agent Workspaces for Memory-Efficient Agentic RL},
  author = {Yutong Huang and Vikranth Srivatsa and Alex Asch and Yiying Zhang},
  year   = {2026},
  eprint = {2611.10453},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.10453v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.10453.svg)](https://codeofpaper.com/paper/2611.10453)

Discussion