build

abstract override fun build(): AIAgentContext(source)

Builds and returns an instance of AIAgentContext based on the current properties of the builder. This method creates a finalized AI agent context, integrating all the specified configurations, environment settings, and components into a coherent context object ready for use.

Return

A fully constructed AIAgentContext instance representing the configured agent context.