StatefulSingleUseAIAgent

constructor(strategy: AIAgentStrategy<Input, Output, TContext>, logger: KLogger, agentId: String? = null)(source)

Parameters

Input

the type of the input accepted by the agent.

Output

the type of the output produced by the agent.

TContext

the type of the context used during the agent's execution, extending AIAgentContext.