Workflows: durable runs that fan out to agents
A workflow decides who works, in what order, what waits for what, and when a person checks. The Pyrana Harness keeps the run going until it finishes.
1How it starts
2What it accepts
3One run
4How the work is shaped
5How it waits
6Durable runs
7What it produces
4Workflows
workflow_key: demo.financial_analysis
mode: deterministic
orchestration:
type_order: [opco, group, holdco]
agents_by_type:
opco: [action_demo_sales_analyzer, action_demo_labor_analyzer,
action_demo_materials_analyzer, action_demo_pl_analyzer]
group: [action_demo_group_sales, action_demo_group_labor,
action_demo_group_materials, action_demo_group_pl]
holdco: [action_demo_holdco_pl]
wait_mode: per_parent # each group starts when its own companies are done
hierarchy_nodes:
- {id: PMW, type: opco, parent: IND}
# ... 8 more companies
- {id: IND, type: group, parent: PYRANA}
# ... 2 more groups
- {id: PYRANA, type: holdco}
agent_dependencies:
action_demo_pl_analyzer:
- action_demo_sales_analyzer
- action_demo_labor_analyzer
- action_demo_materials_analyzer
input_contract:
enforcement_mode: strict
json_schema: {required: [period]}