Package-level declarations
Types
Indicates that a class or method is part of a DSL for building AI agents.
A builder class for constructing an AIAgentEdge instance, which represents a directed edge connecting two nodes in a graph of an AI agent's processing pipeline. This edge defines the flow of data from a source node to a target node, enabling transformation or filtering of the source node's output before passing it to the target node.
Represents an intermediate stage in the construction of a directed edge between two nodes in an AI agent strategy graph. This class provides mechanisms to define conditions and transformations that dictate how data flows and is processed between the nodes.
Represents an intermediate stage in the construction of a directed edge between two nodes in an AI agent strategy graph. This class provides mechanisms to define conditions and transformations that dictate how data flows and is processed between the nodes.
Represents an intermediate stage in the construction of a directed edge between two nodes in an AI agent strategy graph. This class provides mechanisms to define conditions and transformations that dictate how data flows and is processed between the nodes.
Base class for AIAgentEdgeBuilderIntermediate with default implementations.
A builder class responsible for constructing an instance of AIAgentGraphStrategy. The AIAgentGraphStrategyBuilder serves as a specific configuration for creating AI agent strategies with a defined start and finish node, along with a designated tool selection strategy.
A delegate for creating and managing an instance of AIAgentNodeBase.
Context for merging parallel node execution results.
Builder class for creating AI agent subgraphs with a defined tool selection strategy.
Abstract base class for building AI agent subgraphs.
A delegate that provides dynamic access to an instance of AIAgentSubgraph. This class facilitates constructing and associating a subgraph with specific start and finish nodes and a defined tool selection strategy upon access.
A generic base interface for builders that enables the construction of an object of type T. This interface is typically used in DSL patterns, providing a fluent and structured way to build complex objects.
ContextualCondition is a functional interface designed to evaluate a condition based on an output value and the given AI agent graph context.
A functional interface representing a transformation operation that processes an input output of type Output in the context of AIAgentGraphContextBase and produces a transformed result of type NewOutput.
Marks a function as a transformation specific to edges within the AI agent's DSL to ensure its proper highlighting.
Represents the result of a parallel node execution, containing both the output value and the execution context.
Represents the completed result of a parallel node execution.
Represents a simple, stateless functional interface that evaluates a condition on a given output. This is particularly tailored for Java compatibility, enabling usage in contexts where Java code interacts with Kotlin.
A functional interface representing a transformation operation from a given input type to a new output type.
Functions
Creates a directed edge from this AIAgentNodeBase to another AIAgentNodeBase, allowing data to flow from the output of the current node to the input of the specified node.
Defines a new node in the agent's stage, representing a unit of execution that takes an input and produces an output.
Creates a node that executes multiple nodes in parallel.
Builds a local AI agent that processes user input through a sequence of stages.
Creates a subgraph with a specified tool selection strategy.
Creates a subgraph with specified tools.