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

    Type Alias AgentCapabilitiesExperimental

    Capabilities supported by the agent.

    Advertised during initialization to inform the client about available features and content types.

    See protocol docs: Agent Capabilities

    type AgentCapabilities = {
        session?: SessionCapabilities | null;
        auth?: AgentAuthCapabilities | null;
        providers?: ProvidersCapabilities | null;
        nes?: NesCapabilities | null;
        positionEncoding?: PositionEncodingKind | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    session?: SessionCapabilities | null

    Session capabilities supported by the agent.

    Optional. Omitted or null both mean the agent does not support the session* method surface. Supplying {} means the agent supports the baseline session methods: session/new, session/prompt, session/cancel, and session/update.

    auth?: AgentAuthCapabilities | null

    Authentication-related extension capabilities supported by the agent.

    Optional. Omitted or null both mean the agent does not advertise any authentication-related extensions. This field does not advertise support for auth/login or auth/logout; those methods are advertised by a non-empty authMethods list in the initialize response.

    providers?: ProvidersCapabilities | null

    UNSTABLE

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

    Provider configuration capabilities supported by the agent.

    Optional. Omitted or null both mean the agent does not advertise support. Supplying {} means the agent supports provider configuration methods.

    nes?: NesCapabilities | null

    UNSTABLE

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

    NES (Next Edit Suggestions) capabilities supported by the agent.

    Optional. Omitted or null both mean the agent does not advertise support for NES methods.

    positionEncoding?: PositionEncodingKind | null

    UNSTABLE

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

    The position encoding selected by the agent from the client's supported encodings.

    _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