Skip to main content

Description

Input mapping defines how nodes connect to each other in an Agent Composer workflow. It specifies which outputs from previous nodes flow into the inputs of subsequent nodes.

Syntax

Input mappings use the syntax source_node#output_key:
This connects the output_key output from earlier_node to the current_node_input input of the current node.

Accessing Graph Inputs

Every graph has an implicit input node named __inputs__. Access graph-level inputs via:

Example

Rules

  • All inputs of a node must be connected
  • Unused outputs are allowed
  • A node can receive inputs from multiple source nodes
  • The same output can be connected to multiple downstream nodes

Multiple Inputs from Same Source

You can connect multiple inputs from the same source node: