Skip to content

Agent Components

Components are the building blocks of every agent workflow. Drag them onto the canvas, connect them in sequence, and configure each one to build your agent’s logic.

The sections below give a brief description of every available component. Click any component name to open its full reference page.

Components (also called Nodes) are added from the component panel on the agent canvas:

  1. Click the + icon on the agent canvas to open the component panel.

  2. Find the component you want to add.

  3. Drag and drop it onto the canvas.

adding components

To define the flow between components, you connect them with edges:

  1. Hover over the edge of a component until the connection handle appears.

  2. Click and drag from that handle to the edge of the target component.

  3. The direction of the drag determines the relationship — the component you drag from becomes the upstream node, and the component you drag to becomes the downstream node.

connecting components


Components are grouped into categories based on their role in the workflow:

CategoryWhat It Does
Input & OutputDefine the start of the workflow and format final responses
LLM-BasedUse a language model to generate, classify, or rewrite content
RetrievalSearch knowledge bases for relevant context
Routing & Flow ControlBranch the workflow based on conditions
OrchestrationCoordinate multiple sub-agents for complex queries
Database & SQLConnect to databases, generate, validate, and execute SQL
IntegrationsCall external APIs or send emails
UtilitiesAdd canvas annotations for documentation

ComponentDescription
BeginThe required starting node of every workflow. Sets the opening greeting and defines any global input variables the agent accepts.
TemplateFormats data from multiple sources into a single output using {key} placeholders — useful for building structured responses or HTML output.

These components use a language model to process or generate content.

ComponentDescription
GeneratePrompts an LLM to produce a response. Uses keys ({variables}) to inject context from upstream components into the system prompt.
Rewrite QuestionRewrites a user query based on prior conversation context, improving retrieval accuracy for follow-up questions. Usually placed upstream of Retrieval.
CategorizeUses an LLM to classify user input into predefined categories, each routing to a different downstream path.

ComponentDescription
RetrievalSearches one or more knowledge bases and returns the top-N most relevant chunks. Supports vector similarity, keyword search, reranking, and knowledge graphs.

ComponentDescription
SwitchEvaluates rule-based conditions (equals, contains, greater than, etc.) and routes execution to the first matching branch. No LLM involved.

ComponentDescription
CoordinatorCoordinates multiple specialized sub-agents. Analyzes task complexity (LOW/MEDIUM/HIGH), routes to appropriate sub-agents, and synthesizes results into a unified response.

ComponentDescription
ExeSQLConnects to a MySQL, PostgreSQL, or MariaDB database and executes SQL queries. Includes auto-repair retry logic for failed queries.

ComponentDescription
InvokeMakes HTTP requests (GET, POST, PUT, etc.) to external REST APIs. Use it to fetch live data or trigger webhooks.

ComponentDescription
NoteA non-functional annotation node. Adds comments or design notes directly on the canvas for documentation purposes.