@adcp/sdk API Reference - v7.9.0
    Preparing search index...

    Type Alias InProcessAgentClientConfig

    InProcessAgentClientConfig: Pick<
        SingleAgentClientConfig,
        | "adcpVersion"
        | "debug"
        | "validation"
        | "governance"
        | "onActivity"
        | "validateFeatures"
        | "requireV3ForMutations"
        | "allowV2"
        | "workingTimeout"
        | "defaultMaxClarifications"
        | "persistConversations",
    > & { agentName?: string; agentId?: string }

    Configuration for AgentClient.fromMCPClient().

    A narrowed subset of SingleAgentClientConfig — only includes options that are meaningful for in-process transport. HTTP-only fields (userAgent, headers, webhookUrlTemplate, OAuth paths) are excluded because they have no effect when the client dispatches directly to an in-process MCP Client.

    The fields you most likely want:

    • validationrequests/responses validation mode (strict | warn | off)
    • governance — buyer-side governance config
    • requireV3ForMutations — enforce AdCP v3 before dispatching mutating tools

    Type Declaration

    • OptionalagentName?: string

      Human-readable name for this agent, used in debug logs and getAgentName(). Defaults to 'in-process'.

    • OptionalagentId?: string

      Stable identifier for this agent, used in getAgentId(). Defaults to a random string prefixed with 'in-process-'.