Skip to main content

Overview

Nodes are the building blocks of Aden agents. Each node type serves a specific purpose in the agent graph.

LLM Node

Executes a language model call with structured inputs and outputs.

Configuration

Parameters

Tool Calling

LLM nodes can call tools/functions:

Router Node

Routes execution flow based on conditions or LLM decisions.

Conditional Routing

Route based on output values from previous nodes:

LLM-Decided Routing

Let the LLM choose the path:

Weighted Routing

Probabilistic routing for A/B testing:

Function Node

Executes custom Python code.

Basic Function

Implementation

Parameters

Human Node

Pauses execution for human input.

Basic Configuration

Parameters

See Human-in-the-Loop for advanced patterns.

Node Context

All nodes receive a context object:

Using Context in Functions

Next Steps

Edge Configuration

Connect nodes with success, failure, and conditional edges

Human-in-the-Loop

Configure human intervention patterns