Skip to content

Interface: AgentDefinition

The definition of an agent.

Properties

instructions

instructions: string

Instructions guide what the agent does. Required for all agents.


tools

tools: AgentTool[]

The products and sources this agent can use, such as Docs, Mail, web search, or connectors. If this list is empty, none are configured. Go's built-in platform features remain available to the LLM.