Skip to content

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.

A workflow board showing a five-step pipeline: two task steps, a gate, a human approval checkpoint and an inline publish step, above a completed run headerA workflow board showing a five-step pipeline: two task steps, a gate, a human approval checkpoint and an inline publish step, above a completed run header
A pipeline's detail board — the run header, then the step strip carrying all four step kinds.
GuideWhat it covers
Building a pipelineCreating a workflow, editing steps, the four step kinds.
Configuring a stepInstructions, placeholders, pipeline state, context and tool scoping.
Running a pipelineTriggers, run brief, run trace, failures, approvals, cost, notifications.
ReferenceSharing as YAML, API, MCP tools.
Authoring specExact fields and semantics, for a coding assistant generating a workflow.

Workflows can also be declared as YAML definition files.

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.

Workflow cards beside a searchable sidebar with an Overview entryWorkflow cards beside a searchable sidebar with an Overview entry
Switch pipelines from the list, or monitor them together from Overview.

The four kinds of step ​

KindRunsUse it for
Agenta reusable agent from Agentsa stage you want to reuse across pipelines
Inlinea private, hidden agent that dies with the stepone-off work
Gatean agent that votes PASS / FAILa quality check that can send the run back
Approvalnobody; the run parksa 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.

Released under the MIT License.