builder
builder
¶
WorkflowBuilder — fluent API for constructing workflows.
Classes¶
WorkflowBuilder
¶
Fluent API for building workflow graphs.
Example: wf = (WorkflowBuilder("research_pipeline") .add_agent("researcher", agent="orchestrator", tools=["web_search"]) .add_agent("summarizer", agent="simple") .connect("researcher", "summarizer") .build())
Source code in src/openjarvis/workflow/builder.py
Functions¶
sequential
¶
sequential(*node_ids: str) -> WorkflowBuilder
Connect nodes in sequential order.