From 00d09caea37575fe29ea2c6ef98c5fae50911fd0 Mon Sep 17 00:00:00 2001 From: Rachael Rose Renk <91027132+rachaelrenk@users.noreply.github.com> Date: Tue, 1 Dec 2026 16:03:21 -0700 Subject: [PATCH 1/2] docs: consolidate factory infrastructure while retaining standalone security Co-Authored-By: Warp --- .agents/skills/draft_conceptual/SKILL.md | 2 +- AGENTS.md | 2 +- scripts/validate-sidebar.mjs | 34 ++++++- .../architecture-and-deployment.mdx | 2 +- .../errors/resource-unavailable.mdx | 2 +- .../docs/factories/deployment-patterns.mdx | 58 ------------ src/content/docs/factories/environments.mdx | 2 +- .../factories/infrastructure-and-security.mdx | 50 +++------- src/content/docs/factories/infrastructure.mdx | 92 +++++++++++++++++++ .../docs/factories/self-hosting/index.mdx | 2 +- src/content/docs/platform/architecture.mdx | 2 +- src/content/docs/platform/index.mdx | 4 +- .../docs/platform/orchestration/index.mdx | 2 +- src/sidebar.ts | 4 +- vercel.json | 31 ++++++- 15 files changed, 178 insertions(+), 111 deletions(-) delete mode 100644 src/content/docs/factories/deployment-patterns.mdx create mode 100644 src/content/docs/factories/infrastructure.mdx diff --git a/.agents/skills/draft_conceptual/SKILL.md b/.agents/skills/draft_conceptual/SKILL.md index 5039f4260..80648d0ee 100644 --- a/.agents/skills/draft_conceptual/SKILL.md +++ b/.agents/skills/draft_conceptual/SKILL.md @@ -45,5 +45,5 @@ All headings (H1–H4) must use **sentence case**: capitalize only the first wor ## Existing examples Read 2-3 of these strong examples to match the existing pattern: -- `src/content/docs/factories/deployment-patterns.mdx` +- `src/content/docs/factories/infrastructure.mdx` - `src/content/docs/platform/index.mdx` diff --git a/AGENTS.md b/AGENTS.md index 71fa98302..bb925e574 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -605,7 +605,7 @@ When readers can combine procedures from this page and related pages, read and c - Do NOT include step-by-step procedures — link to a procedural or quickstart page instead - Show real-world scenarios, not just abstract descriptions -**Existing examples**: `factories/deployment-patterns.mdx`, `platform/index.mdx` +**Existing examples**: `factories/infrastructure.mdx`, `platform/index.mdx` **Template**: `.agents/templates/conceptual.md` diff --git a/scripts/validate-sidebar.mjs b/scripts/validate-sidebar.mjs index 6d64302ca..83c47dbe4 100644 --- a/scripts/validate-sidebar.mjs +++ b/scripts/validate-sidebar.mjs @@ -105,4 +105,36 @@ for (const [source, destination] of [ assert.equal(matches[0].destination, destination); assert.equal(matches[0].statusCode, 308); } -console.log(`Sidebar OK: ${entries.length} tabs, ${groups} groups, ${hiddenTerminal.length} retained Terminal URLs, Platform ownership, redirects, and discovery.`); +const security = documentAt('factories/infrastructure-and-security'); +assert.equal(security.querySelector('h1').textContent.trim(), 'Factory security'); +assert.ok(security.querySelector('.sidebar-pane a[href="/factories/infrastructure-and-security/"]')); +for (const id of ['control-plane-and-execution-plane', 'network-controls', 'runners', + 'choose-an-execution-host', 'managed-self-hosting-structures', 'choose-inference-independently', + 'inference-options-for-factory-runs', 'zero-data-retention-zdr-for-factory-inference', + 'provider-retention', 'choose-inference-covered-by-provider-zdr', 'understand-collection-and-storage', + 'configure-your-factory', 'networking-for-byo-inference-endpoints', 'credential-boundaries', + 'factory-roles-and-permissions', 'metering', 'deployment-checklist', 'related-pages']) { + assert.ok(security.getElementById(id), `lost original security fragment: ${id}`); +} +const infrastructure = documentAt('factories/infrastructure'); +for (const id of ['choose-an-execution-model', 'warp-hosted-execution', 'what-it-looks-like', + 'send-work-to-a-factory', 'managed-self-hosting', 'related-pages']) { + assert.ok(infrastructure.getElementById(id), `lost deployment fragment: ${id}`); +} +assert.ok(infrastructure.querySelector('main img[src*="cloud-agents-infra"]'), 'lost hosted diagram'); +assert.ok(security.querySelector('main a[href="/factories/infrastructure/"]')); +assert.ok(infrastructure.querySelector('main a[href="/factories/infrastructure-and-security/"]')); +for (const prefix of ['/factories', '/platform', '/agent-platform/platform', '/agent-platform/cloud-agents']) { + for (const [suffix, destination] of [ + ['(/?)', '/factories/infrastructure/'], ['.md', '/factories/infrastructure.md'], + ]) { + const source = `${prefix}/deployment-patterns${suffix}`; + const matches = redirects.filter((rule) => rule.source === source); + assert.equal(matches.length, 1, `missing or duplicate deployment redirect: ${source}`); + assert.equal(matches[0].destination, destination); + assert.equal(matches[0].statusCode, 308); + } +} +assert.ok(!redirects.some((rule) => rule.destination.replace(/\/$/, '') === '/factories/deployment-patterns'), + 'legacy deployment redirect chain'); +console.log(`Sidebar OK: ${entries.length} tabs, ${groups} groups, ${hiddenTerminal.length} retained Terminal URLs, Platform ownership, security fragments, and deployment redirects.`); diff --git a/src/content/docs/enterprise/enterprise-features/architecture-and-deployment.mdx b/src/content/docs/enterprise/enterprise-features/architecture-and-deployment.mdx index c276ae1e1..44eb7e50b 100644 --- a/src/content/docs/enterprise/enterprise-features/architecture-and-deployment.mdx +++ b/src/content/docs/enterprise/enterprise-features/architecture-and-deployment.mdx @@ -159,7 +159,7 @@ Hybrid is right if: ## Related pages * [Architecture reference](/platform/architecture/) - Diagrams of the stack, the run lifecycle, self-hosted execution, and data boundaries -* [Deployment patterns for Warp Factories](/factories/deployment-patterns/) - Compare Warp-hosted and managed self-hosted execution +* [Factory infrastructure](/factories/infrastructure/) - Compare Warp-hosted and managed self-hosted execution * [Private networking](/enterprise/enterprise-features/private-networking/) - Connect private LLM gateways and MCP servers to Warp-hosted services * [Security overview](/enterprise/security-and-compliance/security-overview/) - Data handling, encryption, and compliance details * [Bring Your Own LLM](/enterprise/enterprise-features/bring-your-own-llm/) - Route inference through your own cloud infrastructure diff --git a/src/content/docs/factories/api-and-sdk/troubleshooting/errors/resource-unavailable.mdx b/src/content/docs/factories/api-and-sdk/troubleshooting/errors/resource-unavailable.mdx index f65d217de..0e677f16c 100644 --- a/src/content/docs/factories/api-and-sdk/troubleshooting/errors/resource-unavailable.mdx +++ b/src/content/docs/factories/api-and-sdk/troubleshooting/errors/resource-unavailable.mdx @@ -75,4 +75,4 @@ If the error persists after retries: ## Related pages * [Cloud agents overview](/platform/) - How cloud agent execution works -* [Deployment patterns for Warp Factories](/factories/deployment-patterns/) - Execution models and infrastructure +* [Factory infrastructure](/factories/infrastructure/) - Compare execution models diff --git a/src/content/docs/factories/deployment-patterns.mdx b/src/content/docs/factories/deployment-patterns.mdx deleted file mode 100644 index 27817cf46..000000000 --- a/src/content/docs/factories/deployment-patterns.mdx +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: Deployment patterns for Warp Factories -description: >- - Choose Warp-hosted or managed self-hosted execution for Warp Factories based - on your network, compliance, and operational requirements. -sidebar: - label: "Deployment patterns" ---- -import { VARS } from '@data/vars'; - -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. - -## 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) | - -Both factory options use the same [factory definition](/factories/factory-as-code/), [runners](/factories/runners/), and [factory dashboard](/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 [{VARS.WARP_AUTOMATION_PLATFORM}](/platform/overview/) 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](../../../assets/agent-platform/cloud-agents-infra.png) -
Warp operates the control plane and per-run sandboxes.
-
- -See the [cloud agent run lifecycle](/platform/architecture/#cloud-agent-run-lifecycle) reference for a description of each component in the architecture. - -### What it looks like - -* **Work intake** - Automations, integrations, Factory MCP, and factory endpoints send work to the factory. -* **Execution** - Agents run in Docker-based environments hosted by the {VARS.WARP_AUTOMATION_PLATFORM}. -* **Visibility** - Teams monitor work through the factory dashboard, session sharing, and APIs. - -### Send work to a factory - -* Route integration events, schedules, and webhooks to factory agents with [factory automations](/factories/automations/). -* Send work from Slack, Linear, Jira, GitHub, and GitLab through [factory integrations](/factories/connect-your-factory/). -* Find a factory and dispatch work by UID from your service using [factory endpoints](/factories/factory-api/). -* Coding agents can hand work to a factory through [Factory MCP](/factories/factory-mcp/). - -For standalone cloud-agent triggers, see [cloud agents](/platform/). - -## Managed self-hosting - -Use this when a factory must run checkout and execution on your infrastructure while the {VARS.WARP_AUTOMATION_PLATFORM} coordinates the work and records its results. Managed workers support Docker, Kubernetes, Direct, and external command backends. See [managed self-hosting](/factories/self-hosting/) for requirements and setup. - -See [execution security](/factories/self-hosting/security-and-networking/) for self-hosted data and network boundaries. - -## Related pages - -* [Infrastructure and security](/factories/infrastructure-and-security/) - Choose execution, inference, storage, and credential boundaries for a factory. -* [Warp-hosted execution](/factories/warp-hosting/) - Review hosted execution capacity, networking, and supported environments. -* [Managed self-hosting](/factories/self-hosting/) - Install and operate a factory worker on your infrastructure. diff --git a/src/content/docs/factories/environments.mdx b/src/content/docs/factories/environments.mdx index 2e39932e6..e21002957 100644 --- a/src/content/docs/factories/environments.mdx +++ b/src/content/docs/factories/environments.mdx @@ -57,4 +57,4 @@ Linux container runs use a non-root user by default. See [configuring container * [Troubleshooting cloud agent environments](/factories/environments/troubleshooting-environments/) - Fix setup, authorization, permissions, and image failures * [Runners](/factories/runners/) - Configure the compute that hosts environments * [Scheduled agents](/platform/triggers/scheduled-agents/) - Run cloud agents on a recurring cadence in a shared environment -* [Deployment patterns](/factories/deployment-patterns/) - Choose between Warp-hosted and self-hosted execution +* [Factory infrastructure](/factories/infrastructure/) - Choose between Warp-hosted and self-hosted execution diff --git a/src/content/docs/factories/infrastructure-and-security.mdx b/src/content/docs/factories/infrastructure-and-security.mdx index d966b99d5..bf8546bbb 100644 --- a/src/content/docs/factories/infrastructure-and-security.mdx +++ b/src/content/docs/factories/infrastructure-and-security.mdx @@ -1,13 +1,13 @@ --- -title: Factory infrastructure and security +title: Factory security description: >- - Warp Factories separates execution, inference, and storage so you can choose - deployment boundaries while Warp coordinates each run. + Review execution, data, network, inference, and credential boundaries for + Warp Factories before configuring your factory. sidebar: - label: "Infrastructure and security" + label: "Factory security" --- -Warp Factories lets you choose where code runs, which providers serve inference, where run data is stored, and which credentials each agent receives. Warp coordinates the work. +Warp Factories lets you choose where code runs, which providers serve inference, where run data is stored, and which credentials each agent receives. Review these boundaries separately: self-hosting execution doesn't automatically move inference or saved run data. For hosting comparisons and runner selection, see [Factory infrastructure](/factories/infrastructure/). ## Control plane and execution plane @@ -22,7 +22,7 @@ The diagram shows managed self-hosting with customer-configured inference and ru You can manage [factory and agent configuration as code](/factories/factory-as-code/) in a repository you control. -With managed self-hosting, repository checkouts, commands, and sandbox files stay on machines you control. Prompts, results, transcripts, attachments, artifacts, and telemetry still flow through Warp and can contain code context. The Warp Agent sends model requests through Warp to the configured inference provider. Claude Code and Codex call their providers directly from the execution environment. See [deployment patterns](/factories/deployment-patterns/), [execution security](/factories/self-hosting/security-and-networking/), and [data security and boundaries](/platform/architecture/#data-security-and-boundaries) for details. +With managed self-hosting, repository checkouts, commands, and sandbox files stay on machines you control. Prompts, results, transcripts, attachments, artifacts, and telemetry still flow through Warp and can contain code context. The Warp Agent sends model requests through Warp to the configured inference provider. Claude Code and Codex call their providers directly from the execution environment. See [Factory infrastructure](/factories/infrastructure/), [execution security](/factories/self-hosting/security-and-networking/), and [data security and boundaries](/platform/architecture/#data-security-and-boundaries) for details. Self-hosting compute doesn't change storage automatically. Configure transcripts, artifacts, and prompt attachments independently through [self-hosted agent data storage](/factories/self-hosting/data-storage/); unmapped categories remain in Warp-managed storage. Warp still retains control-plane data, including configuration, lifecycle metadata, operational logs, and usage and billing records. @@ -34,41 +34,17 @@ Restrict outbound access with [`networkPolicy` in the factory definition](/facto For failed network requests, [fetch and interpret blocked-host diagnostics](/factories/troubleshooting/#network-requests-fail-during-a-run). -## Runners +For self-hosted outbound destinations and ports, see [network requirements](/factories/self-hosting/security-and-networking/#network-requirements). -A runner compute configuration selects the operating system, architecture, sandbox image, and vCPU and memory shape. The factory's [definition](/factories/factory-as-code/) supplies repositories, setup commands, and secrets. The factory definition sets the default runner with `agentDefaults.runner`. Individual agents and automations can override that default. +## Runners -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](/factories/runners/#runner-settings-by-execution-host) for a settings comparison. +Runner configuration and execution hosting are separate choices. See [Runners in Factory infrastructure](/factories/infrastructure/#runners) for the compute settings and their relationship to the execution host. ## Choose an execution host -A factory runs its work on one of two execution hosts: Warp-hosted compute, or a self-hosted runner in the [managed self-hosting architecture](/factories/self-hosting/#managed-architecture). - -| 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 | - -Managed self-hosting requires an Enterprise plan. 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](/factories/runners/#runner-settings-by-execution-host). - -See the [managed prerequisites](/factories/self-hosting/#managed-prerequisites) for credentials, [network requirements](/factories/self-hosting/security-and-networking/#network-requirements) for outbound destinations and ports, and the [Self-hosting quickstart](/factories/self-hosting/quickstart/) to connect a self-hosted runner. The factory definition selects the connected self-hosted runner with [`workerHost`](/factories/factory-as-code/#agentdefaultsworkerhost). For a complete configuration with compatible compute settings, see [`self-hosted-worker`](https://github.com/warpdotdev/warp-factory-examples/tree/484a8b431d79407a4623b57503be1dd983080cf5/examples/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](/factories/factory-mcp/). - -### Managed self-hosting structures - -The self-hosted runner's backend sets isolation and scheduling on your infrastructure: - -| Backend | How factory runs execute | -| --- | --- | -| [Docker](/factories/self-hosting/managed-docker/) (default) | In a separate Docker container on the self-hosted runner's host | -| [Kubernetes](/factories/self-hosting/managed-kubernetes/) | As a Kubernetes Job in the self-hosted runner's namespace | -| [Direct](/factories/self-hosting/managed-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](/factories/self-hosting/#choosing-a-managed-backend). +Compare [Warp-hosted and managed self-hosted execution](/factories/infrastructure/#choose-an-execution-model), including responsibilities and backend isolation, before choosing an execution host. The data and credential boundaries on this page still apply; self-hosting compute alone does not move inference or stored run data. ## Choose inference independently @@ -132,7 +108,7 @@ Factory roles don't control specification or pull request review. For factory de ## Metering -Warp meters hosted compute, Warp-provided inference, and [platform usage](/support-and-community/plans-and-billing/platform-credits/). 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. +For how hosting and inference choices affect charges, see [Metering in Factory infrastructure](/factories/infrastructure/#metering) and the [platform usage reference](/support-and-community/plans-and-billing/platform-credits/). ## Deployment checklist @@ -145,7 +121,7 @@ Warp meters hosted compute, Warp-provided inference, and [platform usage](/suppo ## Related pages * [Zero data retention (ZDR) for factory inference](/factories/zero-data-retention/) - Review coverage, collection, and saved run data -* [Deployment patterns for Warp Factories](/factories/deployment-patterns/) - Compare execution models +* [Factory infrastructure](/factories/infrastructure/) - Compare execution models and choose runners * [Runners for Warp Factories](/factories/runners/) - Configure compute and self-hosted runner compatibility * [Self-hosting overview](/factories/self-hosting/) - Review managed backends and setup requirements * [Security and networking](/factories/self-hosting/security-and-networking/) - Review data boundaries, outbound network access, and backend controls diff --git a/src/content/docs/factories/infrastructure.mdx b/src/content/docs/factories/infrastructure.mdx new file mode 100644 index 000000000..08dfc1a53 --- /dev/null +++ b/src/content/docs/factories/infrastructure.mdx @@ -0,0 +1,92 @@ +--- +title: Factory infrastructure +description: >- + Compare Warp-hosted and managed self-hosted execution for Warp Factories, + choose runner settings, and find the setup for your deployment. +sidebar: + label: Infrastructure overview +--- +import { VARS } from '@data/vars'; + +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](/factories/factory-as-code/), [runners](/factories/runners/), and [factory dashboard](/factories/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](/factories/infrastructure-and-security/). + +## 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 + +The [{VARS.WARP_AUTOMATION_PLATFORM}](/platform/overview/) 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](../../../assets/agent-platform/cloud-agents-infra.png) +
Warp operates the control plane and per-run sandboxes.
+
+ +See the [cloud agent run lifecycle](/platform/architecture/#cloud-agent-run-lifecycle) for a description of the architecture and [Warp-hosted execution](/factories/warp-hosting/) for capacity, concurrency, networking, and supported environments. + +### 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 {VARS.WARP_AUTOMATION_PLATFORM} +* **Visibility** - Teams monitor work through the factory dashboard, session sharing, and APIs + +### Send work to a factory + +* Route integration events, schedules, and webhooks to workers with [factory automations](/factories/automations/). +* Send work from Slack, Linear, Jira, GitHub, and GitLab through [factory integrations](/factories/connect-your-factory/). +* Find a factory and dispatch work by UID from your service using [Factory endpoints](/factories/factory-api/). +* Coding agents can hand work to a factory through [Factory MCP](/factories/factory-mcp/). + +For standalone cloud-agent triggers, see [cloud agents](/platform/). + +## Managed self-hosting + +Managed self-hosting runs factory checkout and execution on your infrastructure while the {VARS.WARP_AUTOMATION_PLATFORM} coordinates the work and records its results. It requires an Enterprise plan; see [managed prerequisites](/factories/self-hosting/#managed-prerequisites) before setup. + +### Managed self-hosting structures + +The self-hosted runner's backend sets isolation and scheduling on your infrastructure: + +| Backend | How factory runs execute | +| --- | --- | +| [Docker](/factories/self-hosting/managed-docker/) (default) | In a separate Docker container on the self-hosted runner's host | +| [Kubernetes](/factories/self-hosting/managed-kubernetes/) | As a Kubernetes Job in the self-hosted runner's namespace | +| [Direct](/factories/self-hosting/managed-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](/factories/self-hosting/#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](/factories/runners/#runner-settings-by-execution-host). + +See the [network requirements](/factories/self-hosting/security-and-networking/#network-requirements) for outbound destinations and ports, and the [Self-hosting quickstart](/factories/self-hosting/quickstart/) to connect a self-hosted runner. The factory definition selects the connected self-hosted runner with [`workerHost`](/factories/factory-as-code/#agentdefaultsworkerhost). For a complete configuration with compatible compute settings, see [`self-hosted-worker`](https://github.com/warpdotdev/warp-factory-examples/tree/484a8b431d79407a4623b57503be1dd983080cf5/examples/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](/factories/factory-mcp/). + +## Runners + +A runner compute configuration selects the operating system, architecture, sandbox image, and vCPU and memory shape. The factory's [definition](/factories/factory-as-code/) supplies repositories, setup commands, and secrets. The factory definition sets the default runner with `agentDefaults.runner`. Individual agents 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](/factories/runners/#runner-settings-by-execution-host) for a settings comparison. + +## Metering + +Warp meters hosted compute, Warp-provided inference, and [platform usage](/support-and-community/plans-and-billing/platform-credits/). 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 + +* [Factory security](/factories/infrastructure-and-security/) - Review execution, inference, storage, and credential boundaries +* [Warp-hosted execution](/factories/warp-hosting/) - Review hosted capacity and networking +* [Self-hosting overview](/factories/self-hosting/) - Choose and configure a managed backend +* [Runners for Warp Factories](/factories/runners/) - Configure compute settings and overrides diff --git a/src/content/docs/factories/self-hosting/index.mdx b/src/content/docs/factories/self-hosting/index.mdx index 79e45dab0..8350d5b6c 100644 --- a/src/content/docs/factories/self-hosting/index.mdx +++ b/src/content/docs/factories/self-hosting/index.mdx @@ -140,5 +140,5 @@ View runs in the {VARS.DASHBOARD}. Workers can al * [Self-hosting quickstart](/factories/self-hosting/quickstart/) - Start a managed Docker worker and route a test run * [External orchestrators](/factories/self-hosting/external-orchestrators/) - Choose and deploy the Command backend or one-shot Direct * [Self-hosted worker reference](/factories/self-hosting/reference/) - Look up worker flags and backend configuration fields -* [Deployment patterns for Warp Factories](/factories/deployment-patterns/) - Compare Warp-hosted and managed self-hosted execution +* [Factory infrastructure](/factories/infrastructure/) - Compare Warp-hosted and managed self-hosted execution * [Troubleshooting](/factories/self-hosting/troubleshooting/) - Diagnose worker startup, routing, and task failures diff --git a/src/content/docs/platform/architecture.mdx b/src/content/docs/platform/architecture.mdx index e87e9f949..8198feac6 100644 --- a/src/content/docs/platform/architecture.mdx +++ b/src/content/docs/platform/architecture.mdx @@ -112,7 +112,7 @@ Moving compute doesn't automatically move run-data storage. For factory configur ## Related pages -* [Deployment patterns](/factories/deployment-patterns/) - Choose Warp-hosted or managed self-hosted execution for a factory +* [Factory infrastructure](/factories/infrastructure/) - Choose Warp-hosted or managed self-hosted execution for a factory * [Managed self-hosting](/factories/self-hosting/) - Configure a self-hosted runner for factory execution * [Security and networking](/factories/self-hosting/security-and-networking/) - The data model and outbound network requirements for self-hosted runners * [Security overview](/enterprise/security-and-compliance/security-overview/) - Warp's data handling, encryption, and compliance posture diff --git a/src/content/docs/platform/index.mdx b/src/content/docs/platform/index.mdx index 3fe9b86db..878351413 100644 --- a/src/content/docs/platform/index.mdx +++ b/src/content/docs/platform/index.mdx @@ -48,7 +48,7 @@ A trigger supplies the request and its context, such as an issue description or The [{VARS.WARP_AUTOMATION_PLATFORM} overview](/platform/overview/) explains the shared execution model in more detail. -For factory execution options, see [Deployment patterns for Warp Factories](/factories/deployment-patterns/). +For factory execution options, see [Factory infrastructure](/factories/infrastructure/). To keep execution on your infrastructure, use a [managed worker](/factories/self-hosting/) when the {VARS.WARP_AUTOMATION_PLATFORM} routes the run. For standalone agents started directly with `oz agent run` in CI, Kubernetes, or a dev environment, see [Unmanaged execution](/platform/unmanaged-execution/). @@ -105,7 +105,7 @@ Check [access, billing, and identity requirements](/platform/team-access-billing * [Agent harnesses](/factories/harnesses/) - Choose a coding-agent runtime * [Environments for factory agents](/factories/environments/) - Configure repositories and dependencies * [Connecting MCP servers to agents](/factories/mcp/) - Give agents access to external tools -* [Deployment patterns for Warp Factories](/factories/deployment-patterns/) - Compare Warp-hosted and managed self-hosted factory execution +* [Factory infrastructure](/factories/infrastructure/) - Compare Warp-hosted and managed self-hosted factory execution ### Runs, interfaces, and access diff --git a/src/content/docs/platform/orchestration/index.mdx b/src/content/docs/platform/orchestration/index.mdx index d68b149b7..d8ae46452 100644 --- a/src/content/docs/platform/orchestration/index.mdx +++ b/src/content/docs/platform/orchestration/index.mdx @@ -140,4 +140,4 @@ Because every parent and child is tracked as its own conversation or run, the ex * [Warp Factories](/factories/) - standing multi-stage workflows where a foreman dispatches named agents with separate configuration. * [{VARS.WARP_PLATFORM_API}](/factories/api-and-sdk/) - REST endpoints for runs, conversations, and artifacts. * [Cloud agents overview](/platform/) - what a cloud agent run is and how it fits into the {VARS.WARP_AUTOMATION_PLATFORM}. -* [Deployment patterns](/factories/deployment-patterns/) - higher-level deployment models that orchestration composes with. +* [Factory infrastructure](/factories/infrastructure/) - Compare execution hosts for factory work diff --git a/src/sidebar.ts b/src/sidebar.ts index 00159c6c0..13ccd6b01 100644 --- a/src/sidebar.ts +++ b/src/sidebar.ts @@ -458,9 +458,9 @@ export const sidebarTopics: StarlightSidebarTopicsUserConfig = [ label: 'Infrastructure', collapsed: true, items: [ - { slug: 'factories/infrastructure-and-security', label: 'Infrastructure and security' }, + { slug: 'factories/infrastructure', label: 'Overview' }, + { slug: 'factories/infrastructure-and-security', label: 'Factory security' }, { slug: 'factories/self-hosting/security-and-networking', label: 'Security and networking' }, - { slug: 'factories/deployment-patterns', label: 'Deployment patterns' }, { slug: 'factories/warp-hosting', label: 'Warp-hosted execution' }, { slug: 'factories/zero-data-retention', label: 'Zero data retention (ZDR)' }, { slug: 'factories/runners', label: 'Runners' }, diff --git a/vercel.json b/vercel.json index 0483db2d6..610bffe11 100644 --- a/vercel.json +++ b/vercel.json @@ -63,6 +63,31 @@ ], "trailingSlash": true, "redirects": [ + { + "source": "/factories/deployment-patterns(/?)", + "destination": "/factories/infrastructure/", + "statusCode": 308 + }, + { + "source": "/factories/deployment-patterns.md", + "destination": "/factories/infrastructure.md", + "statusCode": 308 + }, + { + "source": "/agent-platform/platform/deployment-patterns.md", + "destination": "/factories/infrastructure.md", + "statusCode": 308 + }, + { + "source": "/agent-platform/cloud-agents/deployment-patterns.md", + "destination": "/factories/infrastructure.md", + "statusCode": 308 + }, + { + "source": "/platform/deployment-patterns.md", + "destination": "/factories/infrastructure.md", + "statusCode": 308 + }, { "source": "/platform/triggers(/?)", "destination": "/platform/integrations/", @@ -1860,7 +1885,7 @@ }, { "source": "/agent-platform/platform/deployment-patterns(/?)", - "destination": "/factories/deployment-patterns/", + "destination": "/factories/infrastructure/", "statusCode": 308 }, { @@ -7005,7 +7030,7 @@ }, { "source": "/agent-platform/cloud-agents/deployment-patterns(/?)", - "destination": "/factories/deployment-patterns/", + "destination": "/factories/infrastructure/", "statusCode": 308 }, { @@ -7110,7 +7135,7 @@ }, { "source": "/platform/deployment-patterns(/?)", - "destination": "/factories/deployment-patterns/", + "destination": "/factories/infrastructure/", "statusCode": 308 }, { From 80b51c2a1b508f3d9d389b83c5ae7cde49b0a581 Mon Sep 17 00:00:00 2001 From: Rachael Rose Renk <91027132+rachaelrenk@users.noreply.github.com> Date: Tue, 1 Dec 2026 16:08:19 -0700 Subject: [PATCH 2/2] docs: preserve current worker-default spelling after main sync Co-Authored-By: Warp --- src/content/docs/factories/infrastructure.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/factories/infrastructure.mdx b/src/content/docs/factories/infrastructure.mdx index 08dfc1a53..76afe61e7 100644 --- a/src/content/docs/factories/infrastructure.mdx +++ b/src/content/docs/factories/infrastructure.mdx @@ -76,7 +76,7 @@ Unmanaged self-hosted agents and other CLI agents can't serve as a factory's exe ## Runners -A runner compute configuration selects the operating system, architecture, sandbox image, and vCPU and memory shape. The factory's [definition](/factories/factory-as-code/) supplies repositories, setup commands, and secrets. The factory definition sets the default runner with `agentDefaults.runner`. Individual agents and automations can override that default. +A runner compute configuration selects the operating system, architecture, sandbox image, and vCPU and memory shape. The factory's [definition](/factories/factory-as-code/) supplies repositories, setup commands, and secrets. The factory definition sets the default runner with [`workerDefaults.runner`](/factories/factory-as-code/#agentdefaultsrunner), 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](/factories/runners/#runner-settings-by-execution-host) for a settings comparison.