build

Builds and returns an instance of AIAgent configured using the parameters provided to the GraphAgentBuilder.

Return

an instance of AIAgent initialized with the specified input and output types, strategy, tool registry, prompt executor, model configuration, and other optional settings.