Interface AgentExample

One agent gallery entry from Seclai.listAgentExamples. Pass key as agent_template on CreateAgentRequest.

Typed by hand: the spec declares the list's items without a schema.

interface AgentExample {
    accepted_attachments: Record<string, unknown>[];
    aliases: string[];
    created_at: string;
    definition: Record<string, unknown>;
    key: string;
    prompt: string;
    resources: AgentExampleResource[];
    schedules: Record<string, unknown>[];
    summary: string;
    tags: string[];
    title: string;
    trigger_input: null | string;
    trigger_type: string;
    use_cases: string[];
}

Properties

accepted_attachments: Record<string, unknown>[]

The trigger's declared attachment slots. Empty when the entry declares none.

aliases: string[]

Other agent_template values that create this entry.

created_at: string

The date the entry was added to the gallery, YYYY-MM-DD.

definition: Record<string, unknown>

The agent definition, naming each resource by its placeholder.

key: string

Pass as agent_template when creating an agent.

prompt: string

A request to the AI assistant that describes this agent.

schedules: Record<string, unknown>[]

The template_input trigger's schedules, applied on create when the trigger type is the entry's own.

summary: string
tags: string[]
title: string
trigger_input: null | string

The template_input trigger's input, when the entry sets one.

trigger_type: string

The trigger type the entry is built for.

use_cases: string[]