Class Agent.Builder

java.lang.Object
com.google.genai.gaos.models.agents.Agent.Builder
Enclosing class:
Agent

public static final class Agent.Builder extends Object
  • Method Details

    • agentConfig

      public Agent.Builder agentConfig(@Nullable AgentConfig agentConfig)
      Configuration parameters for the agent.
    • baseAgent

      public Agent.Builder baseAgent(@Nullable String baseAgent)
      The base agent to extend.
    • baseEnvironment

      public Agent.Builder baseEnvironment(@Nullable BaseEnvironment baseEnvironment)
      The environment configuration for the agent.
    • description

      public Agent.Builder description(@Nullable String description)
      Agent description for developers to quickly read and understand.
    • id

      public Agent.Builder id(@Nullable String id)
      The unique identifier for the agent.
    • systemInstruction

      public Agent.Builder systemInstruction(@Nullable String systemInstruction)
      System instruction for the agent.
    • tools

      public Agent.Builder tools(@Nullable List<AgentTool> tools)
      The tools available to the agent.
    • build

      public Agent build()