AgentTemplate: {
    agent_config?: AgentConfig;
    base_agent?: string;
    create_time?: string;
    description?: string;
    environment?: Environment;
    id?: string;
    system_instruction?: string;
    tools?: AgentTool[];
}

Reusable, versioned definition of an agent.

Type declaration

  • Optionalagent_config?: AgentConfig

    Configuration parameters for the agent.

  • Optionalbase_agent?: string

    The base agent to extend.

  • Optionalcreate_time?: string

    Output only. Timestamp when this template version was created.

  • Optionaldescription?: string

    Template description for developers.

  • Optionalenvironment?: Environment

    Configuration for a custom environment.

  • Optionalid?: string

    User-provided ID on create (e.g. "video-agent"); returned with version

    suffix (e.g. "video-agent@v1").

  • Optionalsystem_instruction?: string

    System instruction for the agent template.

  • Optionaltools?: AgentTool[]

    The tools available to agents created from this template.