config

abstract val config: AIAgentConfig(source)

Provides access to the configuration settings for an AI agent within the LLM context.

This property encapsulates an instance of AIAgentConfig, which defines the prompt, execution parameters, and behavior of the agent. It is marked with the @InternalAgentsApi annotation, indicating its internal use for agent-related implementations and signaling that it is not intended for public-facing applications.

The configuration includes settings such as the prompt definition, model specifications, iteration limits, and strategies to handle missing tools during execution. It plays a critical role in defining how the AI agent processes input, generates output, and interacts with other components of the system.

Note: This property is accessible with a custom name config when interacting with JVM-based systems, as indicated by the @get:JvmName("config") annotation.