Expand description
Multi-agent orchestration: chains, graphs, DAGs, and workflows.
Chainruns steps sequentially, passing context from one to the next.Graphruns nodes with conditional routing, cycles, and fan-out/fan-in (Pregel / sequential walker model).Dagperforms topological scheduling: independent nodes execute in parallel, with cycle detection at build time (AllPredecessor model).Workflowextends the DAG model with field-level data mapping between nodes, inspired by Eino’s typed-field workflow engine.
Re-exports§
pub use chain::AgentStep;pub use chain::Chain;pub use chain::ChainBuilder;pub use chain::ChainContext;pub use chain::ChainStep;pub use chain::TransformStep;pub use dag::AgentDagNode;pub use dag::Dag;pub use dag::DagBuilder;pub use dag::DagContext;pub use dag::DagNode;pub use dag::FnDagNode;pub use dag::END;pub use dag::START;pub use graph::AgentNode;pub use graph::Edge;pub use graph::FnNode;pub use graph::Graph;pub use graph::GraphBuilder;pub use graph::GraphContext;pub use graph::GraphNode;pub use graph::NodeOutcome;pub use workflow::AgentWorkflowNode;pub use workflow::FnWorkflowNode;pub use workflow::Workflow;pub use workflow::WorkflowBuilder;pub use workflow::WorkflowNode;