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

DevFeed: [Sandman: Building and Operating Sandboxes for Agentic Reinforcement Learning on Shared Kubernetes](<https://devfeed.tech/articles/sandman-building-and-operating-sandboxes-for-agentic-reinforcement-learning-on-shared-kubernetes-107587.md>)

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

Author: Yiming Yan, Hongyang Wang, Wenbo Chen, Xuan Wang, Jingguo Liu, Xian Li, Chen Qi, Leo Fan, Siwei Li, Qianli Wu, Yichuan Li, Ruochen Wen, Qian Qu, Zheshen Wang, Benoit Dumoulin

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Reinforcement learning](<https://devfeed.tech/topics/reinforcement-learning.md>), [Cloud Native Ecosystem](<https://devfeed.tech/topics/cloud-native-ecosystem.md>), [openenv](<https://devfeed.tech/topics/openenv.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [amazon](<https://devfeed.tech/tags/amazon.md>), [cleanup](<https://devfeed.tech/tags/cleanup.md>), [cluster](<https://devfeed.tech/tags/cluster.md>), [commands](<https://devfeed.tech/tags/commands.md>), [concurrent](<https://devfeed.tech/tags/concurrent.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [environments](<https://devfeed.tech/tags/environments.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [files](<https://devfeed.tech/tags/files.md>), [framework](<https://devfeed.tech/tags/framework.md>), [image](<https://devfeed.tech/tags/image.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [pod](<https://devfeed.tech/tags/pod.md>), [pool](<https://devfeed.tech/tags/pool.md>), [processes](<https://devfeed.tech/tags/processes.md>), [production](<https://devfeed.tech/tags/production.md>), [reinforcement-learning](<https://devfeed.tech/tags/reinforcement-learning.md>), [sandboxes](<https://devfeed.tech/tags/sandboxes.md>)

## AI overview

Sandman provides persistent, task-specific sandboxes for agentic RL tool use and evaluation on shared Kubernetes. A training framework supplies a task image, then uses commands and file operations in a sandbox whose files and processes persist until release. Each sandbox is a Kubernetes pod with a small daemon mounted into the otherwise unmodified image; Sandman handles creation, readiness and cleanup. The abstract reports a scale test of 11,858 concurrent tiny sandboxes and four production SWE-bench Verified training campaigns that created 3.1 million sandboxes in October 2026. It says the work reports operational trade-offs for creation bursts, environment preparation, abandoned-sandbox reclamation and controlled evaluation, but the excerpt does not detail those lessons. The authors say they will open-source the daemon, provider and pool.

## Source excerpt

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