Plan and Execute Agent node
The Plan and Execute Agent is like the ReAct agent but with a focus on planning. It first creates a high-level plan to solve the given task and then executes the plan step by step. This agent is most useful for tasks that require a structured approach and careful planning.
Refer to AI Agent for more information on the AI Agent node itself.
Node parameters
Configure the Plan and Execute Agent using the following parameters.
Prompt
Require Specific Output Format
Node options
Refine the Plan and Execute Agent node's behavior using these options:
Human Message Template
Enter a message that n8n will send to the agent during each step execution.
Available LangChain expressions:
{previous_steps}: Contains information about the previous steps the agent's already completed.{current_step}: Contains information about the current step.{agent_scratchpad}: Information to remember for the next iteration.
Refer to the main AI Agent node's Templates and examples section.
Common issues
For common questions or issues and suggested solutions, refer to Common issues.