Agent Maturity Compass API - v1.2.0
    Preparing search index...

    Interface SimPersona

    interface SimPersona {
        behavior: {
            adversarial: boolean;
            escalationRate: number;
            includesPII: boolean;
            intensity: number;
        };
        description: string;
        id: string;
        messageTemplates: string[];
        name: string;
        stopConditions: {
            maxTurns: number;
            satisfactionKeywords?: string[];
            stopOnEscalation?: boolean;
        };
        systemPrompt: string;
        variables?: Record<string, string>;
    }
    Index
    behavior: {
        adversarial: boolean;
        escalationRate: number;
        includesPII: boolean;
        intensity: number;
    }

    Behavior parameters

    Type Declaration

    • adversarial: boolean

      Whether to include adversarial content

    • escalationRate: number

      How quickly the persona escalates (0-1)

    • includesPII: boolean

      Whether to inject PII in messages

    • intensity: number

      How aggressive/demanding the persona is (0-1)

    description: string
    id: string
    messageTemplates: string[]

    Message templates — supports {{variable}} substitution

    name: string
    stopConditions: {
        maxTurns: number;
        satisfactionKeywords?: string[];
        stopOnEscalation?: boolean;
    }

    Stop conditions

    Type Declaration

    • maxTurns: number
    • OptionalsatisfactionKeywords?: string[]

      Stop if persona says they're satisfied

    • OptionalstopOnEscalation?: boolean

      Stop if agent triggers escalation

    systemPrompt: string

    System prompt describing persona behavior

    variables?: Record<string, string>

    Variables for template substitution