AIAgentContextBase
The AIAgentContextBase interface represents the context of an AI agent in the lifecycle. It provides access to the environment, configuration, LLM context, state management, storage, and other metadata necessary for the operation of the agent. Additionally, it supports features for custom workflows and extensibility.
Properties
Represents the input provided to the agent's execution.
Represents the configuration for an AI agent.
Represents the environment in which the agent operates.
Represents the AI agent's LLM context, providing mechanisms for managing tools, prompts, and interaction with the execution environment. It ensures thread safety during concurrent read and write operations through the use of sessions.
A unique identifier for the current session associated with the AI agent context. Used to track and differentiate sessions within the execution of the agent pipeline.
Manages and tracks the state of aт AI agent within the context of its execution.
Concurrent-safe key-value storage for an agent, used to manage and persist data within the context of a the AI agent stage execution. The storage
property provides a thread-safe mechanism for sharing and storing data specific to the agent's operation.
Represents the unique identifier for the strategy being used in the current AI agent context.
Functions
Creates a copy of the current AIAgentContext with optional overrides for its properties.