Configure
Provider Params
Every provider accepts the common Environment schema 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.
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.
Provider Behavior
Supports registry images, localsetup.dockerfile builds, working directories, startup commands, and dynamic outbound policies. Normal cleanup removes the task container; --keep-environment retains it.
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.
Compose Image Reuse and Cleanup
Services withbuild and no explicit image receive an image name in this form, normalized to lowercase characters accepted by Docker:
setup.dockerfile are named ac-<benchmark>-<task>:<build-fingerprint> and use the Dockerfile’s directory as the context; fingerprinting, reuse, file locking, and delete_images cleanup follow the rules below.
The fingerprint covers build settings after Compose merging and variable interpolation (including build.args and build.network), the platform, Dockerfile, context contents, permissions, symlinks, and empty directories. Modification times are excluded. Like Harbor, hashing conservatively scans the entire context without applying .dockerignore; changing an ignored file can produce a new tag. Execution and fresh verifier images use their respective build inputs. Containers, networks, and volumes remain isolated by project.
An image with a matching fingerprint on the same Docker daemon skips the build. File locks prevent duplicate builds during concurrent starts. Explicit image names are preserved, and images are retained by default. Remote contexts, additional contexts, secrets, and SSH builds still run through Compose/BuildKit on each start. Cache hits do not recheck mutable base images or remote packages. To refresh a build, set build.pull: true through compose_override; also set build.no_cache: true to bypass build-layer caching.
Set the Docker parameter delete_images: true to remove automatically named image tags used by the session when it closes, including reused cache images:
false. Cleanup releases containers first and retains images still used by other running or stopped containers. It does not remove explicitly named images, pulled base images, or the global BuildKit cache, and never forces removal or runs prune. --keep-environment retains both containers and images. Failed cleanup can be retried with agentcompass env close.
Compose Network Policies
Withsetup.compose_file, Docker Compose supports public, no-network, allowlist, denylist, and phase changes, including fresh evaluation environments. Configure the shared network policy fields; no separate Compose switch is required.
no-network closes external egress for the service group while preserving communication and name resolution between services. Restricted phases use project-owned internal bridge networks. Returning to public restores egress for services that originally had external access. Services connected only to internal networks, or using network_mode: none, remain isolated.
allowlist and denylist use the existing egress proxy. Services receive proxy environment variables, with service names and network aliases added to NO_PROXY. Applications must support HTTP/HTTPS CONNECT proxies; arbitrary direct TCP/UDP connections are blocked. Policy changes close existing proxy tunnels, and failed changes release the entire environment. Image pulls and builds run through the trusted Docker daemon, outside service egress policies.
Controlled services with external access must share at least one project-owned bridge network. Host/container network modes, external networks, custom fixed network names or driver options, privileged containers, NET_ADMIN/SYS_ADMIN, host devices, and Docker socket mounts are rejected. Validation runs after merging compose_override, so overrides cannot bypass these restrictions.
Restricted phases also reject network_mode: service:…, non-bridge drivers, cap_add: [ALL], host PID/IPC namespaces, control-plane path mounts, and the reserved agentcompass_public/agentcompass_proxy network names. ctr-optimization and nextjs-performance share service network namespaces and cannot run in restricted native Docker phases.