> ## Documentation Index
> Fetch the complete documentation index at: https://agent-compass.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Daytona

Configure Daytona credentials in the host environment. The adapter reads `DAYTONA_API_KEY`; deployments can also use its existing `DAYTONA_API_URL`, `DAYTONA_TARGET`, `DAYTONA_JWT_TOKEN`, and `DAYTONA_ORGANIZATION_ID` environment settings.

## Configure

```bash theme={"system"}
export DAYTONA_API_KEY="<your-api-key>"
```

```bash theme={"system"}
agentcompass run <benchmark> <harness> "$MODEL_NAME" \
  --env daytona \
  --env-params '{"setup":{"image":"python:3.13-slim"}}'
```

## Provider Params

Every provider accepts the [common Environment schema](https://agent-compass.mintlify.site/en/user_guide/modules/environments/configuration/overview.md) plus its own declared provider options. Use the command below to list all accepted keys. Pass provider options alongside shared fields in `--env-params` or the flat YAML provider section. Image, resources, outbound policy, and environment variables retain their unified entry points; native aliases and unknown keys are rejected.

```bash theme={"system"}
agentcompass config docs env daytona
```

Use `resources`, `run_resources`, and `evaluation_resources`. Provider capabilities still differ: unsupported requirements fail explicitly, while storage limits follow the documented provider support policy. See [Resource Limits](https://agent-compass.mintlify.site/en/user_guide/modules/environments/configuration/resource_limits.md).

## Provider Behavior

The adapter maps `setup.image` to registry-image creation. Without an image, `setup.dockerfile` builds a snapshot through the SDK's `Image.from_dockerfile` before creating the sandbox, uploading only context files referenced by `COPY`/`ADD`. It supports public, no-network, and allowlist policies with phase transitions.

Use `setup.workdir` for the default command directory and `setup.build_timeout_seconds` for environment creation. The Benchmark selects the task workspace independently through its prepared input; neither setting replaces that workspace or an individual command timeout.

## Native KVM

Set `kvm=true` to create a Linux VM sandbox with nested virtualization. Your Daytona organization must enable KVM; see the [official requirements](https://www.daytona.io/docs/en/linux-sandboxes/#nested-virtualization).

With `setup.image`, the adapter imports the registry image as a [Linux VM snapshot](https://www.daytona.io/docs/en/snapshots/#vm-snapshots) and reuses it for later sandboxes. Optional `entrypoint` sets the imported snapshot's startup command. The cache includes the image reference, resources, entrypoint, and region; use an immutable image digest for reproducibility. Cached snapshots remain after sandbox cleanup. Alternatively, `snapshot` selects an existing snapshot and takes precedence over `setup.image`; that snapshot owns its startup configuration.

The `androidworld` Recipe supplies KVM, image, startup, and resource defaults automatically:

```bash theme={"system"}
agentcompass run androidworld none "$MODEL_NAME" --env daytona
```

No nested Docker daemon is needed. Other benchmarks leave KVM disabled unless requested.

## Compose Overrides

With `setup.compose_file`, use `compose_override` to adjust service resources, build arguments, or other Compose fields. Wildcard and named overrides apply to both execution and fresh evaluation. The framework merges and interpolates the definition in Python before estimating outer resources. No Docker or Compose installation is required on the driver; the remote DinD host still needs Compose to validate and start services. See [External overrides](https://agent-compass.mintlify.site/en/user_guide/modules/environments/configuration/overview.md#external-overrides).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.