Skip to main content
The AI Task node makes a call to a language model (LLM) to process information and return a structured result. Unlike the AI Agent node, which maintains a continuous conversation with the user, the AI Task executes a targeted task and returns its result without interacting directly with the user.

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
See model and instructions configuration details

Key difference: structured response

The AI Task does not need the end_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.