Sandman: Building and Operating Sandboxes for Agentic Reinforcement Learning on Shared Kubernetes
On the map: LLM agents and tool use → Reinforcement learning for LLM agents also fits: General LLM agent frameworks and benchmarks
Abstract (arXiv)
Agentic reinforcement learning (RL) needs stateful environments for tool execution and evaluation. Training jobs request thousands of environments in bursts that can overwhelm shared cluster services, while cancelled or timed-out requests can leave resources running. We present Sandman, a sandbox service built and operated at Amazon for large-scale agentic RL workloads in production on shared Kubernetes. A small daemon mounted into unmodified task images preserves files and processes across calls. Sandman paces creation requests, checks sandbox readiness, and retains cleanup responsibility after callers time out or cancel. Production deployments created 3.1 million sandboxes for 122 coding-agent training runs in two weeks. Peak production concurrency was 11,858 sandboxes. In one 10,000-request multi-client burst, Sandman made half the sandboxes usable in 116 seconds and all in 308 seconds. Full delivery took 44% less time than a tuned configuration of agent-sandbox, an open-source sandbox manager for Kubernetes. Sandman left no sandboxes at client exit. On software-engineering task images, median no-op command latency was 2.0 ms, compared with 14.3 ms for agent-sandbox and 203.5 ms for OpenSandbox. We also measure provisioning costs and sandbox delays within training runs, and report design trade-offs and operational lessons from production use and comparisons with three open-source systems. We will open-source Sandman's daemon, provider and pool.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Reinforcement learning for LLM agents, one of 16 directions in LLM agents and tool use. Builds on 18 of its 41 references that are in the map. Submitted 29 Oct 2026.
Builds on
18 of 41 references.
Closest ancestors · 3
Same direction, newest first
- 2026TideRL: Boosting Agentic RL Goodput with Readiness-Aware Scheduling11 Aug
- 2025SkyRL-Agent: Efficient RL Training for Multi-turn LLM Agent20 Nov
- 2025Part II: ROLL Flash -- Accelerating RLVR and Agentic Training with Asynchrony13 Oct
Other references · 15
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 10,542
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 3,138
- 2017Ray: A Distributed Framework for Emerging AI Applicationscited by 549
- 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 414
- 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 371
- 2025AReaL: A Large-Scale Asynchronous Reinforcement Learning System for Language Reasoningcited by 283
- 2025SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agentscited by 183
- 2024SWE-Bench+: Enhanced Coding Benchmark for LLMscited by 119
- 2025The OpenHands Software Agent SDK: A Composable and Extensible Foundation for Production Agentscited by 55
- 2026DeltaBox: Scaling Stateful AI Agents with Millisecond-Level Sandbox Checkpoint/Rollbackcited by 17
- 2026LEGO-RL: Harness-Native Reinforcement Learning for Coding Agentscited by 9
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026CUA-Sandbox: Efficient Environments for Computer-Use Agent Reinforcement Learning
- 2026Branching Policy Optimization: Sandbox-Native Language Agent Reinforcement Learning
- 2026Synthetic Sandbox for Training Machine Learning Engineering Agents
- 2026EnterpriseBench Corecraft: Training Generalizable Agents on High-Fidelity RL Environments
- 2026BunshinRL: Splitting Live Agent Workspaces for Memory-Efficient Agentic RL
- 2026TABX: A High-Throughput Sandbox Battle Simulator for Multi-Agent Reinforcement Learning
- 2026SpecBox: Speculative Sandbox Scheduling for Efficient LLM Agent Serving
- 2026ARL-Tangram: Unleash the Resource Efficiency in Agentic Reinforcement Learning