Skip to content

Factories > Infrastructure

Factory infrastructure

Compare Warp-hosted and managed self-hosted execution for Warp Factories, choose runner settings, and find the setup for your deployment.

Open in ChatGPT ↗
Ask ChatGPT about this page
Open in Claude ↗
Ask Claude about this page
Copied!

Choose an execution model for your factory based on where its code must run and who operates the compute. Warp-hosted execution is the default. Managed self-hosting keeps checkout and command execution in your network while Warp coordinates the work.

Both options use the same factory definition, runners, and factory dashboard. The execution host changes the location of checkout, command execution, and the sandbox filesystem. Review inference, storage, and credential boundaries separately in Factory security.

Decision areaWarp-hostedManaged self-hosted
ComputeWarp provisions the sandboxYour team provisions the self-hosted runner
Checkout and commandsOn Warp-managed computeOn your infrastructure
NetworkWarp manages sandbox connectivityThe self-hosted runner connects outbound to Warp; no inbound firewall port
Private servicesMust be reachable from the hosted sandboxReachable through the self-hosted runner’s network access
OperationsWarp manages capacity and lifecycleYour team manages capacity, isolation, updates, and availability

Use Warp-hosted execution when your repositories and services are reachable from its sandboxes and you don’t want to operate workers. Use managed self-hosting when checkout and execution must run on your infrastructure or reach private services through your network.

The Automation Platform runs the work on Warp-managed infrastructure while your factory definition selects the workers, runner, workspace, and credentials.

Warp-hosted execution architecture showing customer infrastructure, triggers and integrations, isolated tenant sandboxes, the Warp control plane, and LLM providers

Warp operates the control plane and per-run sandboxes.

See the cloud agent run lifecycle for a description of the architecture and Warp-hosted execution for capacity, concurrency, networking, and supported environments.

  • Work intake - Automations, integrations, Factory MCP, and factory endpoints send work to the factory
  • Execution - Agents run in hosted environments on the Automation Platform
  • Visibility - Teams monitor work through the factory dashboard, session sharing, and APIs

For standalone cloud-agent triggers, see cloud agents.

Managed self-hosting runs factory checkout and execution on your infrastructure while the Automation Platform coordinates the work and records its results. It requires an Enterprise plan; see managed prerequisites before setup.

The self-hosted runner’s backend sets isolation and scheduling on your infrastructure:

BackendHow factory runs execute
Docker (default)In a separate Docker container on the self-hosted runner’s host
KubernetesAs a Kubernetes Job in the self-hosted runner’s namespace
DirectIn a separate workspace on the self-hosted runner’s host, sharing its OS and kernel

For backend selection guidance, including Command and one-shot Direct options, see Choosing a managed backend.

Task platforms depend on the backend: Docker uses a linux/amd64 or linux/arm64 daemon, Kubernetes uses Linux task nodes, and Direct uses the OS and architecture of the self-hosted runner’s host. A native self-hosted runner on macOS or Windows can connect to a Linux Docker daemon; the task still runs on Linux. See Runner settings by execution host.

See the network requirements for outbound destinations and ports, and the Self-hosting quickstart to connect a self-hosted runner. The factory definition selects the connected self-hosted runner with workerHost. For a complete configuration with compatible compute settings, see self-hosted-worker.

Unmanaged self-hosted agents and other CLI agents can’t serve as a factory’s execution host, but they can exchange work with a factory through Factory MCP.

A runner compute configuration selects the operating system, architecture, sandbox image, and vCPU and memory shape. The factory’s definition supplies repositories, setup commands, and secrets. The factory definition sets the default runner with workerDefaults.runner, or its legacy agentDefaults.runner spelling. Individual workers and automations can override that default.

The execution host determines how runner compute settings apply. These settings don’t provision capacity for self-hosted execution. See Runner settings by execution host for a settings comparison.

Warp meters hosted compute, Warp-provided inference, and platform usage. Self-hosting removes Warp-hosted compute charges, and customer-supplied inference is billed directly by your provider. Platform charges still apply in both cases, and Warp’s totals don’t fully reflect external inference costs.