> For the complete documentation index, see [llms.txt](https://docs.warp.dev/llms.txt).
> Markdown versions of each page are available by appending .md to any URL.

# Deployment patterns for Warp Factories

Choose Warp-hosted or managed self-hosted execution for Warp Factories based on your network, compliance, and operational requirements.

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.

![Deployment models diagram comparing Warp-hosted, managed self-hosted, and unmanaged self-hosted patterns by what runs on Warp versus customer infrastructure](https://docs.warp.dev/_astro/deployment-models.BlU2yhYs_rHNNb.webp?dpl=dpl_3mnPjrTCceepSbrgXvtYNandn1yR)

## Choose an execution model

| If your factory needs to… | Choose |
| --- | --- |
| Run public repositories and services without operating workers | [Warp-hosted execution](#warp-hosted-execution) |
| Reach private repositories or services behind your network boundary | [Managed self-hosting](#managed-self-hosting) |
| Run standalone agents from CI or developer infrastructure, without a factory | [Unmanaged execution](https://docs.warp.dev/platform/unmanaged-execution/) |

Both factory options use the same [factory definition](https://docs.warp.dev/factories/factory-as-code/), [runners](https://docs.warp.dev/factories/runners/), and [factory dashboard](https://docs.warp.dev/factories/factory-dashboard/). The execution host changes the location of checkout, command execution, and the sandbox filesystem.

## Warp-hosted execution

Use this when your factory can reach its repositories and services over the public internet. The Automation Platform runs the work on Warp-managed infrastructure while your factory definition selects the agents, runner, workspace, and credentials.

![Warp-hosted execution architecture showing customer infrastructure, triggers and integrations, isolated tenant sandboxes, the Warp control plane, and LLM providers](https://docs.warp.dev/_astro/cloud-agents-infra.Cd04z31r_A0wsX.webp?dpl=dpl_3mnPjrTCceepSbrgXvtYNandn1yR)

See the [cloud agent run lifecycle](https://docs.warp.dev/platform/architecture/#cloud-agent-run-lifecycle) reference for a description of each component in the architecture.

### What it looks like

-   **Work intake**: Factory automations, configured integrations, Factory MCP, or factory endpoints
-   **Execution**: Automation Platform-hosted environments (Docker-based)
-   **Visibility**: Factory dashboard, session sharing, and APIs

### Why teams choose it

-   You want the simplest path to reproducible, scalable cloud execution.
-   You want to run many tasks in parallel without building your own sandboxing and scaling layer.
-   You want a consistent “production” setup with standardized environments and centralized configuration.

### Send work to a factory

-   [Factory automations](https://docs.warp.dev/factories/automations/) route integration events, schedules, and webhooks to agents in the factory.
-   [Factory integrations](https://docs.warp.dev/factories/connect-your-factory/) let teammates send work from Slack, Linear, Jira, GitHub, and GitLab.
-   [Factory endpoints](https://docs.warp.dev/factories/factory-api/) let your service find a factory and dispatch work by UID.
-   [Factory MCP](https://docs.warp.dev/factories/factory-mcp/) lets a coding agent hand work to a factory.

For standalone cloud-agent triggers, see [cloud agents](https://docs.warp.dev/platform/).

## Managed self-hosting

Use this when a factory must run checkout and execution on your infrastructure while the Automation Platform coordinates the work and records its results. Repositories are cloned and stored only on your infrastructure. Orchestration metadata and session transcripts route through Warp’s backend; cloud conversations require Warp to store conversation data according to Warp’s retention terms. LLM inference requests and responses route through Warp to contracted model providers under [ZDR](https://docs.warp.dev/enterprise/security-and-compliance/security-overview/#zero-data-retention-zdr), except for provider-specific models that are not covered by ZDR and follow the provider’s retention requirements.

Think of managed self-hosting as **customer-hosted execution with Warp-hosted orchestration**, not as a fully offline agent stack. Code repositories, build artifacts, runtime secrets, and execution workspaces stay on your infrastructure. Code context can still appear in session transcripts and LLM prompts as the agent works.

Note

**Enterprise feature**: Self-hosted execution is available exclusively to teams on an Enterprise plan.

Self-hosting has two architectures that differ on **who orchestrates agent runs** (both keep code and execution on your infrastructure):

-   **[Managed](https://docs.warp.dev/factories/self-hosting/#managed-architecture)** — The Automation Platform orchestrates. You run the `oz-agent-worker` daemon; the Automation Platform routes runs to it from Slack, Linear, schedules, the API, or `oz agent run-cloud`. Tasks execute in Docker containers, Kubernetes Jobs, or directly on the host.
-   **[Unmanaged](https://docs.warp.dev/platform/unmanaged-execution/)** — You orchestrate. Invoke `oz agent run` directly from your CI, Kubernetes, or dev environment for standalone-agent work. To route factory work to a worker instead, use the managed architecture above.

Why teams choose self-hosted execution:

-   Code and execution must stay within your network boundary for compliance or security requirements.
-   Agents need to access services behind a VPN or self-hosted SCMs like GitLab or Bitbucket. Warp-hosted agents can also access GitLab and Bitbucket over the public internet — see the [GitLab](https://docs.warp.dev/platform/integrations/gitlab/) and [Bitbucket](https://docs.warp.dev/platform/integrations/bitbucket/) setup guides.
-   Your environments (multi-service stacks, heavy resource requirements) don’t fit in a single Docker container.

For factory worker setup and a quickstart, start with [Managed self-hosting](https://docs.warp.dev/factories/self-hosting/). For security and network boundaries that apply to both managed and unmanaged execution, see [Execution security](https://docs.warp.dev/platform/execution-security/).

## Related pages

-   [Infrastructure and security](https://docs.warp.dev/factories/infrastructure-and-security/) - Choose execution, inference, storage, and credential boundaries for a factory.
-   [Warp-hosted execution](https://docs.warp.dev/factories/warp-hosting/) - Review hosted execution capacity, networking, and supported environments.
-   [Managed self-hosting](https://docs.warp.dev/factories/self-hosting/) - Install and operate a factory worker on your infrastructure.
-   [Unmanaged execution](https://docs.warp.dev/platform/unmanaged-execution/) - Run standalone agents outside a factory.
