Workflows
Chain agents into a named, reusable pipeline (research → draft → review) that runs in the background. The workflow owns the sequencing, hand-off, lifecycle and schedule; the agents stay reusable on their own. Workflows are on whenever Agents is enabled.


| Guide | What it covers |
|---|---|
| Building a pipeline | Creating a workflow, editing steps, the four step kinds. |
| Configuring a step | Instructions, placeholders, pipeline state, context and tool scoping. |
| Running a pipeline | Triggers, run brief, run trace, failures, approvals, cost, notifications. |
| Reference | Sharing as YAML, API, MCP tools. |
| Authoring spec | Exact fields and semantics, for a coding assistant generating a workflow. |
Workflows can also be declared as YAML definition files.
Sidebar and overview
Clicking Workflows opens Overview: a card gallery with schedules, live progress and run/pause actions. The sidebar holds a searchable list; select a row or card to open its detail board. New workflow opens the builder. Direct workflow/run links and Back/Forward work as expected.


The four kinds of step
| Kind | Runs | Use it for |
|---|---|---|
| Agent | a reusable agent from Agents | a stage you want to reuse across pipelines |
| Inline | a private, hidden agent that dies with the step | one-off work |
| Gate | an agent that votes PASS / FAIL | a quality check that can send the run back |
| Approval | nobody; the run parks | a human checkpoint before anything irreversible |
Gates and approvals are transparent to the data flow: the step after them receives the last producing step's output, not the verdict.
How data flows
- Each step gets the previous producing step's full answer plus the artifacts of every earlier step in this run (labelled, oldest first; only the latest attempt of a re-run step). No wiring needed.
- A step can narrow that, or pull specific outputs with placeholders: see what each step is fed.
- Agents never know their neighbours; reordering or reusing steps never touches the agents.
Steps never stop to ask
Runs are unattended, so every task step is told to act on its input directly: no clarifying questions, no menus, no NEED_INPUT. An under-specified detail gets the most reasonable interpretation. Gates follow their own PASS/FAIL contract, and an approval is the one place a run waits for a person.