mlsanityData to 24 Nov 2026

Metal Sandbox: Isolated Execution and Command Scheduling for GPU Coding Agents on Apple Silicon

arXiv 2611.17294 ↗Submitted 12 Nov 2026cs.LG cs.AI cs.CLcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

On-device inference requires kernels that make effective use of local accelerators. Efficient training and evaluation of models that generate Apple Metal kernels benefit from native macOS tools and concurrent agent sessions. These sessions alternate between model requests, development commands, and GPU execution, leaving GPU capacity idle for much of a rollout. We present Metal Sandbox, infrastructure that combines restricted per-instance file access, native command execution, and command-level scheduling across interconnected Macs. Each agent retains its workspace and private development environment. Parallel commands can run concurrently, while serial commands share one execution slot per node; eligible waiting commands can migrate to available Macs and return results to the original agent. Integration with Harbor supports task execution, automatic verification, and rollout collection through a common workflow. Controlled experiments on four Mac mini M4 nodes achieve 1.68×--2.05× gains in command throughput under concentrated demand. Sixteen static agent traces give an estimated 2.14× sustained-throughput gain for four sessions per node versus one, assuming continuously replenished sessions and unchanged mean durations. Replaying these measured traces under dynamic scheduling reduces mean tool waiting by 18.8% and batch elapsed time by 22.3%, assuming unchanged phase durations. Metal Sandbox and its Harbor integration are open-source on GitHub.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 6 of its 20 references that are in the map. Submitted 12 Nov 2026.

Builds on

6 of 20 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May

Other references · 5

  1. 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 279
  2. 2025SkyRL-Agent: Efficient RL Training for Multi-turn LLM Agentcited by 58
  3. 2026Dr. Kernel: Reinforcement Learning Done Right for Triton Kernel Generationscited by 32
  4. 2026KernelArc: A Multi-Agent Framework for GPU Kernel Optimizationcited by 5
  5. 2026Metal-Sci: A Scientific Compute Benchmark for Evolutionary LLM Kernel Search on Apple Siliconcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Agentic Kernel Optimization: Generating State-of-the-Art GPU Kernels Without Hand-Written CUDA
  2. 2026SAGA: Workflow-Atomic Scheduling for AI Agent Inference on GPU Clusters
  3. 2026Ready Cohorts: Bounding GPU Opportunity and Avoiding Host Round Trips in LLM-Agent Control
  4. 2026KernelCraft: Benchmarking for Agentic Close-to-Metal Kernel Generation on Emerging Hardware
  5. 2026ParaCodex: A Profiling-Guided Autonomous Coding Agent for Reliable Parallel Code Generation and Translation
  6. 2026AgentKernelArena: Generalization-Aware Benchmarking of GPU Kernel Optimization Agents
  7. 2026Ave: Guiding Agentic GPU Optimization Using Data-Flow Invariants
  8. 2026FastKernels: Benchmarking GPU Kernel Generation in Production