Our main orchestration component is the Pipeline.
Pipeline
A Pipeline is an object that runs a sequence of steps in order. Each step is a modular unit of work that reads and updates a shared state.
Under the hood, the Pipeline builds a graph (via LangGraph) that connects steps from a start node to an end node.
LangGraph
Chain work in order: Build a sequence of steps that pass a shared state from start to finish.
Compose naturally: Use our pipe | operator to chain steps or pipelines, or use << and >> to include another Pipeline as a subgraph.
|
<<
>>
Inspect or visualize: Generate a Mermaid diagram using get_mermaid_diagram().
get_mermaid_diagram()
Caching: Cache the result of your Pipeline run to speed up the next execution with the sample inputs.
Last updated 5 months ago
Was this helpful?