@langwatch/scenario
    Preparing search index...

    Interface ScenarioConfig

    Configuration for a scenario.

    interface ScenarioConfig {
        agents: AgentAdapter[];
        description: string;
        id?: string;
        maxTurns?: number;
        name: string;
        script?: ScriptStep[];
        setId?: string;
        threadId?: string;
        verbose?: boolean;
    }
    Index

    Properties

    agents: AgentAdapter[]

    The agents participating in the scenario.

    description: string

    A description of what the scenario tests.

    id?: string

    Optional unique identifier for the scenario. If not provided, a UUID will be generated.

    maxTurns?: number

    The maximum number of turns to execute.

    If no value is provided, this defaults to DEFAULT_MAX_TURNS.

    name: string

    The name of the scenario.

    script?: ScriptStep[]

    The script of steps to execute for the scenario.

    setId?: string

    Optional identifier to group this scenario into a set ("Simulation Set"). This is useful for organizing related scenarios in the UI and for reporting. If not provided, the scenario will not be grouped into a set.

    threadId?: string

    Optional thread ID to use for the conversation. If not provided, a new thread will be created.

    verbose?: boolean

    Whether to output verbose logging.

    If no value is provided, this defaults to DEFAULT_VERBOSE.