Agent¶
Node: agent · Full type: @n8n/n8n-nodes-langchain.agent · Version: 3.1
Ergonomic keyword available:
AGENT— see NFLOW.md for shorter syntax.
Parameters¶
| Parameter | Type | Default | Details |
|---|---|---|---|
promptType |
options | "auto" | auto, guardrails, define |
text |
string | "={{ $json.guardrailsInput }}" | required |
hasOutputParser |
boolean | false | |
needsFallback |
boolean | false | |
options |
collection | {} | keys: systemMessage, maxIterations, returnIntermediateSteps, passthroughBinaryImages, tracingMetadata, enableStreaming, ... |
options children:
| Parameter | Type | Default | Details |
|---|---|---|---|
systemMessage |
string | "You are a helpful assistant" | |
maxIterations |
number | 10 | |
returnIntermediateSteps |
boolean | false | |
passthroughBinaryImages |
boolean | true | |
tracingMetadata |
fixedCollection | {} | groups: values |
enableStreaming |
boolean | true | |
batching |
collection | {} | keys: batchSize, delayBetweenBatches |