ACP v2 TypeScript SDK — EXPERIMENTAL DRAFT - v1.3.0
    Preparing search index...

    Type Alias InitializeResponseExperimental

    Response to the initialize method.

    Contains the negotiated protocol version and agent capabilities.

    See protocol docs: Initialization

    type InitializeResponse = {
        protocolVersion: ProtocolVersion;
        info: Implementation;
        capabilities?: AgentCapabilities;
        authMethods?: AuthMethod[];
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    protocolVersion: ProtocolVersion

    The protocol version the client specified if supported by the agent, or the latest protocol version supported by the agent.

    The client should disconnect, if it doesn't support this version.

    Information about the implementation sending this initialize response.

    capabilities?: AgentCapabilities

    Capabilities supported by the agent.

    authMethods?: AuthMethod[]

    Authentication methods supported by the agent.

    Optional. Omitted or empty means the agent does not advertise the authentication method surface. Supplying one or more valid methods means the agent MUST support both auth/login and auth/logout.

    _meta?: { [key: string]: unknown } | null

    The _meta property is reserved by ACP to allow clients and agents to attach additional metadata to their interactions. Implementations MUST NOT make assumptions about values at these keys.

    See protocol docs: Extensibility