Skip to content

Create Agent

Builds a reusable agent configuration object by selecting a language model, enabling external tools, and defining the agent’s role and system prompt. It does not run any inference; it simply packages the provided settings into an AGENT output to be consumed by downstream nodes.
Preview

Usage

Use this node when you need to define one or more agents for collaborative or managed multi-agent workflows. Configure the model, choose which tools the agent can use, and set its role and behavior. Connect the AGENT output to nodes that execute or coordinate agents (e.g., team orchestration).

Inputs

FieldRequiredTypeDescriptionExample
modelTrueENUMSelect the LLM model the agent will use for inference. The available list is fetched from the Agents service; if unavailable, a fallback list is used.gpt-4o
toolsTrueMULTICOMBOChoose which external tools the agent can access. Each selected tool will be enabled for this agent. Defaults to all tools disabled.{"Calculator": true, "WebSearcher": true, "DateTime": false}
roleTrueSTRINGShort description of the agent’s role. Prepended to the system prompt and used by agent teams to pick the best agent for a task.A focused research assistant skilled at finding and validating sources.
system_promptTrueSTRINGDetailed instructions defining the agent’s personality, knowledge domain, and behavioral guidelines.You are a careful, citation-focused assistant. Provide concise answers and include source links.

Outputs

FieldTypeDescriptionExample
agentAGENTAn agent configuration object containing the chosen model, enabled tools, role, and system prompt. Intended for downstream execution/orchestration nodes.{"model": "gpt-4o", "tools": {"Calculator": true, "WebSearcher": true}, "role": "A research assistant.", "system_prompt": "You are precise and cite sources."}

Important Notes

  • Model and tool lists: The available models and tools are fetched from the Agents service at runtime; if the service is unreachable, a built-in fallback list is used.
  • Output is configuration only: This node does not perform inference or make network calls during execution; it just assembles an agent config.
  • Tools default state: By default, all tools are disabled. Explicitly enable only the tools the agent needs.
  • Role usage: The role is prepended to the system prompt and may be used by agent teams to decide which agent should speak next or take on a task.

Troubleshooting

  • Missing or unexpected models/tools: If you don’t see expected options, the service may be unreachable and a fallback list is being used. Check connectivity to the Agents service and refresh.
  • Downstream node rejects agent: Ensure the tools you enabled are supported by the execution/orchestration node and that required fields (model, role, system_prompt) are set.
  • Agent behavior is off: Refine the role and system prompt. The role should succinctly define the agent’s purpose; the system prompt should include explicit behavioral rules.