Zum Hauptinhalt springen

Orchestrate

Category: Agent
Node id: orchestrate

Provides workflow orchestration with LLM-powered planning, task decomposition, routing, and synthesis

What it does​

  • LLM-powered execution plan generation with ordered steps
  • Complex task decomposition into actionable sub-tasks
  • Intelligent task routing to available processing nodes
  • Multi-result synthesis with conflict resolution
  • Dependency and constraint-aware planning

Use cases​

  • Decomposing complex clinical workflows into executable steps
  • Routing tasks to the most appropriate pipeline nodes
  • Synthesizing results from parallel sub-task execution
  • Generating execution plans for multi-stage data processing

Runtime​

  • Performance tier: variable

Input ports​

NameTypeRequiredDescription
objectivetextYesThe objective or task to orchestrate
contexttextNoAdditional context for planning
constraintstextNoConstraints for plan generation
sub_resultsjsonNoSub-task results for synthesis operation

Output ports​

NameTypeRequiredDescription
planjsonNoGenerated execution plan (plan operation)
tasksjsonNoDecomposed sub-tasks (decompose operation)
routingjsonNoTask routing decision (route operation)
synthesistextNoSynthesized result (synthesize operation)
operationtextNoOperation that was performed
objectivetextNoOriginal objective

Settings​

Basic​

SettingNameTypeRequiredDefaultAllowed valuesDescription
LLM Endpointllm_endpointstringYesBase URL of the LLM API
ModelmodelstringNogpt-4oModel name to use
OperationoperationenumNoplanplan, decompose, route, synthesizeOrchestration operation to perform

Auth​

SettingNameTypeRequiredDefaultAllowed valuesDescription
API Keyapi_keysecretNoAPI key for the LLM provider

Advanced​

SettingNameTypeRequiredDefaultAllowed valuesDescription
Available Nodesavailable_nodesjsonNoAvailable processing nodes for routing operation

Errors​

CodeDescription
ENDPOINT_REQUIREDllm_endpoint is not configured
OBJECTIVE_REQUIREDNo objective input was provided
UNSUPPORTED_OPERATIONOperation must be plan, decompose, route, or synthesize
LLM_ERRORLLM returned an error during orchestration

Runtime notes​

  • Output keys vary by operation: plan returns {plan, operation, objective}; decompose returns {tasks, ...}; route returns {routing, ...}; synthesize returns {synthesis, ...}
  • plan and tasks outputs are JSON-parsed from the LLM response; if parsing fails, the raw text is returned
  • The synthesize operation expects sub_results input as an array of prior task outputs
  • The route operation requires available_nodes config to list candidate nodes for routing decisions

See Build any workflow for how to put nodes together and Ports, types and data flow for how port types connect.

Etwas unklar? Senden Sie Feedback zur Dokumentation per E-Mail..