Anchorage API reference
    Preparing search index...
    interface ThreadAgentHostOptions {
        approvalService: (scope: AgentThreadInstanceScope) => ApprovalService;
        audit?: ApprovalAuditSink;
        authorizeAutomatedEntry?: AutomatedEntryAuthorizer;
        buildModules:
            | ((scope: AgentThreadInstanceScope) => readonly AgentModule[])
            | ((scope: AgentThreadInstanceScope) => Promise<readonly AgentModule[]>);
        cache?: false | MastraServerCache;
        stateStorage: () => AgentThreadStateStorage;
        storage: (scope: AgentThreadInstanceScope) => MastraCompositeStore;
        systemActorId?: string;
    }
    Index

    Properties

    approvalService: (scope: AgentThreadInstanceScope) => ApprovalService
    authorizeAutomatedEntry?: AutomatedEntryAuthorizer

    Narrows automated entry beyond what each agent's metadata declares.

    buildModules:
        | ((scope: AgentThreadInstanceScope) => readonly AgentModule[])
        | ((scope: AgentThreadInstanceScope) => Promise<readonly AgentModule[]>)
    cache?: false | MastraServerCache
    stateStorage: () => AgentThreadStateStorage
    storage: (scope: AgentThreadInstanceScope) => MastraCompositeStore
    systemActorId?: string