Skip to main content

Overview

Workflows let you wire sub-agents into a directed graph that runs multi-step work deterministically — fan out tasks, evaluate results, loop on revisions, and pause for human input. Build and edit them visually in Settings → Extensions → Workflows.

Node Kinds

NodeWhat it does
WorkerRuns an agent to perform a task. No verdict — it just hands off to the next node.
EvaluatorRuns an agent that emits a verdict (pass or revise) the engine routes on.
JoinA convergence point: runs once after all incoming branches complete, aggregating their outputs.
ManagerA router: picks one outgoing node to run next.

Edges & Routing

Edges connect nodes and carry a condition:
ConditionWhen it’s taken
AlwaysUnconditional handoff (typical for workers)
PassWhen the source evaluator returns pass
ReviseWhen the source evaluator returns revise
This lets you build pass/revise loops — an evaluator sends work back to a worker until it passes.

Deterministic Checks

A node can run a tool check — a named tool (for example, test_app) that must succeed for the node to pass. If the tool errors, the check fails. This grounds a workflow in real signals like a passing build or test run, not just model opinion.

Breakpoints (Human-in-the-loop)

BreakpointBehavior
Before runPause before a node runs — review or edit the task, skip it, or abort
After verdictPause after an evaluator’s verdict — accept it, override it, or abort

Building & Running

1

Create a workflow

In Settings → Extensions → Workflows, add nodes (workers, evaluators, joins, managers) and connect them with edges.
2

Add checks and breakpoints

Attach deterministic tool checks where you need hard gates, and breakpoints where you want to steer.
3

Run it

Start the workflow from the context picker in chat. It executes the graph and reports progress.
4

Inspect the run

Open the workflow run inspector to see the graph, per-node results, verdicts, and aggregated metrics.
Start simple: a worker → evaluator → (revise loop back to worker / pass to join) covers a lot of ground before you add managers and parallel branches.

Sub-agents

The agents that power workflow nodes.

Tools

Deterministic checks call the same tools the agent uses.