Self-host on Daytona sandboxes
Daytona Cloud gives each Session a managed Linux VM with a stable name, ownership labels, stop/start, snapshots, and activity-renewed leases. The driver follows Daytona’s own conflict-recovery lifecycle, so resuming a Session re-attaches to the same VM rather than starting a new one.
Prerequisites
Section titled “Prerequisites”DAYTONA_API_KEY= # requiredDAYTONA_API_URL= # optional endpoint overrideSANDBOX_IMAGE= # optional image referenceConfiguration
Section titled “Configuration”On the standalone Node server, select the adapter directly:
SANDBOX_PROVIDER=daytonaDAYTONA_API_KEY=...To embed the driver in the Runtime Host composition, use
createDaytonaProvider, createDaytonaManagedRuntime, or
createDaytonaManagedRuntimeDriver from
@open-managed-agents/managed-runtime-daytona:
const driver = createDaytonaManagedRuntimeDriver({ leaseTtlMs: 90_000, apiKey: process.env.DAYTONA_API_KEY, apiUrl: process.env.DAYTONA_API_URL, // optional image: "node:22-slim", // or snapshot: "<snapshot name>" autoStopInterval: 0, autoArchiveInterval: 0,});The full option set: apiKey, apiUrl, target, snapshot, image,
autoStopInterval, autoPauseInterval, autoArchiveInterval,
autoDeleteInterval, networkBlockAll, networkAllowList,
domainAllowList, outboundProxyUrl, outputStore, outputKeyPrefix,
credentialEgress, sessionInputs, runtimeEnvironment, readiness,
client, and the required leaseTtlMs.
Capabilities
Section titled “Capabilities”| Harness lanes | ama_worker, openma_supervised |
| suspendResume | supported (provider stop/start + snapshots) |
| Workspace | retained_runtime + checkpoint_restore, durable |
| Outputs | final_collect, durable |
| Process checkpoints | none |
| Credential egress | unsupported/snapshot by default |