environment

Represents the execution environment associated with an AI agent within the context of the LLM (Large Language Model) framework.

This property provides a mechanism for interfacing with an external environment, which allows the agent to perform tasks such as executing tools, reporting issues, and sending termination or result messages. The environment is central to facilitating interactions between the AI agent and its operational surroundings.

Marked with InternalAgentsApi, indicating it is intended for internal use within agent-related implementations and not designed for general application development. Changes to this API may occur without notice.