The
core
package provides a flexible framework for defining and executing workflows. It implements a DAG‑based system where tasks move through processing nodes, and each node updates a shared task context.Package Structure
Thecore
package consists of the following components:
Core Components:
- Nodes - Node implementations for workflow processing
- Schema - Schema definitions for workflow configuration
- Task Context - Task context definitions for state management
- Validation - Workflow validation utilities
- Workflow - Workflow orchestration and execution
Key Features
Key Features:- Workflow orchestration: Define processing pipelines with interconnected nodes
- Task context management: Centralized state enables data flow between nodes
- Node-based architecture: Modular, reusable processing components
- Schema validation: Built‑in checks ensure valid DAGs and clear structure