@jambonz/sdk
    Preparing search index...

    Interface AgentVerb

    interface AgentVerb {
        verb: "agent";
        id?: string;
        stt: Recognizer;
        tts: Synthesizer;
        turnDetection?:
            | "krisp"
            | { mode: "krisp"; threshold?: number; model?: string }
            | "stt";
        bargeIn?: {
            enable?: boolean;
            minSpeechDuration?: number;
            sticky?: boolean;
        };
        llm: Record<string, unknown>;
        actionHook?: ActionHook;
        eventHook?: ActionHook;
        toolHook?: ActionHook;
        greeting?: boolean;
        earlyGeneration?: boolean;
        noiseIsolation?:
            | "krisp"
            | {
                mode: string;
                level?: number;
                direction?: "read"
                | "write";
                model?: string;
            }
            | "rnnoise";
        mcpServers?: McpServerConfig[];
        noResponseTimeout?: number;
    }
    Index

    Properties

    verb: "agent"
    id?: string

    STT configuration.

    TTS configuration.

    turnDetection?:
        | "krisp"
        | { mode: "krisp"; threshold?: number; model?: string }
        | "stt"

    Turn detection strategy. String shorthand ('stt' or 'krisp') or object with tunable params.

    bargeIn?: { enable?: boolean; minSpeechDuration?: number; sticky?: boolean }

    Barge-in configuration — controls user interruption of assistant speech.

    llm: Record<string, unknown>

    LLM configuration.

    actionHook?: ActionHook

    Webhook when agent ends.

    eventHook?: ActionHook

    Webhook for agent events.

    toolHook?: ActionHook

    Webhook when the LLM requests a tool/function call.

    greeting?: boolean

    Whether the LLM generates an initial greeting before the user speaks. Default: true.

    earlyGeneration?: boolean

    Speculatively prompt the LLM on final transcript before Krisp end-of-turn. Default: false.

    noiseIsolation?:
        | "krisp"
        | {
            mode: string;
            level?: number;
            direction?: "read"
            | "write";
            model?: string;
        }
        | "rnnoise"

    Enable server-side noise isolation to reduce background noise on call audio. Defaults to inbound (caller) audio; set direction to 'write' for outbound.

    mcpServers?: McpServerConfig[]

    External MCP servers that provide tools to the LLM.

    noResponseTimeout?: number

    Seconds to wait after assistant finishes speaking before prompting user to respond. 0 disables. Default: 0.