Today we’re making VM Sandboxes generally available on Modal, built for those who need to give their agents the power of a full computer.
import modal
app = modal.App.lookup("sandbox-manager", create_if_missing=True) sb = modal.Sandbox.create(app=app, runtime="vm") print(sb.exec("uname", "-srn").stdout.read()) # Linux modal 7.2.6