GraphAIAgent
Initializes the AI agent instance and prepares the feature context and pipeline for use.
Parameters
Unique identifier for the agent. Random UUID will be generated if set to null.
Type Parameters
Type of agent input.
Type of agent output.
Deprecated
Use constructor with `TypeToken` instead of `KType`.
Secondary constructor for initializing a GraphAIAgent with KType parameters.
Parameters
Represents the input type of the agent as a KType.
Represents the output type of the agent as a KType.
The PromptExecutor responsible for processing LLM prompts within the agent.
The configuration settings for the AI agent, including prompts, models, and execution limits.
The graph strategy for handling input/output transformations during agent execution.
A registry of tools available for use by the agent, defaulting to an empty registry.
An optional identifier for the agent, allowing for multiple agents with unique IDs.
Clock instance used by the agent, defaulting to the system clock.
A lambda for installing custom features in the agent's feature context.