ACP v2 (Preview) TypeScript SDK — UNSTABLE - v2.12.1
    Preparing search index...

    Type Alias ProviderInfoExperimental

    UNSTABLE

    This capability is not part of the spec yet, and may be removed or changed at any point.

    Information about a configurable LLM provider.

    type ProviderInfo = {
        providerId: ProviderId;
        supported: LlmProtocol[];
        required: boolean;
        current?: ProviderCurrentConfig | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    providerId: ProviderId

    Provider identifier, for example "main" or "openai".

    supported: LlmProtocol[]

    Supported protocol types for this provider.

    required: boolean

    Whether this provider is mandatory and cannot be disabled via providers/disable. If true, Clients MUST NOT call providers/disable for this provider ID.

    current?: ProviderCurrentConfig | null

    Current effective non-secret routing config. Null or omitted means provider is disabled.

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

    The _meta property is reserved by ACP to allow Clients and Agents to attach additional metadata to their interactions. Omitted and null are equivalent and mean no metadata. Implementations MUST NOT assign meaning to keys they do not recognize.

    See protocol docs: Extensibility