Meta FAIR open-sources AgentBox to run AI agents on Slurm clusters without root

Meta FAIR has open-sourced AgentBox on GitHub (facebookresearch/agentbox), a Python orchestrator designed to run AI agents inside isolated Apptainer containers. According to a breakdown by explainx.ai, the tool runs on both local Linux machines and shared Slurm clusters without requiring root privileges.

How AgentBox works in practice

University and high-performance computing (HPC) clusters routinely block Docker daemons for non-admin users. Apptainer (formerly Singularity) executes unprivileged on shared nodes, isolating untrusted agent code and keeping holdout evaluation datasets separated.

  • Unified API: The package exposes AgentBoxManager and Container, letting researchers prototype locally with create_local and scale to multi-node Slurm allocations via create_slurm without rewriting agent logic;
  • Coordination and images: Worker bookkeeping relies on Monarch, while Apptainer pulls standard OCI image references;
  • License and requirements: Released under Apache 2.0, it requires Python 3.12+ and Apptainer on the host, supporting Linux and macOS (via Lima), while Windows is not supported.

Current limitations

The repository's README warns that AgentBox remains under construction and its APIs may change without notice. Meta has not published a dedicated threat model for outbound cluster networking yet, leaving egress and credential scoping up to cluster operators.

By Spark