Skip to content

Factories > Configure

Warp Factories infrastructure and security

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

Choose where your factory runs code, which models serve its requests, and what each of its agents is allowed to reach.

Warp Factories separates orchestration from execution: Warp coordinates the work, and the work itself runs on compute you choose. That split is what lets your team decide where a factory’s code is checked out and built, which models answer its requests, where its data is stored, and what each agent can access.

Two systems take part in every run:

  • Warp’s control plane - Receives triggers, coordinates runs, resolves configuration and identity, records observability data, and routes model requests.
  • The execution host - Checks out repositories, runs setup commands, invokes tools, builds the project, and runs commands. This is either a Warp-hosted sandbox or a self-hosted worker on your own infrastructure.
flowchart LR
T["Triggers and integrations"] --> C["Warp control plane"]
C -->|"task, config,<br/>scoped credentials"| H["Warp-hosted sandbox"]
C -->|"task, config,<br/>scoped credentials"| S["Self-hosted worker"]
H -->|"results, transcripts,<br/>artifacts, telemetry"| C
S -->|"results, transcripts,<br/>artifacts, telemetry"| C
C --> P["Warp-managed or<br/>team-supplied inference"]
C --> D["Warp or your own<br/>cloud storage"]

Each choice on this page moves one boundary between them, and you make those choices independently. None of them takes Warp out of orchestration: run coordination, configuration, and observability always route through the control plane.


A factory executes either on Warp-hosted compute or on a self-hosted worker your team operates.

AspectWarp-hostedSelf-hosted
Compute provisioningWarp provisions the sandboxYour team provisions the worker
Checkout and commandsRun on Warp-managed computeRun on your infrastructure
Run orchestrationWarpWarp
Network accessWarp manages sandbox connectivityOutbound connection to Warp; no inbound ports
Private servicesMust be reachable from the hosted sandboxReachable through the worker’s network
Operational burdenWarp manages capacity and lifecycleYour team manages capacity, isolation, updates, and availability

Self-hosted execution is an Enterprise feature, and workers run on Linux (amd64 or arm64). To route a factory to one, set workerHost in the factory definition, pair it with a compatible runner, and work through the self-hosting requirements first.

Third-party CLI agents can’t be a factory’s execution host, but they can still exchange work with a factory through Factory MCP.


Two pieces of reusable configuration describe every run, and a factory references both from its definition as code:

  • Environments - What the agent works on: repositories, setup commands, secrets, the toolchain image, and provider configuration.
  • Runners - What it runs on: operating system, architecture, sandbox image, vCPUs, and memory.

A run can name a runner explicitly. Otherwise, Warp falls back to the environment’s default runner and then to the system default. Runners appear in the control room, and when a factory’s source lives in your own repository, its runner files stay the source of truth.

Hosted instance sizes are capped by your team’s plan. Self-hosted runners aren’t, since your team supplies the machines.


Factory agents are cloud agents, so they inherit the platform’s inference options:

When your team supplies the provider, model usage and retention follow your own account and contract. Warp has no retention setting for it. Gemini Enterprise through Vertex AI supports interactive sessions only, so it isn’t available to factory agents.

Eligible teams can also persist transcripts, artifacts, and run attachments to their own Amazon S3 or Google Cloud Storage bucket, where your access and lifecycle policies apply. The rest of a factory’s state stays with Warp.


A factory issues four kinds of credentials, each with its own boundary:

  • Inference credentials - Authenticate model requests. They stay at the inference boundary and are never injected into the sandbox.
  • Execution secrets - Give an agent access to APIs, package registries, and tools. Each agent gets an explicit allowlist, and factory agents that don’t act on behalf of a user start with no managed secrets.
  • Harness authentication - Authenticates third-party harnesses such as Claude Code and Codex, separately from an agent’s secret allowlist.
  • Repository identity - Authorizes checkout and any changes pushed to your code forge. Use a user’s authorization when you want creator attribution, or a team executor identity for unattended work.

Scope each credential to the resources and actions its agent actually needs. Warp redacts known secret values at output boundaries, but treat that as a backstop rather than a substitute for narrow permissions and regular rotation.


Owners and Admins control factory definitions, environments, runners, secrets, and provider configuration through your existing team roles. Warp Factories doesn’t add a factory-specific approval role: spec review and merge approval stay in your workflow and repository policy. Treat a factory definition as operational code and keep merge access with the people responsible for shipping it.

Warp meters hosted compute, Warp-provided inference, and platform services. Self-hosted compute is yours to supply, and your own model providers bill usage to your account, but platform services still consume platform credits.


Work through this before pointing a factory at production repositories.

  1. Classify the workload - List the repositories, data, internal services, and regulated systems the factory can reach.
  2. Pick an execution host - Decide whether checkout, commands, and the sandbox filesystem have to run on your infrastructure.
  3. Define the environment and runner - Set repositories, setup commands, secrets, OS, architecture, image, and compute size.
  4. Choose inference and storage - Select model routing and where transcripts, artifacts, and attachments are persisted.
  5. Scope credentials - Set each agent’s secret allowlist, harness authentication, and repository identity.
  6. Set the human gates - Decide which spec and pull request reviews require a person, then enforce them in repository policy.
  7. Validate before scaling - Test network egress, isolation, rotation, redaction, capacity, observability, and metering on low-risk work first.

  • Deployment patterns - How Warp-hosted, self-hosted, and CLI-only execution compare.
  • Self-hosting - Architectures, requirements, and setup for running agents on your own infrastructure.
  • Environments - Define the repositories, image, and setup commands a factory works with.
  • Runners - Configure the OS, architecture, and compute shape a run executes on.
  • Cloud agent secrets - Store and scope the credentials agents use at runtime.
  • Security overview - Warp’s data handling, ZDR, and compliance posture.