nexus-agents - v2.80.0
    Preparing search index...

    Interface ExpertConfig

    Configuration for creating a dynamic expert agent.

    interface ExpertConfig {
        id: string;
        name: string;
        role: AgentRole;
        systemPrompt: string;
        capabilities: AgentCapability[];
        modelPreference?: ModelPreference;
        toolRestrictions?: { allowedTools?: string[]; deniedTools?: string[] };
        metadata?: Record<string, unknown>;
    }
    Index

    Properties

    id: string

    Unique identifier for this expert

    name: string

    Human-readable name

    role: AgentRole

    Role classification

    systemPrompt: string

    System prompt defining the expert's behavior

    capabilities: AgentCapability[]

    List of capabilities this expert has

    modelPreference?: ModelPreference

    Optional model preferences

    toolRestrictions?: { allowedTools?: string[]; deniedTools?: string[] }

    Optional tool restrictions (allowlist/denylist per role)

    Type Declaration

    • OptionalallowedTools?: string[]

      Tools the expert is allowed to use (allowlist — exclusive).

    • OptionaldeniedTools?: string[]

      Tools the expert is NOT allowed to use (denylist — additive).

    metadata?: Record<string, unknown>

    Optional metadata for extensions