Warp Factories provide open, flexible infrastructure for building your own software factory. This repository contains workflows defined as code that you can adapt for your projects, from a single review automation to an issue-to-PR workflow.
Choose an example, customize its definition, and test it on work from your repository. Use the results to identify what to change in your configuration. For guidance on evaluating results and comparing configurations, see Measure and improve.
Each directory under examples/ contains all the files needed to define a
factory. To get started, copy the entire example directory into your
repository and follow the setup instructions below.
These examples use Warp Factories configuration schema version v1alpha1.
examples/warp-default-blueprint: Explore Warp's shipped default blueprint (foreman, task worker, and researcher) with its inline stage prompts, skills, automations, scorers, and standard Linux runner. Copy this example to edit and version the default configuration.examples/single-repo-quickstart: Start with this example to set up a factory for a single repository. A foreman routes labeled GitHub issues to an implementation agent, which opens a pull request with the changes.examples/sdlc-issue-to-pr: Blueprint usingworkers/that takes requests from Slack, Linear, and GitHub through triage, specification, implementation, and review to produce pull requests for human review. This example extends the default roles with a custom worker and shows how to configure models, compute resources, skills, and automated scoring.examples/multi-harness: Blueprint usingworkers/that coordinates work with the Warp Agent harness, implements changes with Claude Code, and reviews them with Codex. This example also shows how to authenticate third-party harnesses with managed secrets.examples/code-review-only: Review newly opened pull requests and post findings for a human to consider. A single agent serves as both the foreman and reviewer.examples/ui-verification: Check UI changes and reproduce reported bugs by having an agent run your app in a browser. Labels on pull requests and issues trigger the checks, and the agent posts links to screenshots and recordings.examples/common-automations: Automate routine maintenance with one agent that triages CI failures, audits dependencies weekly, checks documentation when code is pushed, and responds to Slack reactions.examples/self-hosted-worker: Run the quickstart factory on your own infrastructure. This example shows how to select a self-hosted worker withworkerHostand configure a runner that matches the worker's platform.examples/slack-to-pr: Request code changes by mentioning the factory in a designated Slack channel. The foreman confirms the request and returns progress, questions, and the pull request link in the same thread.examples/github-skill: Version a shared GitHub skill and review its updates separately from the factory configuration. The starting point is an exact historical default skill from before managed GitHub MCP support.examples/linear-to-pr: Delegate Linear issues from one team to a factory. The agents report progress in the agent session and attach the pull request to the issue for human review.examples/jira-to-pr: Assign or mention Warp on a Jira Cloud work item to request a code change. The factory limits intake by project and returns the pull request link in the agent session and a work-item comment.examples/github-assigned-issue: Start work by assigning a labeled GitHub issue to the factory. The foreman checks the request's scope and returns a linked pull request for human review. This example also explains when to use assignment instead of labels.examples/blueprint-linear: Minimal two-stage blueprint usingworkers/that extracts incident notes into a structured handoff unconditionally (extracttohandoff).examples/blueprint-revision-loop: Blueprint usingworkers/with conditional entry and a same-worker self-check loop (not independent review) that drafts and checks a release note until it meets the request.examples/blueprint-human-gate: Blueprint usingworkers/that pauses at a humanaudience-choicegate so a person chooses customers, the internal incident channel, or cancellation before writing an incident update.examples/monorepo-product: Blueprint usingworkers/that scopes a factory to one product in a monorepo and verifies changes across affected packages. Changes to shared packages require a draft pull request and review from their owners.examples/related-services: Blueprint usingworkers/that coordinates changes across an API and its consumer. The factory checks contract compatibility and opens one pull request per changed repository, with a provider-first merge order when both repositories change.examples/product-change-implementation: Blueprint usingworkers/that takes a small product change through specification, human approval, implementation, and review on the same pull request. An illustrative walkthrough shows the expected outputs and how to compare configuration changes in separate trials.examples/pqc-migration: Blueprint usingworkers/that inventories cryptographic dependencies and usage (TLS, key exchange, signing, and symmetric primitives), proposes a phased post-quantum cryptography migration plan for human approval, and demonstrates one small supported-library change routed through human review.examples/cve-remediation: Blueprint usingworkers/that triages dependency scanner alerts, CVE IDs, Slack mentions, and weekly sweeps, opens a draft pull request with the smallest supported upgrade plus test and rescan proof, and pauses at a human gate when a fix requires a breaking upgrade or has no patched version.
- Copy the entire example directory into your own GitHub repository. You can place it at the repository root or in a subdirectory.
- Complete the "Customize the example" checklist in the example's README. It explains which placeholders to replace and any additional setup required.
- Commit and push the example files to GitHub.
- Create a factory in Warp using a
GitHub-backed definition.
Specify your repository, branch, and the directory containing
factory.yaml.
After setup, Warp syncs changes pushed to the configured branch once the
warp/factory-config check passes.
Check that an example is a valid factory definition:
python3 scripts/validate_factory_files.py examples/single-repo-quickstart- A resource's name is its path:
workers/<name>/worker.md(or legacyagents/<name>/agent.md),automations/<name>/automation.md,runners/<name>.yaml,scorers/<name>/scorer.md. Renaming a resource means moving the file. Do not combineworkers/andagents/in the same factory. - Exactly one worker per factory declares
workerRole: FOREMAN(legacy aliasagentType: FOREMAN/MAIN). model(shorthand for the Warp Agent harness) andharnessare mutually exclusive everywhere;workerDefaults(oragentDefaults) must declare exactly one of them.- Declaring
secretsormcpServerson a worker or automation replaces the inherited list; it does not merge. - Skills under
skills/are available to every worker in the factory. Skills underworkers/<name>/skills/(oragents/<name>/skills/) are available only to that worker.