Pipelines

A Pipeline is a multi-step orchestration. Each step runs an agent, and steps chain together with dependencies: one step’s outputs become the input for the next. Unlike a Scenario — which fans several agents out in parallel and merges the results — a Pipeline is sequential and data-aware. The platform keeps a parent/child trace of the run and an outputs snapshot so you can see exactly what each step produced and passed on.

Single agent vs Scenario vs Pipeline

  • Single agent — one handler, one task.
  • Scenario — several agents run together; results are merged. No data flows between them.
  • Pipeline — steps run in order; each step consumes prior steps’ output via declared dependency keys.
Pipeline template builder with chained steps
Pipeline template builder with chained steps

How steps declare dependencies

Every step in a Pipeline produces named outputs. A downstream step references upstream outputs by their dependency keys. At run time the orchestrator:

  1. Runs steps in dependency order (a step waits for the steps it depends on).
  2. Collects each step’s outputs into a shared outputs snapshot.
  3. Injects the referenced outputs into the dependent step before it runs.
  4. Records a parent/child trace linking each step to the steps that fed it.
ConceptMeaning
StepOne agent execution inside the pipeline
Dependency keyThe named output a later step reads from an earlier step
Outputs snapshotThe accumulated map of all step outputs for the run
Parent/child traceThe lineage showing which step fed which
💡

Because dependencies are explicit, a pipeline is deterministic about ordering: a step never runs before the data it needs exists.


Preset pipeline templates

XBuddy ships preset pipeline templates so you don’t have to wire common flows by hand. A template defines the steps, their agents, and the dependency keys between them. You instantiate a template to create a runnable pipeline for your tenant.


Build or instantiate a pipeline

Open Pipelines

Go to Automation → Pipelines.

Start from a template (or blank)

Pick a preset template to get a ready-made chain, or start blank to compose your own steps.

Add and order steps

Add an agent step for each stage. For a step that needs earlier data, set its dependency key(s) to the upstream outputs it should consume. The orchestrator normalizes the steps and resolves the order from the dependencies.

Instantiate and run

Instantiate the template into a runnable pipeline and run it. Steps execute in dependency order; each one reads its declared inputs from the outputs snapshot.

Read the run trace

Open the run to see the parent/child trace: each step, its status, its outputs, and which downstream steps consumed them. This is your audit trail for how the final result was assembled.

Pipeline run trace showing parent/child step lineage
Pipeline run trace showing parent/child step lineage
⚠️

Any actions a pipeline step recommends still route through Automation → Suggestions for human approval — a pipeline orchestrates analysis, not autonomous writes.