Vertex AI v1beta1 API - Class AgentConfig (1.0.0-beta77)

public sealed class AgentConfig : IMessage<AgentConfig>, IEquatable<AgentConfig>, IDeepCloneable<AgentConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Vertex AI v1beta1 API class AgentConfig.

Represents configuration for an Agent.

Inheritance

object > AgentConfig

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

AgentConfig()

public AgentConfig()

AgentConfig(AgentConfig)

public AgentConfig(AgentConfig other)
Parameter
Name Description
other AgentConfig

Properties

AgentId

public string AgentId { get; set; }

Required. Unique identifier of the agent. This ID is used to refer to this agent, e.g., in AgentEvent.author, or in the sub_agents field. It must be unique within the agents map.

Property Value
Type Description
string

AgentType

public string AgentType { get; set; }

Optional. The type or class of the agent (e.g., "LlmAgent", "RouterAgent", "ToolUseAgent"). Useful for the autorater to understand the expected behavior of the agent.

Property Value
Type Description
string

Description

public string Description { get; set; }

Optional. A high-level description of the agent's role and responsibilities. Critical for evaluating if the agent is routing tasks correctly.

Property Value
Type Description
string

HasAgentId

public bool HasAgentId { get; }

Gets whether the "agent_id" field is set

Property Value
Type Description
bool

Instruction

public string Instruction { get; set; }

Optional. Provides instructions for the LLM model, guiding the agent's behavior. Can be static or dynamic. Dynamic instructions can contain placeholders like {variable_name} that will be resolved at runtime using the AgentEvent.state_delta field.

Property Value
Type Description
string

SubAgents

public RepeatedField<string> SubAgents { get; }

Optional. The list of valid agent IDs that this agent can delegate to. This defines the directed edges in the multi-agent system graph topology.

Property Value
Type Description
RepeatedFieldstring

Tools

public RepeatedField<Tool> Tools { get; }

Optional. The list of tools available to this agent.

Property Value
Type Description
RepeatedFieldTool