@conciergus/chat - v0.3.1
    Preparing search index...

    Interface ConciergusAgentActions

    interface ConciergusAgentActions {
        createWorkflow: (
            name: string,
            description: string,
            task: string,
        ) => AgentWorkflow;
        startWorkflow: (
            workflow: AgentWorkflow,
            context: AgentContext,
        ) => Promise<void>;
        pauseWorkflow: () => void;
        resumeWorkflow: () => Promise<void>;
        cancelWorkflow: () => void;
        prepareStep: (options: PrepareStepOptions) => Promise<AgentStep>;
        executeStep: (step: AgentStep) => Promise<AgentStep>;
        continueUntil: (options: ContinueUntilOptions) => Promise<AgentWorkflow>;
        registerTool: (
            tool: {
                name: string;
                description: string;
                parameters: any;
                handler: (args: any) => Promise<any>;
            },
        ) => void;
        unregisterTool: (name: string) => void;
        invokeTool: (name: string, args: any) => Promise<any>;
        updateContext: (updates: Partial<AgentContext>) => void;
        setMemory: (key: string, value: any) => void;
        getMemory: (key: string) => any;
        clearMemory: () => void;
        switchModel: (modelId: string) => void;
        selectOptimalModel: (task: string, requirements?: any) => string;
        getMetrics: () => AgentPerformanceMetrics;
        exportWorkflowData: (format?: "json" | "csv") => string;
        resetMetrics: () => void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    createWorkflow: (
        name: string,
        description: string,
        task: string,
    ) => AgentWorkflow
    startWorkflow: (workflow: AgentWorkflow, context: AgentContext) => Promise<void>
    pauseWorkflow: () => void
    resumeWorkflow: () => Promise<void>
    cancelWorkflow: () => void
    prepareStep: (options: PrepareStepOptions) => Promise<AgentStep>
    executeStep: (step: AgentStep) => Promise<AgentStep>
    continueUntil: (options: ContinueUntilOptions) => Promise<AgentWorkflow>
    registerTool: (
        tool: {
            name: string;
            description: string;
            parameters: any;
            handler: (args: any) => Promise<any>;
        },
    ) => void
    unregisterTool: (name: string) => void
    invokeTool: (name: string, args: any) => Promise<any>
    updateContext: (updates: Partial<AgentContext>) => void
    setMemory: (key: string, value: any) => void
    getMemory: (key: string) => any
    clearMemory: () => void
    switchModel: (modelId: string) => void
    selectOptimalModel: (task: string, requirements?: any) => string
    getMetrics: () => AgentPerformanceMetrics
    exportWorkflowData: (format?: "json" | "csv") => string
    resetMetrics: () => void