Skip to main content
Beta
Factory is in private preview and is enabled per workspace by the Orq.ai team.

Use cases

Run the same task on a schedule, such as a weekly dependency update, a changelog or a stale pull request cleanup.
Start a Session when a pull request opens, a check run fails or an issue is commented on.
Start a Session when an issue is created or changes in a Linear team.
Give a monitoring or ticketing tool a webhook URL, and start a Session from its payload.

Overview

A Loop is a saved instruction that starts a Session every time it fires. It carries its own model, instructions, repositories and Runner, so each run starts the same way without anyone opening the composer. A Loop fires from its triggers or by hand, and every firing is recorded as a run. Loops live in the Loops page of the Factory sidebar.

Create a Loop

Click Loop on the Loops page. The template gallery opens.
  1. Pick a template, or start from an empty Loop. A template prefills the triggers and instructions.
  2. Fill in the Studio fields described in Configuration.
  3. Click Create.
See Loop templates for what each template does.

Configuration

The Studio tab of a Loop holds its settings.

Triggers

A Loop fires when any of its triggers fires.
Runs every hour, day, week or month.

Enable, disable and delete

The row menu on the Loops page has Edit, Run, Enable and Delete. A disabled Loop keeps its configuration and does not fire.

Review runs

A Loop has two tabs for what it did. A run is Queued, Running, Completed, Failed or Skipped. A skipped run starts no Session and shows why.

Limits

These limits are platform defaults and are not editable in the Studio.