interface Agent {
    description: string;
    modelId?: string;
    name: string;
    provider?: string;
    sys: MetaSysProps & {
        createdAt: string;
        environment: {
            sys: {
                id: string;
            };
        };
        id: string;
        space: {
            sys: {
                id: string;
            };
        };
        type: "Agent";
    };
    tools?: AgentToolLink[];
    generate(payload: AgentGeneratePayload): Promise<AgentRun>;
    toPlainObject(): AgentProps;
}

Hierarchy (view full)

Properties

description: string
modelId?: string
name: string
provider?: string
sys: MetaSysProps & {
    createdAt: string;
    environment: {
        sys: {
            id: string;
        };
    };
    id: string;
    space: {
        sys: {
            id: string;
        };
    };
    type: "Agent";
}
tools?: AgentToolLink[]

Methods