When to use AI Task vs AI Agent
Configuration
AI Task uses the same configuration fields as the AI Agent:- Model: LLM to use
- Instructions: Prompt that defines what task to execute
- Temperature: Creativity control (0 = precise, 1 = creative)
- Knowledge bases: Documents and datastores for context
- MCPs and Tools: Available external tools
Key difference: structured response
The AI Task does not need theend_function function like the AI Agent. Instead, it directly returns a result in JSON format that you can save in memory to use in subsequent nodes (for example, in a Conditional node).
Instructions:
The result is saved in memory and you can use a Conditional node to direct the flow based on the detected category.