ContextualAgentEnvironment
class ContextualAgentEnvironment(environment: AIAgentEnvironment, context: AIAgentContext) : AIAgentEnvironment(source)
Represents an AI agent environment that operates within the context of a specific agent framework.
This class acts as a decorator over an existing AIAgentEnvironment, augmenting operations with contextual processing using the provided AIAgentContext.
Parameters
environment
The underlying agent environment responsible for managing tool execution.
context
The context that augments the environment with additional behavioral and execution information.
Constructors
Link copied to clipboard
Constructs a new instance of ContextualAgentEnvironment with a decorated environment and a contextual context.