Skip to content

Stages

A stage is one step of a module. A run moves through the module’s stages in order. The dashboard draws them as a track at the top of the run page and as a graph on the module page.

Kind Who does the work Typical use
agent A model, following the instructions in an agent file, possibly with tools Propose angles, write a draft, review something
code Deterministic code written by the module author Gather sources, check results, assemble the final files
gate A person Pick one of several options, approve or reject, edit a field, send an earlier stage back

A module is built so that anything a person must decide is a gate, and code assembles the deliverables. Checks run before anything goes out.

A stage can be conditional: it runs only when a condition holds. For example, the content creator draws images only if you ticked “Draw images”. A skipped stage shows as skipped and its output is empty. Gates can be conditional too.

A stage can name connectors it needs. Before it starts, Knetik checks they are usable. If not, the run is blocked at that stage until they are.

A gate can send an earlier stage back for another try, with a note from you. The earlier stage runs again with your note, and earlier results are kept so you can compare. The gate shows how many tries are left.

If a stage was sent back, the run page shows its attempts. The timeline groups events by stage and attempt, so you can follow what each try did.

For how authors define stages, see Stages in the technical docs.