Sandman: Building and Operating Sandboxes for Agentic Reinforcement Learning on Shared Kubernetes

Yiming Yan, Hongyang Wang, Wenbo Chen, Xuan Wang, Jingguo Liu +10 more
10/29/2026
cs.DCcs.AIcs.LG
rl

No confident code implementation found for this paper.

Abstract

Agentic reinforcement learning (RL) often requires repeated tool calls in task-specific environments. A training job may create thousands of these environments in bursts while sharing a cluster with other jobs.

Show full abstract

We present Sandman, a sandbox service built and operated at Amazon for agent tool execution and evaluation. It serves multiple production agentic RL workloads on shared Kubernetes. A training framework supplies a task image and uses commands and file operations in the returned sandbox. Files and processes persist across calls until the framework releases the environment. Sandman manages creation, readiness and cleanup. Each sandbox is a Kubernetes pod with a small daemon mounted into the unmodified image. In a scale test, Sandman held 11,858 concurrent tiny sandboxes. Four production SWE-bench Verified training campaigns created 3.1 million sandboxes in October 2026. We report the design trade-offs and operational lessons from handling creation bursts, preparing task environments, reclaiming abandoned sandboxes, and running evaluation under controlled conditions. We will open-source Sandman's daemon, provider and pool.

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{yan2026sandman,
  title  = {Sandman: Building and Operating Sandboxes for Agentic Reinforcement Learning on Shared Kubernetes},
  author = {Yiming Yan and Hongyang Wang and Wenbo Chen and Xuan Wang and Jingguo Liu and Xian Li and Chen Qi and Leo Fan and Siwei Li and Qianli Wu and Yichuan Li and Ruochen Wen and Qian Qu and Zheshen Wang and Benoit Dumoulin},
  year   = {2026},
  eprint = {2610.39711},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.39711v1}
}

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/2610.39711.svg)](https://codeofpaper.com/paper/2610.39711)

Discussion