Skip to content

Workflow engine

The Workflow Engine defines and runs atomic workflows, specifying what each task receives, how it works, what it produces and what happens next.

A workflow definition is authored as a draft and published in versions, preserving earlier versions for existing runs. It defines the steps and the rules for evaluation, revision, and promotion of work.

PARALLEL EVALUATION BRANCH AUTHOR INTERFACE COVERAGE BOUNDARY RISK FINDINGS NO FINDINGS LOOP LIMIT APPROVAL

A run executes a published workflow version and can be linked to an issue. Alongside each step’s outputs, it captures cost, execution time and quality evidence to support workflow evaluations and comparisons between task configurations.

Executions
7
Tokens
2.8M
Cost
$3.58
Duration
8m 10s
Snapshot from an in-progress workflow run.

A workflow combines tasks with routing and composition. Authoring and evaluation are task roles: each uses its own instructions and expected outputs.

Step typeWhat you defineExample
StartRequired and optional workflow inputs.Accept a source document and optional supporting material.
Agent taskThe work an agent performs and how it is configured.Produce an artifact or evaluate its quality.
Human gateThe approval or decision needed to continue.Approve work, request changes or choose the next action.
BranchConditions and the routes they select.Route work for revision when an evaluation identifies blocking findings.
SubworkflowAnother workflow to call and the inputs and outputs to map.Pass an artifact to a reusable review workflow and receive its evaluation.
TerminalAn end state and the outputs returned by that outcome.Return the completed artifact or end when the revision limit is reached.

Parallel steps run at the same time. A shared next step starts as soon as all preceding parallel steps have completed, with their outputs available as context.

  • Routing: branch conditions determine which steps run next.
  • Revision: results return to an earlier task for further work, with a revision limit and a route for when that limit is reached.

These are the only settings you can change without publishing a new workflow version. Test different harnesses, models and effort levels against the same version.

Choose which harnesses can run the task and their model and effort preferences.

SettingWhat you configureExample
HarnessEnable multiple harnesses to distribute task runs between them.Codex CLI
ModelPreferred model for each harness.gpt-6-astra
EffortReasoning effort for the selected model.Medium

Workflows require durable instructions, provided by a versioned primary skill instead of prompts.

  • Primary skill: durable, versioned task instructions included in the initial context capsule.
  • Additional skills: versioned supporting instructions made available to the agent, but not included in the initial context capsule.

Every task receives issue and workflow context. Use the Context picker to select additional inputs:

  • Workflow inputs: values supplied when the workflow run starts.
  • Step outputs: results from earlier connected steps.

Select tools and operations to determine what the agent can read and change.

ToolOperations
IssuesRead and create issues; update content, status, priority, type, assignment, labels and relationships.
FindingsRead, record and collate findings; resolve, supersede, dismiss, accept risk or carry findings forward.
EvaluationsRead and record evaluations.
ArtifactsRead artifacts; create, edit, abandon and finalise drafts; record typed fields and validation results; request promotion.
DecisionsRead and create decision candidates; prepare ratification drafts, link responses, ratify or supersede outcomes.
Workflow definitionsRead definitions; create and edit drafts, update metadata and publish versions.
Workflow runsStart, stop and resume workflow runs; read run state, attempts and results; record checkpoints and clear downstream blockers.

Tools create the task’s results, such as artifacts, evaluations and findings. Name each output so later steps can clearly identify and use the result.