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.
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.
Choose an execution model
Section titled “Choose an execution model”| Decision area | Warp-hosted | Managed self-hosted |
|---|---|---|
| Compute | Warp provisions the sandbox | Your team provisions the self-hosted runner |
| Checkout and commands | On Warp-managed compute | On your infrastructure |
| Network | Warp manages sandbox connectivity | The self-hosted runner connects outbound to Warp; no inbound firewall port |
| Private services | Must be reachable from the hosted sandbox | Reachable through the self-hosted runner’s network access |
| Operations | Warp manages capacity and lifecycle | Your 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.
Warp-hosted execution
Section titled “Warp-hosted execution”The Automation Platform runs the work on Warp-managed infrastructure while your factory definition selects the workers, runner, workspace, and credentials.
See the cloud agent run lifecycle for a description of the architecture and Warp-hosted execution for capacity, concurrency, networking, and supported environments.
What it looks like
Section titled “What it looks like”- 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
Send work to a factory
Section titled “Send work to a factory”- Route integration events, schedules, and webhooks to workers with factory automations.
- Send work from Slack, Linear, Jira, GitHub, and GitLab through factory integrations.
- Find a factory and dispatch work by UID from your service using Factory endpoints.
- Coding agents can hand work to a factory through Factory MCP.
For standalone cloud-agent triggers, see cloud agents.
Managed self-hosting
Section titled “Managed self-hosting”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.
Managed self-hosting structures
Section titled “Managed self-hosting structures”The self-hosted runner’s backend sets isolation and scheduling on your infrastructure:
| Backend | How factory runs execute |
|---|---|
| Docker (default) | In a separate Docker container on the self-hosted runner’s host |
| Kubernetes | As a Kubernetes Job in the self-hosted runner’s namespace |
| Direct | In 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.
Runners
Section titled “Runners”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.
Metering
Section titled “Metering”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.
Related pages
Section titled “Related pages”- Factory security - Review execution, inference, storage, and credential boundaries
- Warp-hosted execution - Review hosted capacity and networking
- Self-hosting overview - Choose and configure a managed backend
- Runners for Warp Factories - Configure compute settings and overrides