Build your first pipeline
תוכן זה אינו זמין עדיין בשפה שלך.
What you will build
Section titled “What you will build”By the end of this tutorial, you will have:
- A saved pipeline template that dispatches an agent with a prompt
- Manual runs enabled on it, so it can be started by hand
- One completed run, with the step’s input and output visible
Prerequisites: Dispatch your first agent completed, so you have an agent with an adapter and a model.
A pipeline is a DAG of steps. Templates define the graph; runs are executions. For the model behind it, read Pipelines and automation; for the full step vocabulary, Pipeline step kinds.
Step 1: Create a template
Section titled “Step 1: Create a template”- Go to Settings → Workspace → Pipeline templates
- Click New template
The editor opens on a seeded skeleton named New pipeline (id pipeline_N).
Click the title in the header and rename it — for this tutorial,
code_quality_check is a good name. There is no id dialog and no description
field.
The canvas is not blank. A new template comes pre-wired as Trigger → Step → terminal, where “Step” is a prompt-agent node and the terminal is an invisible sentinel that the editor rewires to every reachable sink.
You configure the Step that is already there.
Step 2: Configure the step
Section titled “Step 2: Configure the step”- Click the Step node on the canvas
- In the Node config panel on the right, set:
- Agent: your agent from the previous tutorial
- Prompt template: “Review the code on the current branch for quality issues. List what you find.”
- Leave Triggers from alone — the node is already wired to fire after Trigger
Step 3: Save
Section titled “Step 3: Save”Press Save in the editor header.
Checkpoint. The “Unsaved changes” caption clears.
Step 4: Allow manual runs
Section titled “Step 4: Allow manual runs”- Click the dashed Add a trigger tile on the canvas (or drag Manual run from the Triggers section of the node library) and pick Manual run.
- Select that node. In the inspector on the right, turn on Enabled — “Show on the run page and start by hand.”
This is not optional and it is easy to miss. A new template is created with no trigger row at all, so until you turn this on the run page will not list it and there is nothing to start. The switch writes the trigger immediately; it does not wait for another save.
The same switch is behind Manual run in the editor header, where it sits alongside the template’s declared inputs.
Step 5: Run it
Section titled “Step 5: Run it”- Click Pipelines in the sidebar
- Click Run pipeline in the header
- Pick
code_quality_checkin the left rail - Click Run pipeline on the form — your template declares no inputs, so there is nothing to fill in
Checkpoint. A toast confirms the run started and Control Center opens the run detail.
The engine creates the run record, completes the trigger, schedules the step, dispatches the agent and completes the run when the terminal’s incoming branch finishes.
Step 6: Inspect the result
Section titled “Step 6: Inspect the result”Click the step in the run to open its detail panel:
- Started and Finished timestamps and Duration
- Input: the state passed into the step
- Output: what it produced — here, the agent’s response
- Agent activity, with a link through to the conversation the step drove
Checkpoint. The step reads completed and its output holds the agent’s review.
Adding more steps
Section titled “Adding more steps”Nodes are added by dragging an entry from the node library on the left onto
the canvas, or by pressing Add step (+) just past a node. Drag from a
node’s output port onto another node to connect them, or select the new node
and tick its upstream step under Triggers from.
The terminal node is not drawn and cannot be selected. The editor rewires it to every reachable sink, so a node you add after the seeded Step still runs.
You created a template, configured the prompt-agent node it was seeded with, saved it, made it manually runnable, started a run and read the step’s input and output.
Pipelines get much larger than this — conditional routers, parallel branches, join nodes, for-each fan-out, human gates — but the shape never changes: steps in a DAG, passing state.
Next: Bridge Slack to your workspace, the last tutorial in this sequence.
- Set up pipeline triggers to start pipelines from events or a schedule
- Pipelines and automation for the model underneath
- Pipeline step kinds for every step type