AgentBox
AgentBox is a distributed container orchestrator for AI agents. It is built for researchers studying multi-agent systems on high-performance computing (HPC) clusters without requiring root access. It was originally built at Meta FAIR to study research agents and has since been refactored and improved. AgentBox uses Apptainer to isolate agents from each other and from accessing privileged test sets. AgentBox leans on Monarch to coordinate agent containers.
Supported platforms: Linux (local and Slurm). macOS works for local workers; containers on macOS run through a Lima-backed Apptainer. Windows is not supported.
Quick start
Requires Python 3.12+. Containers additionally need apptainer on the worker.
pip install -e .
from agentbox import AgentBoxManager, Container
with AgentBoxManager.create_local(num_workers=1) as manager:
with manager.acquire_machine() as machine:
print(machine.run("uname -a").stdout) # on the worker host
with Container(machine, image="docker://python:3.12-slim") as box:
result = box.run(["python3", "-c", "print('hello from a container')"])
print(result.stdout)
To run on Slurm instead, replace the manager:
from agentbox import AgentBoxManager, SlurmAllocation
manager = AgentBoxManager.create_slurm(
allocation=SlurmAllocation(partition="cpu", cpus_per_task=8),
num_workers=16,
)
manager.wait_for_workers(min_available=16)
Documentation
Contributing
See CONTRIBUTING.md and our Code of Conduct.
License
AgentBox is Apache 2.0 licensed, as found in the LICENSE file.
Metadata
Release files for fair-agentbox 0.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fair_agentbox-0.0.0.tar.gz | 207.8 kB | With provenance | Details for fair_agentbox-0.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fair_agentbox-0.0.0-py3-none-any.whl | Python 3 | none | any | Details for fair_agentbox-0.0.0-py3-none-any.whl |
Total release size: 352.9 kB
Release files / fair_agentbox-0.0.0.tar.gz
| Download URL | fair_agentbox-0.0.0.tar.gz |
|---|---|
| Size | 207.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39c749a351276297538fd9d89e4eeb8cee7cd75a1375c09a29ef13299391e1ea
|
|
BLAKE2b-256 checksum How to use checksums |
38269768ff69df47eb5138411f6cd725c616d17ecfdf87173b8da91df4754433
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logRelease files / fair_agentbox-0.0.0-py3-none-any.whl
| Download URL | fair_agentbox-0.0.0-py3-none-any.whl |
|---|---|
| Size | 145.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
692a77ac9b9c3d749431716e0eee19d33befa557eea1a2e479ef179d59748fee
|
|
BLAKE2b-256 checksum How to use checksums |
0fdc6932054247f22c2d0c85ddd430c3905a5c6406744f53623590d89d0aac8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logSecurity for fair-agentbox 0.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for fair_agentbox-0.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.