hud deploy to a running task. To start from an example instead of an
empty environment, open Environments, select New Environment,
then See all templates; each one shows the commands to start from it. To create tasks without
deploying anything, use a featured environment.
A first deployment needs a team API key and two commands:
Environment, build, and template
An environment is the stable platform record. Each deployment creates a build, an immutable version of its source and runnable image. A successful build exposes the environment’s@env.template() definitions as task templates.
This separation lets you inspect old builds while new work is building. Runs started during an
active build can continue using the previous successful build until the new one is ready.
Follow a deployment
The environment page shows an active build on the overview and keeps the full history under Builds.
Open a build to read its logs and source. A failed build does not replace the latest successful
one.
Configure runtime variables
An environment can declare variables that its tasks need, such as credentials for an external service. Open Settings to add them. Values are masked after saving and injected when HUD starts an instance for that environment. People with access to the environment see the names and masked values; on a public environment, everyone else sees only the names its templates require. The overview lists required variables that are missing. A task cannot run until the variables required by its template are configured.Compute resources and timeouts belong to the task’s
RuntimeConfig, not the environment settings page. This
keeps placement requirements attached to the work that needs them.Choose hosted compute
HUD supports EC2 and Modal for hosted environment runs. Select EC2 withhud deploy --runtime hud or Modal with hud deploy --runtime modal. A Compose deployment uses
Modal automatically.
The selection is saved on the environment and applies to future builds and rollouts unless a task
provides its own runtime override. With Modal, HUD builds a provider-native image and starts each
rollout in a fresh, isolated Modal sandbox. HUD still schedules the work and records its logs,
traces, and result; Modal supplies the compute instead of HUD’s managed AWS runtime. This hosted
option does not require your own Modal account.
This setting is different from the SDK’s ModalRuntime, which
runs an evaluation directly through your own Modal account.
EC2 profiles
EC2 environments run on one of five fixed profiles. An environment without an explicit tier uses the Default profile.
Large and Extra Large profiles must be enabled for your team. Current hourly rates appear under
Settings → Billing.
Modal profiles
Modal environments do not use EC2 tiers. Set CPU, memory, and GPU inRuntimeConfig.resources;
any combination can run. HUD bills each hour for every CPU core, every GiB of memory, and every
GPU of the selected type. A sandbox gets exactly the CPU and memory it requests: CPU use above the
request is throttled, and memory use above it ends the run out of memory. Without explicit values
a sandbox gets 2 CPU cores and 8 GiB, or 8 cores and 32 GiB when it requests a GPU; Compose projects
get at least 4 cores and 8 GiB.
A GPU request must name its type; choose one from Modal GPU types.
A sandbox can have up to 8 GPUs, or 4 of A10. HUD rejects a GPU without a type, a type it does
not support, alternative types (a type list naming more than one), or too many GPUs when you
submit the run.
The claude_cli and codex_cli agents cannot run with a GPU. HUD rejects a run that pairs one of
them with a GPU profile when you launch it.
Create tasks from a template
Open Templates after the build succeeds. Each card shows a template’s arguments. Fill them in, select Create Task, and pick the taskset to add it to, or create a new one. Run the task from its taskset; tasksets are the input to every evaluation. The same templates appear in a taskset’s Create task dialog. See create tasks.Read the environment page
Public viewers see the overview and templates. Editors see the operational tabs.