Skip to content

Agent nodes ​

Tool-calling agent runtimes and the multi-turn memory + artifact stores that back them.

4 nodes.

Fields that take {{ }} templates (prompts, URLs, bodies, values) read the steps connected straight into the node; Templates and expressions covers reading earlier steps with results.


a2a_agent — A2A Agent ​

Sends a task to a remote Agent2Agent (A2A) agent and outputs its answer. Use it as a step, or attach it to a Supervisor's worker port to let the supervisor delegate to the remote agent like a local worker. The URL goes through the outbound URL checks; a token comes only from a secret.

Config fields

FieldTypeRequiredValues
cardUrlstringyes—
secretRefobjectno—
messageTemplatestringno—
timeoutMsnumberno—
toolDescriptionstringno—
readOnlybooleanno—

Outputs

FieldWhat it holds
textThe remote agent's answer as text (its message, else its artifacts' text parts).
stateThe task's final state: completed, or input-required when the remote agent asks for more.
taskIdThe remote task's id.
contextIdThe remote conversation's id.
artifactsThe task's artifacts as the remote agent sent them.
dataThe data parts of the answer (one object when there is one).
agentThe remote agent's name and endpoint.

Example config

json
{
  "cardUrl": "https://agents.example.com/research/.well-known/agent-card.json",
  "messageTemplate": "{{user_prompt}}",
  "timeoutMs": 120000
}

agent_orchestrator — Agent Orchestrator ​

Runs iterative tool-aware agent loop.

Config fields

FieldTypeRequiredValues
agentTypestringnotools | react | plan-and-execute | sql
serverPromptobjectno—
systemPromptTemplatestringno—
userPromptTemplatestringno—
sessionIdTemplatestringno—
maxIterationsnumberyes—
toolCallingEnabledbooleanno—
thinkToolbooleanno—
toolMessageMaxCharsnumberno—
toolPayloadMaxDepthnumberno—
toolPayloadMaxObjectKeysnumberno—
toolPayloadMaxArrayItemsnumberno—
toolPayloadMaxStringCharsnumberno—

Outputs

FieldWhat it holds
answerThe agent's final answer as text.
iterationsHow many model turns it took.
stopReasonWhy the agent stopped (final_answer, max_iterations, clarification_requested...).
stepsEach turn: what the model asked for and the tools it called.
messagesThe whole conversation with the model.
clarificationThe question the agent asked back, when it paused to ask one.

Example config

json
{
  "agentType": "tools",
  "systemPromptTemplate": "{{system_prompt}}",
  "userPromptTemplate": "{{user_prompt}}",
  "sessionIdTemplate": "{{session_id}}",
  "maxIterations": 6,
  "toolCallingEnabled": true,
  "toolMessageMaxChars": 6000,
  "toolPayloadMaxDepth": 4,
  "toolPayloadMaxObjectKeys": 32,
  "toolPayloadMaxArrayItems": 8,
  "toolPayloadMaxStringChars": 400
}

supervisor_node — Supervisor Node ​

Swarm Supervisor that coordinates attached Worker nodes.

Config fields

FieldTypeRequiredValues
serverPromptobjectno—
systemPromptTemplatestringno—
userPromptTemplatestringno—
sessionIdTemplatestringno—
maxIterationsnumberyes—
thinkToolbooleanno—
toolMessageMaxCharsnumberno—
toolPayloadMaxDepthnumberno—
toolPayloadMaxObjectKeysnumberno—
toolPayloadMaxArrayItemsnumberno—
toolPayloadMaxStringCharsnumberno—

Outputs

FieldWhat it holds
answerThe agent's final answer as text.
iterationsHow many model turns it took.
stopReasonWhy the agent stopped (final_answer, max_iterations, clarification_requested...).
stepsEach turn: what the model asked for and the tools it called.
messagesThe whole conversation with the model.
clarificationThe question the agent asked back, when it paused to ask one.

Example config

json
{
  "systemPromptTemplate": "{{system_prompt}}",
  "userPromptTemplate": "{{user_prompt}}",
  "sessionIdTemplate": "{{session_id}}",
  "maxIterations": 10,
  "toolMessageMaxChars": 6000,
  "toolPayloadMaxDepth": 4,
  "toolPayloadMaxObjectKeys": 32,
  "toolPayloadMaxArrayItems": 8,
  "toolPayloadMaxStringChars": 400
}

workflow_tool — Workflow Tool ​

Lets an agent call another workflow as a tool. Attach it to an Agent or Supervisor tool port. The tool's name, description and input schema come from the workflow's Expose as MCP Tool or Sub-Workflow Trigger node.

Config fields

FieldTypeRequiredValues
workflowIdstringyes—
toolNamestringno—
toolDescriptionstringno—
timeoutMsnumberno—

Example config

json
{
  "workflowId": ""
}

This website (not the L2M product) counts page views with GoatCounter, without cookies.