Result from agent similarity matching

interface AgentMatchResult {
    agentId: string;
    agentName: string;
    defaultArtifactType?: string;
    description: string;
    invocationMode?: string;
    parentId?: string;
    similarityScore: number;
    status?: string;
    systemPrompt?: string;
    typeName?: string;
}

Properties

agentId: string

The agent's unique ID

agentName: string

The agent's name

defaultArtifactType?: string

Name of the default artifact type this agent produces (optional) NULL if agent doesn't produce artifacts (orchestration/utility agents) Examples: "Research Content", "Report", "Diagram"

description: string

The agent's description

invocationMode?: string

Agent invocation mode - controls how agent can be called (optional) Values: 'Any', 'Top-Level', 'Sub-Agent'

parentId?: string

Parent agent ID for child agents (optional) NULL if this is a top-level agent

similarityScore: number

Cosine similarity score (0-1, where 1 = perfect match)

status?: string

Agent status (optional)

systemPrompt?: string

Agent's system prompt (optional)

typeName?: string

Agent type name (optional)