Source Code:
src/gaia/agents/code/orchestration/orchestrator.pyComponent: Orchestrator - Multi-step workflow execution engine
Module:
gaia_agent_code.orchestration.orchestrator
Import: from gaia_agent_code.orchestration.orchestrator import Orchestrator, ExecutionResult, CheckpointAssessmentOverview
Orchestrator controls LLM-driven workflow execution with error recovery using Checklist Mode. The LLM generates a checklist of template invocations, which are executed deterministically with automatic error recovery and checkpoint assessment. Key Features:- LLM-driven checklist generation
- Deterministic template execution
- Three-tier error recovery strategy
- Iterative refinement with checkpoint review
- Progress reporting and validation tracking
- Project state analysis between iterations
API Specification
ExecutionResult
CheckpointAssessment
Orchestrator
Usage Examples
Example 1: Basic Workflow Execution
Example 2: Step-Through Mode
Example 3: Custom Progress Callback
Workflow Flow
Testing Requirements
Dependencies
Orchestrator Technical Specification