You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Priority: High
Dependencies: Issues #1-4
Description:
Implement the core orchestration loop that manages the workflow execution: Preparation → Loop → Finalization.
Requirements:
Load workflow configuration (JSON file)
Execute preparation agent (if defined) once
Loop through defined agents:
Inject current state into prompt
Execute agent via runner
Parse state update from output
Update master state
Check max_loops limit
Evaluate end_state_condition
Execute finalization agent (if defined) based on termination reason
Provide live logging/callbacks for UI integration
Acceptance Criteria:
Preparation agent runs exactly once at start
Loop agents execute in defined order
State is injected into each agent's prompt
State updates are parsed and applied
Loop terminates when is_complete == True
Loop terminates when max_loops is reached
Finalization agent runs based on configuration
Live logging works (stdout streaming)
Activity