ContextualAgentEnvironment

constructor(environment: AIAgentEnvironment, context: AIAgentContext)(source)

Constructs a new instance of ContextualAgentEnvironment with a decorated environment and a contextual context.

Parameters

environment

The underlying agent environment responsible for managing tool execution.

context

The context that augments the environment with additional behavioral and execution information.