feat: initial release - Hunzi agent framework v0.1.0
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
"""Workflow engine package — DAG-based orchestration of multi-agent workflows.
|
||||
|
||||
Exports
|
||||
-------
|
||||
StepDef
|
||||
Definition of a single workflow step.
|
||||
Workflow
|
||||
Container for a list of steps forming a DAG.
|
||||
StepResult / StepStatus
|
||||
Per-step execution result and status enum.
|
||||
WorkflowResult / WorkflowStatus
|
||||
Overall workflow execution result and status enum.
|
||||
WorkflowEngine
|
||||
Engine that executes ``Workflow`` definitions by orchestrating Agents.
|
||||
"""
|
||||
|
||||
from app.workflow.models import (
|
||||
StepDef,
|
||||
StepResult,
|
||||
StepStatus,
|
||||
Workflow,
|
||||
WorkflowResult,
|
||||
WorkflowStatus,
|
||||
)
|
||||
from app.workflow.engine import WorkflowEngine
|
||||
|
||||
# Keep WorkflowStepDef as an alias so both import styles work
|
||||
WorkflowStepDef = StepDef
|
||||
|
||||
__all__ = [
|
||||
# Models
|
||||
"StepDef",
|
||||
"WorkflowStepDef", # alias
|
||||
"Workflow",
|
||||
"StepResult",
|
||||
"StepStatus",
|
||||
"WorkflowResult",
|
||||
"WorkflowStatus",
|
||||
# Engine
|
||||
"WorkflowEngine",
|
||||
]
|
||||
Reference in New Issue
Block a user