Execute an orchestration.
What to orchestrate (task, workflow, or policy)
Input values for the orchestration
Optionaloptions: OrchestratorExecuteOptionsExecution options (timeout, budget, callbacks)
Result with OrchestratorResult or OrchestratorError
Get status of an execution.
Execution ID to check
Current execution status
Cancel a running execution.
Execution ID to cancel
Optionalreason: stringOptional cancellation reason
Result with void or OrchestratorError
OptionalregisterRegister an agent with this orchestrator. Optional - not all orchestrators manage agent pools.
Agent to register
OptionalunregisterUnregister an agent. Optional - not all orchestrators manage agent pools.
Agent ID to unregister
OptionallistList registered agents. Optional - not all orchestrators manage agent pools.
Array of registered agent IDs and roles
OptionalgetGet execution history. Optional - for orchestrators that track history.
Optionallimit: numberMaximum number of executions to return
Array of past execution results
Unified orchestrator interface.
This interface provides a canonical path for all orchestration in the system, regardless of the underlying strategy.
Example